A robust Python tool for collecting and analyzing market data from Kalshi.
- Create
private_key.pem
in project root - Add your Kalshi private key to this file
- Update
key_id
in configuration
events_collector.py
: Fetches event datamarket_collector.py
: Gathers market informationpipeline.py
: Orchestrates the complete collection process
- Collect Events:
python events_collector.py
- Collect Markets:
python market_collector.py --limit 10000
- Or instead, you could just run the full pipeline all at once.
python pipeline.py
BD_Harold