How jega1987/16th_night-aug_momentum-f-o-scanner works
Index Squeeze Scanner is a paper-trading application: it gathers market data, detects and scores squeeze breakouts, plans and manages hypothetical positions, and presents scan and performance results. Its principal workflow runs through the scheduled runtime into scanning, then signal sizing/management and persistent audit records. Broker feeds and the options overlay are supporting capabilities; dashboard analytics expose outcomes. Relationships are based on the README and the supplied excerpts/SOURCE INDEX; unsampled implementation details are not assumed.
Main entry points: runtime.py Scheduler runtime · scanner.py Scan orchestration · database.py Persistent records · feed_base.py Feed contract
Components 22
Application runtime
- Web entry
main.py - Scheduler runtime
runtime.py - Strategy config
config.py - Market clock
clock.py - Kite login
kite_autologin.py
Market data
- Feed contract
feed_base.py - Kite feed
feed_kite.py - Mock feed
feed_mock.py - Tick aggregation
feed_ws.py - Candle store
candle_store.py - Symbol universe
universe.py
Signal strategy
- Scan orchestration
scanner.py - Technical indicators
indicators.py - Confluence scoring
filters.py - Signal budget
signal_budget.py
Paper trading
- Position manager
signal_engine.py - Options overlay
options_layer.py - Persistent records
database.py
Monitoring and insights
- Dashboard API
dashboard.py - Performance analytics
analytics.py - Signal notifications
notifier.py
Other components
- Operator
Connections 35
- Operator → Web entry: opens dashboard
README.md - Web entry → Scheduler runtime: starts runtime
main.py - Web entry → Dashboard API: serves routes
main.py - Web entry → Kite login: registers login
main.py - Scheduler runtime → Strategy config: reads settings
runtime.py - Scheduler runtime → Market clock: checks sessions
runtime.py - Scheduler runtime → Symbol universe: loads symbols
runtime.py - Scheduler runtime → Scan orchestration: runs scans
runtime.py - Scheduler runtime → Signal budget: limits signals
runtime.py - Scheduler runtime → Position manager: manages positions
runtime.py - Scheduler runtime → Options overlay: sets up overlay
runtime.py - Scheduler runtime → Signal notifications: configures alerts
runtime.py - Kite login → Kite feed: exchanges token
kite_autologin.py - Kite feed → Persistent records: persists token
feed_kite.py - Kite feed → Feed contract: implements contract
feed_kite.py - Mock feed → Feed contract: implements contract
feed_mock.py - Feed contract → Tick aggregation: aggregates stream
feed_ws.py - Candle store → Feed contract: fetches candles
candle_store.py - Candle store → Tick aggregation: splices streamed bars
candle_store.py - Candle store → Persistent records: reads and writes bars
candle_store.py - Scan orchestration → Candle store: loads candle series
scanner.py - Scan orchestration → Feed contract: checks live quotes
scanner.py - Scan orchestration → Confluence scoring: scores setups
scanner.py - Confluence scoring → Technical indicators: uses calculations
filters.py - Scan orchestration → Position manager: hands off setups
scanner.py - Scan orchestration → Signal budget: caps candidates
scanner.py - Scan orchestration → Persistent records: logs scan results
scanner.py - Position manager → Options overlay: requests option plan
signal_engine.py - Options overlay → Feed contract: gets option quotes
options_layer.py - Options overlay → Persistent records: stores IV history
options_layer.py - Position manager → Persistent records: records and updates trades
signal_engine.py - Position manager → Signal notifications: sends signal
signal_engine.py - Dashboard API → Persistent records: reads application data
dashboard.py - Dashboard API → Performance analytics: serves performance
dashboard.py - Performance analytics → Persistent records: queries trade history
analytics.py