Learn how to import historical stock data into Stratify for backtesting and analysis.
Note: Stratify automatically fetches data from Polygon.io. This guide covers manual import for custom datasets or offline testing.
By default, Stratify automatically fetches historical data when you run backtests:
For custom datasets or offline testing, import via CSV:
Date,Open,High,Low,Close,Volume 2024-01-02,180.50,182.30,179.80,181.90,52847392 2024-01-03,182.00,183.50,181.20,182.80,48392847 2024-01-04,182.90,184.20,182.30,183.50,51293847