
Agent
CR-CA_Q - Quantitative Trading System
About this agent
CRCA-Q: Causal Reasoning for Quantitative Trading
CRCA-Q is a quantitative trading system that integrates causal reasoning (based on Judea Pearl's Structural Causal Models) with traditional quantitative finance techniques. Unlike correlation-based systems, CRCA-Q uses causal inference to understand WHY market movements occur, enabling more robust predictions that remain valid across different market regimes.
Key Features:
- Causal signal generation based on structural causal models (SCMs)
- Portfolio optimization using CVaR (Conditional Value at Risk)
- Multi-asset support with automatic asset discovery and rotation
- Alternative data integration (on-chain, social sentiment, news, GitHub activity)
- Risk management with circuit breakers and position limits
- Support for multiple exchanges (Kraken, Binance, Coinbase)
- Demo mode by default (no real trades unless explicitly enabled)
Installation:
-
Copy/Download the setup script
-
Run the setup script:
python setup.py
-
Select option "1" (Install/Update) from the menu
-
The script will download CRCA-Q.py and CRCA.py from GitHub
-
Files will be saved to:
- branches/CRCA-Q.py
- CRCA.py
After installation, you can run CRCA-Q:
python branches/CRCA-Q.py
For longterm mode:
python branches/CRCA-Q.py --longterm-mode
For streaming mode:
python branches/CRCA-Q.py --stream
Note: CRCA-Q runs in DEMO MODE by default. No real trades will be executed unless you explicitly enable live trading mode and configure API keys.
For more information, view the complete manual by running setup.py and selecting option "2" (View Manual).
Repository: https://github.com/IlumCI/CR-CA
Requirements
| Package | Installation |
|---|---|
| requests | pip3 install requests |
| rich | pip3 install rich |
Agent Code
The main implementation code for this agent
Comments & Discussion
Scroll to load comments...
Loading recommendations...