Closed kenorb closed 8 years ago
For each test.ini we need to run file with .rules.
test.ini
.rules
The goal is to run optimization tests based on YAML configuration, then propose changes with better optimized settings by sending a pull request.
[ ] write Python script to parse YAML file (e.g. optimizer.yml) passed from 2st argument
optimizer.yml
./run_optimizer.py -d deposit -s spread -b dukascopy -y `optimizer.yml` -f `EA31337-foo.set` -D dest/
-d 2000 -s 30
-y
-f
Disable
Enable
LotSize
*_TrailingStopMethod: 0
Test-
start
step
end
run_optimizer.sh
run_backtest.sh
terminal.ini
[ ] after each test is completed, commit changes into local git repository with given new optimized settings:
$TestExpert: $YML-SectionName: $YYYY-$mm-$dd - $YYYY-$mm-$dd, $TestSymbol $TestPeriod, Deposit: \$$dep, Spread: $spread (Time: $TimeInMin min)
Implemented as part of run_backtest.sh (-o/-i).
-o
-i
For each
test.ini
we need to run file with.rules
.The goal is to run optimization tests based on YAML configuration, then propose changes with better optimized settings by sending a pull request.
[ ] write Python script to parse YAML file (e.g.
optimizer.yml
) passed from 2st argument-d 2000 -s 30
, mandatory parameters:-y
,-f
Disable
arrayEnable
arrayDisable
orEnable
, set value for specific option name (e.g.LotSize
)*_TrailingStopMethod: 0
)Test-
, load entries into optimization SET filestart
,step
,end
, set appropriate values in SET filerun_optimizer.sh
)run_optimizer.sh
(or reuserun_backtest.sh
if possible) to run platform with given SET fileterminal.ini
with appropriate settings for given optimization test[ ] after each test is completed, commit changes into local git repository with given new optimized settings: