setMoney: Set amount of money to modelPortfolio object.

Description Usage Arguments

View source: R/modelStrategy.R

Description

It will spread that value across models inside it with old proportion.

Set amount of money, that we have at the beginning

Usage

1
2
3
4
5
6
7
## S3 method for class 'modelPortfolio'
setMoney(this, x)

setMoney(this, x)

## S3 method for class 'modelStrategy'
setMoney(this, x)

Arguments

this

modelStrategy

x

numeric type, new amount of money in strategy

this

model

x

numeric, amount of money


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