View source: R/get_timeseries.R
Return money in position
1 2 3 4 5 6 7 8 | getCapital(this, ...)
## S3 method for class 'modelStrategy'
getCapital(this, start_date = NULL, end_date = NULL,
...)
## S3 method for class 'modelPortfolio'
getCapital(this, ...)
|
this |
modelStrategy |
... |
params |
start_date |
date type, example: start_date='2008-01-01' |
end_date |
date type, example: end_date='2018-01-01' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.