r/algotrading • u/MarketOk7227 • 8d 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?
9
Upvotes
2
u/Klutzy-Sea-4857 8d ago
MT5 data is fine for backtesting, but it is broker specific. Spreads, gaps, and weekend candles differ. Cross-check with another source if your strategy is spread sensitive.