Table of Contents

Data source

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Data source              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Express Generator loads data either from "server" + "symbol" + "period", or from "data_file".

; Server is actually the data files folder under the "data" folder.
; Provided servers: Premium, Dukascopy, MetaQuotes, Darwinex, Eightcap, BlackBull
server = Premium
symbol = EURUSD
; Available values: M1, M5, M15, M30, H1, H4, D1
period = M30

; Data file from Premium data, or exported from MetaTrader.
; Example: data_file = ./data/Premium/EURUSD_M30.json
; Using "data_file" overrides the automatic file lookup by "server" + "symbol" + "period".
data_file =

Fetch and use provided data

Fetch data:

node .\bin\fetch.js --server Darwinex --symbol USDJPY --period M15 --max-data-bars 100000

Generate new strategies:

node .\bin\gen.js --server Darwinex --symbol USDJPY --period M15 --max-data-bars 100000

The workflow is consistent: fetch with fetch.js, then run gen.js on the same market and period. You may also combine this with Data Horizon and Out of Sample settings in gen.js.

Use data from MetaTrader

You can also use data from your MetaTrader account. We highly recommend exporting data from MT5 because it includes real spread information.

node .\bin\gen.js --server MyData --symbol EURUSD --period M15 --max-data-bars 100000