
Built a free 24/7 market anomaly API — drop-in for Alpaca, Polygon, and Alpha Vantage
I was tired of hunting for long-tail events; and creating bootstrapped event-generators was a hassle. If I'm focusing on a project, why would I want to maintain a sub-project? So I built a once-and-for-all market simulator with events on demand (completely free & open-source, available to everyone)
It's a fake market data API — realistic OHLCV for any ticker, a tick stream that runs 24/7, and reserved tickers (CRASH, GAP, HALT) that action on command. Point your existing client at it to test code paths that only fire on market edge-cases.
This is a testing tool, to test long-tail events like run-ups, halts, SSE loss, and intraday flash events.
No API Keys needed. Simple curl to test:curl 'https://cuckootrade.com/api/v1/alpaca/v2/stocks/bars?symbols=AAPL,CRASH'
- Completely free, no API key, nothing to sign up for.
- Historical bars : OHLCV for any symbol, 1-minute through yearly, back to 1970, on the real NYSE calendar — no bars on weekends or holidays. (https://cuckootrade.com/docs#bars)
- Live SSE stream : SSE ticks that don't stop — nights, weekends, holidays included.
- Scenario tickers : Reserved symbols that misbehave on demand (https://cuckootrade.com/docs#magic)
- CRASH drops ~25% mid-month
- GAPPY gaps overnight
- HALTS drops bars mid-session,
- SPIKEY wicks and reverts
- FLAT sits at exactly $100.00.
- Drop-in replacement for endpoints (switch
alpaca.com/api->cuckootrade.com/api)- Currently supports Alpaca, Polygon, & Alpha Vantage
- Deterministic & Reproducible: Every bar is a pure function of (symbol, timestamp, seed), computed per request, no database. Same request, same bytes, forever — results are consistent between local host, CI container, and hosted service.
- Live Sandbox to try it in a web browser ( https://cuckootrade.com/playground )
Worth saying: it's for testing, not backtesting. Synthetic data will make almost any strategy look profitable.
It's a portfolio project I'm still polishing, so feedback actually helps me. Tell me what's broken, or what provider or scenario you want next and I'll build it. Or you're welcome to contribute to the repository:
Open source Github: https://github.com/tj-miller-dev/stock_simulator
No paywalls. No fees. No login. Just the data.