FX31337 / FX-BT-Scripts

:page_facing_up: Useful scripts for backtesting.
MIT License
34 stars 39 forks source link

convert_csv_to_mt.py to support multiple timeframes [$20 awarded] #24

Closed kenorb closed 8 years ago

kenorb commented 8 years ago

The convert_csv_to_mt.py script should support multiple timeframes specified from the command-line, e.g.

convert_csv_to_mt.py -f fxt4 -t M1,M5,M15,M30,H1,H4,D1,W1,MN

which will generate different files as normally it would when running separately.

Example syntax:

convert_csv_to_mt.py -v -i foo.csv -s EURUSD -p 20 -S default -t M5 -f hst4

Where csv files to test can be found in here.

The conversion can be in sequence followed by the message for each started timeframe, so the output is not stalled for longer period.

--- The **[$20 bounty](https://www.bountysource.com/issues/29789692-convert_csv_to_mt-py-to-support-multiple-timeframes?utm_campaign=plugin&utm_content=tracker%2F20487492&utm_medium=issues&utm_source=github)** on this issue has been claimed at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F20487492&utm_medium=issues&utm_source=github).