Forex & US Stocks
Forex & US Stocks
Test strategies on forex currency pairs and US equities using professional-grade historical data.
Forex Trading
Data Source: Dukascopy
Historical tick data converted to OHLCV candles. Dukascopy is a Swiss forex bank known for high-quality institutional data.
Available Pairs (27)
Major Pairs: EUR/USD, GBP/USD, USD/JPY, AUD/USD, USD/CAD, USD/CHF, NZD/USD
Cross Pairs: EUR/GBP, EUR/JPY, GBP/JPY, EUR/CHF, EUR/AUD, GBP/CHF, AUD/JPY, NZD/JPY, CAD/JPY, CHF/JPY, GBP/AUD, EUR/NZD, EUR/CAD
Metals: XAU/USD (Gold), XAG/USD (Silver)
Forex Commission
Default preset: 0.003% per side (effectively the spread cost).
Forex-Specific Notes
- Forex markets trade 24/5 (Sunday evening to Friday evening)
- No weekend data (unlike crypto)
- Pip values vary by pair — the engine accounts for this
- Leverage up to 100× available
US Stocks
Data Source: Alpaca Markets
IEX feed providing 1-minute OHLCV data for NYSE and NASDAQ listed securities.
Available Instruments (130+)
Large-Cap Stocks: AAPL, MSFT, GOOGL, AMZN, META, NVDA, TSLA, AMD, NFLX, DIS, JPM, BAC, V, MA, JNJ, PFE, UNH, KO, PEP, WMT, and more.
Index ETFs: SPY (S&P 500), QQQ (NASDAQ-100), DIA (Dow Jones), IWM (Russell 2000)
Sector ETFs: XLF (Financials), XLK (Technology), XLE (Energy), XLV (Healthcare), XLI (Industrials)
Thematic ETFs: ARKK (Innovation), HACK (Cybersecurity), TAN (Solar), LIT (Lithium), SOXX (Semiconductors)
Stock Trading Hours
- Regular session: 09:30 – 16:00 ET (Monday – Friday)
- No pre-market or after-hours data in backtesting
- No weekends or US market holidays
Stock Commission
Default preset: $0.005 per share per side.
Stock-Specific Notes
- Maximum leverage: 4× (standard Reg-T margin)
- Minimum price movements vary by stock
- ETFs provide sector and index exposure without individual stock risk
- Data history: up to 6 years (depending on symbol)
Comparing Markets
| Feature | Crypto | Forex | Stocks | |---------|--------|-------|--------| | Trading Hours | 24/7 | 24/5 | 6.5h/day, 5 days | | Leverage | Up to 125× | Up to 100× | Up to 4× | | Volatility | Very high | Moderate | Moderate | | Commission | 0.02-0.10% | 0.003% | $0.005/share | | Short Selling | Futures only | Yes | Yes | | Data Frequency | 1s to 1w | 1m to 1w | 1m to 1w |
FAQ
Q: Can I backtest forex with 1-second data? A: No, 1-second data is currently available for crypto only (Premium+ plan). Forex starts from 1-minute.
Q: Are stock dividends accounted for? A: No, dividends are not factored into backtest results. Focus on price-based strategies.
Q: Why is stock leverage limited to 4×? A: This reflects real-world Reg-T margin requirements for US equities.

