How rakeshks7/hawkes-process-hft-microstructure works
This is a research tool for modeling high-frequency trade arrivals with a univariate Hawkes process. Its principal workflow generates synthetic order-flow timestamps, fits model parameters, calculates the branching ratio, then reports criticality and plots estimated intensity. The model also exposes simulation directly, and the README identifies Ogata thinning, recursive maximum-likelihood estimation, and stability metrics as product capabilities. The graph reflects the shown calls; it does not infer additional integrations or workflows from unsampled code.
Main entry points: main.py Workflow entry · model.py Hawkes model · data_gen.py Synthetic flow · analytics.py Criticality report
Components 6
Workflow
- Workflow entry
main.py - Synthetic flow
src/data_gen.py
Hawkes modeling
- Hawkes model
src/model.py
Analysis and reporting
- Criticality report
src/analytics.py - Intensity plot
src/analytics.py
Other components
- Research user
Connections 7
- Research user → Workflow entry: runs
main.py - Workflow entry → Synthetic flow: generates timestamps
main.py - Synthetic flow → Hawkes model: simulates flow
src/data_gen.py - Workflow entry → Hawkes model: fits model
main.py - Workflow entry → Hawkes model: gets branching ratio
main.py - Workflow entry → Criticality report: reports criticality
main.py - Workflow entry → Intensity plot: plots intensity
main.py