backtesting historical ohlcv api
Pull years of OHLCV candle history to run reproducible backtests against entry and exit logic without live market exposure.
Fetch 1-year XAUUSD hourly candles for backtest
curl -X GET "https://api.realmarketapi.com/api/v1/history ?ApiKey=YOUR_KEY &SymbolCode=XAUUSD &TimeFrame=H1 &startTime=2025-08-01T00:00:00Z &endTime=2026-08-01T00:00:00Z &pageSize=1000"