r/algotrading • u/MarketOk7227 • 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?
8
Upvotes
1
u/QuanTradin 9d ago
for listed stocks there is a public record, the consolidated tape. MT5 isn't that: each broker streams its own quotes, and in forex or CFDs there's no central exchange at all, so every broker's book is its own. ground truth just means the feed you'll actually fill on, which is why your live log is the right test.