Sample Stocks CSV File — Free Download
Daily open-high-low-close-volume rows for five fictional tickers, generated by a random walk so prices actually drift and trend — good for returns, moving averages and candlestick charts.
Download the sample file
CSV · 500 rows · 24.6 KB · synthetic data, free for any use
Download CSV samplePreview
| date | ticker | open | high | low | close | volume |
|---|---|---|---|---|---|---|
| 2026-01-01 | ACME | 86.00 | 89.68 | 84.46 | 88.29 | 5618251 |
| 2026-01-01 | GLOBEX | 87.00 | 90.35 | 85.32 | 90.07 | 8110796 |
| 2026-01-01 | INITECH | 171.00 | 177.69 | 169.43 | 175.74 | 1388653 |
| 2026-01-01 | UMBRLA | 91.00 | 92.25 | 88.21 | 88.54 | 7666324 |
| 2026-01-01 | STARK | 53.00 | 53.19 | 50.76 | 51.55 | 3078973 |
| 2026-01-02 | ACME | 88.29 | 91.57 | 87.55 | 90.75 | 7295389 |
Showing the first 6 of 500 rows.
Columns
| Column | Type | Description |
|---|---|---|
date | date (YYYY-MM-DD) | Trading day |
ticker | string | ACME, GLOBEX, INITECH, UMBRLA, STARK |
open | decimal | Opening price |
high | decimal | Session high (≥ open and close) |
low | decimal | Session low (≤ open and close) |
close | decimal | Closing price, carried into the next day's open |
volume | integer | Shares traded |
What makes this file useful
- close carries into the next row's open for the same ticker, so the series is continuous and returns are well-defined.
- high is always ≥ max(open, close) and low ≤ min(open, close), so OHLC bar/candlestick charts render correctly.
- Rows are interleaved by date then ticker — filter to one ticker before doing time-series math.
Use cases
- Compute daily returns as close / previous close − 1
- Plot a 20-day and 50-day moving average
- Build a candlestick chart from OHLC
- Compare volatility across the five tickers
Open it in a tool
Load this sample — or your own file — into a real tool. Everything runs client-side.
Related guides
More sample datasets
Frequently asked questions
Are these real stock tickers?
No. ACME, GLOBEX and the rest are fictional. Prices come from a random walk, not a market feed.
Can I backtest a strategy on this?
You can prototype the mechanics, but since the data is random there is no real signal to find. Use it to test your code, not your alpha.
How many trading days are there?
100 days per ticker, 500 rows total.
Turn this into a saved workflow
Create a free account to save the steps from this guide as a reusable workflow and re-run it on any file, from any device.
Follow HowToCSV on Google
Add us as a preferred source on Google Search so our latest CSV guides and tutorials surface more often in your Top stories.