FX31337 / FX-BT-Scripts

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

read_mt_formats.py: incorporate first set of fields #93

Closed ghost closed 6 years ago

ghost commented 6 years ago

This doesn't solve #64 fully, but it covers all the easy fields.

kenorb commented 6 years ago

Would it be possible also to print the unknown hex data? I'll check the script in the evening.

ghost commented 6 years ago

Yes. I have added a pretty print function for printing binary strings as a sequence of hexadecimal digits, instead of the default behaviour which prints it as a python byte string. If the chosen method is not to your liking, it can be modified.

kenorb commented 6 years ago

Yes, sounds great, I haven't tested it in deep, but it looks good.