Description Usage Arguments Details Value Author(s) Examples
View source: R/rl_write_control_parameters.R
This function is supposed to run on a weekly basis. Purpose of this function is to perform RL and trading simulation and find out the best possible control parameters for the RL function.
1 2 3 4 5  rl_write_control_parameters(
x,
path_control_files,
num_trades_to_consider = 100
)

x 

path_control_files 

num_trades_to_consider 

Function is used by the R script Adapt_RL_control.R
Function writes best control parameters to be used by the Reinforcement Learning Function
(C) 2019 Vladimir Zhbanko
1 2 3 4 5 6 7 8 9 10 11 12  dir < normalizePath(tempdir(),winslash = "/")
#test lasts 15 sec:
library(dplyr)
library(readr)
library(ReinforcementLearning)
library(magrittr)
library(lazytrade)
data(data_trades)
x < data_trades
rl_write_control_parameters(x = data_trades,
path_control_files = dir,
num_trades_to_consider = 20)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.