Settings
Switch data providers. Yahoo + NSE work out-of-the-box.
Provider status
- YAHOO β ready
- NSE β ready
- KITE β not configured
- DHAN β not configured
- ANGEL β not configured
Kite/Dhan/Angel are stubs. To enable, install the broker SDK and set the relevant environment variables, then wire up history() in the corresponding adapter inside providers/__init__.py.
v2 performance notes
- Parallel fetch via ThreadPoolExecutor (4 workers, 30 symbols per HTTP call).
- On-disk pickle cache with 60-minute TTL β repeat loads are ~50ms.
- Background pre-warm of Nifty 100 + sector indices runs automatically on startup.
- Cache lives at
%LOCALAPPDATA%\MarketDeck\cache(Windows) or~/.marketdeck_cache(other).