Description Usage Arguments Details
default function performs no operation (NoOp), returns orderqty
1 |
timestamp |
timestamp coercible to POSIXct that will be the time the order will be inserted on |
orderqty |
numeric quantity of the desired order, modified by osFUN |
portfolio |
text name of the portfolio to place orders in |
symbol |
identifier of the instrument to place orders for. The name of any associated price objects (xts prices, usually OHLC) should match these |
ruletype |
one of "risk","order","rebalance","exit","enter", see |
... |
any other passthru parameters |
if orderqty 'all', will only work on an exit rule type, otherwize orderqty is zero.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.