Create a market object. Inside a market object must be one or more market-specific objects. Currently this means inside a market object must be a market.bond object holding timing and interest rate information. Eventually market objects will be able to hold market.stock objects as well.
1 2 |
mkts |
A list of market-type objects. Currently only market.bond exists. If there is only one market-type object to be passed, can omit the list wrapper. |
i |
Interest rate, as a proportion (e.g. if the yield is 1 |
yield.curve |
Yield curve. If NA, use i instead (equivalent to a flat yield curve). |
MMrate |
Money Market rate (rate on short-term debt). |
t |
Time of market object. |
MM.frequency |
Frequency of money market evaluation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.