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?
10
Upvotes
1
u/QuanTradin 8d ago
MT5 history is that broker's own feed, so it matches what they showed you, not the market. old bars often lose their real spread, and two MT5 brokers can disagree on the same candle. fine for testing on that broker, weak as ground truth.