How sundrop2002/marketflow works
This small Python script fetches Binance candle data, displays it, and demonstrates saving and reloading the raw response as JSON. main.py orchestrates the workflow; the client owns the HTTP request, while the storage helper owns file I/O. The README is empty, so the map reflects only the shown source; the JSON file is a runtime artifact, not a repository file.
Main entry points: main.py Candle runner · binance_client.py Binance client · raw_storage.py Raw storage
Components 6
Workflow
- Candle runner
main.py
Ingestion
- Binance client
ingestion/binance_client.py
Persistence
- Raw storage
ingestion/raw_storage.py - Candles JSON
Other components
- User
- Binance API
Connections 6
- User → Candle runner: runs
main.py - Candle runner → Binance client: requests candles
main.py - Binance client → Binance API: GET klines
ingestion/binance_client.py - Binance API → Binance client: returns candles
ingestion/binance_client.py - Candle runner → Raw storage: saves and reads
main.py - Raw storage → Candles JSON: writes and reads
ingestion/raw_storage.py