newStrategyFunction {Strategy} | R Documentation |
Create Own Strategy
Description
Creates a strategy function template file. This file can be used as template for the development of customized strategies.
Usage
newStrategyFunction(name = NULL, file.path = getwd(), overwrite = FALSE)
Arguments
name |
String as name of the new function (without spaces). |
file.path |
Valid file path of existing directory where the new function shall be stored in format file.path/name.R. |
overwrite |
If the strategy file already exists, it will be overwritten if value is |
Examples
##Not run:
# Creates a file myNewStrat.R at the specific file path
newStrategyFunction(name="myNewStrat", file.path=getwd(), overwrite=T)
##End(Not run)
[Package Strategy version 1.0.1 Index]