Skip to content

Show HN: Trade simulation engine with realistic bid/ask fills

parsepect.com
2 pointsvain1 comment
On HN

I've been tinkering as a solo quant dev and built a trade simulation engine that uses real bid/ask data with 5-second candles to model executions more realistically than most backtesting frameworks I've tried.

After experimenting with the most popular backtesting libraries, I wanted something that handled 5-second (the lowest interval data I have access to) and bid/ask fill behavior better. So I ended up building my own prediction and simulation stack - Python, Pandas, SQLite, DuckDB, Torch, etc.

The simulated fills line up closely with empirical results from actual trades (the sim is deliberately a bit pessimistic), so I'm feeling confident in its accuracy so far. The live trader itself is another python codebase :)

I've just wrapped it in a small web frontend. It's running on my home machine, so performance might be rough. I'd love to hear what you think!

Comments

Forgot to mention - feel free to use fake emails to register. There's no verification.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.