How dharmik-solanki-g/indian-stock-market-screener works
This is a Streamlit screener for Indian equities, with an interactive workflow that selects a strategy and screening limits, evaluates stocks using historical OHLCV data and technical indicators, then presents matches. A second workflow lets users build strategies visually or convert natural-language descriptions and uploaded documents into validated, editable strategies. The main application and screening logic are concentrated in app.py; AI conversion and validation have separate modules. Relationships for documented but unsampled features are supported by the README, not inferred from filenames.
Main entry points: app.py Screen execution · ollama_client.py Ollama client · strategies Strategy files · strategy_validator.py Strategy validator
Components 18
Stock screening
- Streamlit app
app.py - Screen controls
app.py - Screen execution
app.py - Indicators
app.py - Screen results
app.py
Strategy management
- Strategy files
strategies - Visual editor
app.py - JSON strategies
app.py
AI strategy builder
- AI builder UI
app.py - Document upload
app.py - Ollama client
ollama_client.py - Local Ollama
- Strategy validator
strategy_validator.py - Conversion prompt
prompts
Market data
- NSE stock list
data/stocks.csv - OHLCV cache
ohlcv_cache - Yahoo Finance
Other components
- Trader
Connections 22
- Trader → Streamlit app: uses
README.md - Streamlit app → Screen controls: shows
README.md - Screen controls → Screen execution: starts screening
README.md - Screen execution → NSE stock list: loads symbols
README.md - Screen execution → OHLCV cache: reads cached data
README.md - Screen execution → Yahoo Finance: fetches market data
README.md - Screen execution → Indicators: evaluates conditions
app.py - Screen execution → JSON strategies: applies strategy
README.md - Screen execution → Screen results: shows matches
app.py - Streamlit app → Strategy files: loads strategies
app.py - Visual editor → Strategy files: saves strategies
app.py - Visual editor → JSON strategies: edits JSON
README.md - Trader → Visual editor: creates strategy
README.md - Trader → AI builder UI: describes strategy
README.md - Trader → Document upload: uploads document
README.md - Document upload → Ollama client: extracts strategy
README.md - AI builder UI → Ollama client: requests conversion
README.md - Ollama client → Conversion prompt: loads prompt
README.md - Ollama client → Local Ollama: calls generation API
ollama_client.py - Ollama client → Strategy validator: validates strategy
ollama_client.py - AI builder UI → JSON strategies: previews and saves
README.md - AI builder UI → Visual editor: runs saved strategy
app.py