Description Usage Arguments Value Examples
Remove the order_book, account, and portfolio of given
name
.
1 |
name |
name of the portfolio/account/order book to clean up. (Default='default') |
silent |
silence warnings about trying to remove objects that do not exist. (Default=TRUE) |
invisible – called for side-effect
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# make some things to remove
strategy("example", store=TRUE)
initPortf('example', stock('SPY', currency("USD")))
initAcct('example', 'example')
initOrders('example', 'SPY')
#Now remove them
rm.strat('example')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.