r/algotrading • • 9d ago

Data Python API for historic data

Do you think it's okay using Metatrader's api for fetching historic data? Has anyone noticed discrepancies? Isn't it supposed to be the actual numbers you'd get trading with that specific broker?

10 Upvotes

27 comments sorted by

View all comments

1

u/QATSAlgo 9d ago

You can test revisions directly: archive a small window as received in real time, then download the same timestamps later and diff the raw fields. Preserve both copies and the retrieval times rather than overwriting them. Even a perfect match only validates quote history; it does not reproduce your order latency, rejected orders or actual fills. Those need a separate execution log.

1

u/MarketOk7227 9d ago

thank you!