addTradeTime: Adds time when trading is permitted

View source: R/genericStrategy.R

addTradeTimeR Documentation

Adds time when trading is permitted

Description

Adds time when trading is permitted

Usage

addTradeTime(this, ...)

## S3 method for class 'Strategy'
addTradeTime(this, type, ...)

Arguments

this

Strategy

...

characters of start and end dates, each element is a vector of two strings that represents time of start and end

type

character, one of enter/open (when may open position), close (when must close position), rebalance (when may rebalance position)


Vitalic57/stratbuilder3gen documentation built on March 30, 2022, 6:58 a.m.