Description Usage Arguments Examples
Plots the weights of the portfolio of an object of class Strategy
.
1 2 3 4 | plotWeights(object, from = NULL, until = NULL, ...)
## S4 method for signature 'Strategy'
plotWeights(object, from = NULL, until = NULL, ...)
|
object |
An object of class |
from |
The date in character format |
until |
The date in character format |
... |
Currently not active. |
1 2 3 4 5 6 7 8 9 10 | ##Not run:
# MA(200)-Strategy
params <- list(k=200)
myStrat.MA <- Strategy(assets=assets, strat="MA", strat.params=params)
# Plot MA(200)-Strategy weights
plotWeights(myStrat.MA)
##End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.