| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Nifty 50 stock screening, sector rotation (RRG), and portfolio backtesting for the Indian market. Built with Streamlit, DuckDB, and NumPy.
pip install -r requirements.txt
streamlit run app.pyThe app starts in headless mode automatically (configured in .streamlit/config.toml).
Data is fetched from Yahoo Finance on-demand within the app:
On first clone, the repo includes pre-exported Parquet files (database/*.parquet). When the app runs and finds no DuckDB file, it automatically creates one from the Parquet data — no immediate sync needed. Sync any time to get fresh data.
If the app loads slowly on first run, use the sync buttons in each page to populate the database.
app.py # Entry point — sidebar nav, page routing core.py # Business logic — scanning, backtesting, sector rotation, data sync indicators.py # 30+ NumPy indicator functions (EMA, RSI, ADX, MACD, etc.) pages_app/ scan.py # Scan Dashboard sector.py # Sector Rotation (RRG) dailyscanner.py # Daily Scanner (4 daily-chart strategies) backtest.py # Portfolio Simulation chart.py # Chart Analysis database/ # Parquet files (tracked in git) + DuckDB (auto-generated) .streamlit/ config.toml # Streamlit config (headless mode, no usage stats)
Key libraries: Streamlit, DuckDB, NumPy, Pandas (display only), Plotly, yfinance.
MIT
| Back | FazBrowse Home | New Git URL |