getCapital: Return money in position

Description Usage Arguments

View source: R/get_timeseries.R

Description

Return money in position

Usage

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, ...)

Arguments

this

modelStrategy

...

params

start_date

date type, example: start_date='2008-01-01'

end_date

date type, example: end_date='2018-01-01'


Vitalic57/stratbuilder2pub documentation built on Dec. 18, 2019, 2:56 a.m.