Skip to content

KnightCorp/Quant_Trading_Module

Repository files navigation

Finance Module

Main entry points for demos and CLIs of the Advanced Quant Trading System.

How to Run

There are two focused runners for quick demos and video recording:

  1. Bot/Menu Runner (chatbot, API, demo, tests)
python finance_module/run_quant_trading.py
  1. OpenBB Unified Runner (status, enhanced data, options, enhanced backtest)
python finance_module/run_openbb_unified.py

Core CLI (single-command modes):

# Backtest (prints metrics)
python finance_module/trading_execution/interfaces/launch.py backtest --symbol RELIANCE.NS --skip-deps

# Optimize equal-weight portfolio
python finance_module/trading_execution/interfaces/launch.py optimize --symbols RELIANCE.NS TCS.NS HDFC.NS --skip-deps

# Chatbot (interactive)
python finance_module/trading_execution/interfaces/launch.py

Project Structure (simplified)

finance_module/
├── run_quant_trading.py          # Bot/menu runner (1–5 options)
├── run_openbb_unified.py         # OpenBB-focused runner (1–5 options)
├── demo_unified_system.py        # End-to-end unified demo
├── unified_trading_system.py     # Orchestrator class for modules
├── trading_execution/            # Execution, data, interfaces
│   ├── interfaces/               # CLI launcher, dependency checker
│   │   └── launch.py             # Main CLI (chatbot/backtest/optimize/dash)
│   ├── openbb_integration.py     # OpenBB wrapper (optional)
│   └── trading_execution_api.py  # API server
└── trading_tools/                # Research, signals, bots, dashboard

Notes

  • Use --skip-deps for quick demos without installing optional packages.
  • OpenBB features require installation: pip install openbb-platform.
  • Dashboard mode requires: pip install dash plotly dash-bootstrap-components.

Built with ❤️ for Indian Markets

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages