Description Usage Arguments Details Value Examples
View source: R/rl_record_policy_mt.R
Function will write a policy 'decision' to the csv file specific for each Expert Advisor
1 2 3 4 5 6 | rl_record_policy_mt(
x,
trading_system,
path_terminal,
fileName = "SystemControlMT"
)
|
x |
|
trading_system |
|
path_terminal |
|
fileName |
|
It is imperative that terminal path contains exact word Terminal3
nothing is returned but function will write csv file to the supplied directory
1 2 3 4 5 6 7 8 9 10 | library(stringr)
library(lazytrade)
data(policy_tr_systDF)
dir <- normalizePath(tempdir(),winslash = "/")
rl_record_policy_mt(x = policy_tr_systDF,
trading_system = 8118101,
path_terminal = dir,
fileName = "SystemControlMT")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.