plotWeights {Strategy} | R Documentation |
Plot Strategy Weights
Description
Plots the weights of the portfolio of an object of class Strategy
.
Usage
plotWeights(object, from = NULL, until = NULL, ...)
## S4 method for signature 'Strategy'
plotWeights(object, from = NULL, until = NULL, ...)
Arguments
object |
An object of class |
from |
The date in character format |
until |
The date in character format |
... |
Currently not active. |
Examples
##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)
[Package Strategy version 1.0.1 Index]