View source: R/rl_record_policy.R
rl_record_policy | R Documentation |
Function will write a policy 'decision' to the csv file specific for each Expert Advisor
rl_record_policy(
x,
last_result,
trading_system,
path_terminal,
fileName = "SystemControl"
)
x |
|
last_result |
|
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
(C) 2019,2021 Vladimir Zhbanko
library(stringr)
library(magrittr)
library(dplyr)
data(TradeStatePolicy)
dir <- normalizePath(tempdir(),winslash = "/")
rl_record_policy(x = TradeStatePolicy,
last_result = "tradewin",
trading_system = 8118101,
path_terminal = dir,
fileName = "SystemControlRL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.