Description Usage Arguments Details
This function sets up the order container by portfolio.
1 | initOrders(portfolio = NULL, symbols = NULL, initDate = "1999-12-31", ...)
|
portfolio |
text name of the portfolio to associate the order book with |
symbols |
a list of identifiers of the instruments to be contained in the Portfolio. The name of any associated price objects (xts prices, usually OHLC) should match these |
initDate |
date (ISO8601) prior to the first close price given in mktdata, used to initialize the order book with a dummy order |
... |
any other passthrough parameters |
If no symbols list is provided (the default) the function will attempt to retrieve the symbols list from the portfolio in the trade blotter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.