Skip to content

Conversation

@PhilSing24
Copy link

Quant-grade intraday tick simulator that generates synthetic trade and quote data exhibiting realistic market microstructure.
Unlike simple random data generators, this module produces data with statistical properties observed in real markets:

Trade clustering — Hawkes process captures self-exciting arrival dynamics
Price continuity — GBM with optional Merton jump-diffusion
Intraday seasonality — configurable U-shape or J-shape intensity patterns
Quote generation — bid-ask spreads that widen randomly

Useful for strategy backtesting, stress testing, system development, and demos.

Included:
46 unit tests (all passing)
Technical paper documenting the mathematical foundations
PyKX notebook for quick start
5 preset market scenarios (default, liquid, illiquid, volatile, jumpy)

Roadmap: If accepted, a follow-up module (di.simmulti) is planned to extend this with multi-instrument generation (symbol will be added) and configurable correlation structures.

@PhilSing24
Copy link
Author

External contributor here — saw the call for community contributions on the Data Intellect blog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant