feat: Add core trading modules for risk management, backtesting, and execution algorithms, alongside a new ML transparency widget and related frontend dependencies.
Some checks are pending
Documentation / build-docs (push) Waiting to run
Tests / test (macos-latest, 3.11) (push) Waiting to run
Tests / test (macos-latest, 3.12) (push) Waiting to run
Tests / test (macos-latest, 3.13) (push) Waiting to run
Tests / test (macos-latest, 3.14) (push) Waiting to run
Tests / test (ubuntu-latest, 3.11) (push) Waiting to run
Tests / test (ubuntu-latest, 3.12) (push) Waiting to run
Tests / test (ubuntu-latest, 3.13) (push) Waiting to run
Tests / test (ubuntu-latest, 3.14) (push) Waiting to run
Some checks are pending
Documentation / build-docs (push) Waiting to run
Tests / test (macos-latest, 3.11) (push) Waiting to run
Tests / test (macos-latest, 3.12) (push) Waiting to run
Tests / test (macos-latest, 3.13) (push) Waiting to run
Tests / test (macos-latest, 3.14) (push) Waiting to run
Tests / test (ubuntu-latest, 3.11) (push) Waiting to run
Tests / test (ubuntu-latest, 3.12) (push) Waiting to run
Tests / test (ubuntu-latest, 3.13) (push) Waiting to run
Tests / test (ubuntu-latest, 3.14) (push) Waiting to run
This commit is contained in:
@@ -190,6 +190,44 @@ Configure risk limits in the Settings page:
|
||||
|
||||
Settings are validated before saving and you'll see error messages if values are invalid.
|
||||
|
||||
### Advanced Risk Settings
|
||||
|
||||
#### Value at Risk (VaR)
|
||||
|
||||
VaR configuration is managed through the risk management API. Default settings:
|
||||
|
||||
- **Confidence Level**: 95% (typical: 90%, 95%, 99%)
|
||||
- **Holding Period**: 1 day (typical: 1 day, 10 days, 30 days)
|
||||
- **Lookback Period**: 252 days (1 trading year)
|
||||
|
||||
VaR methods available:
|
||||
- Historical VaR
|
||||
- Parametric (Variance-Covariance) VaR
|
||||
- Monte Carlo VaR
|
||||
- Conditional VaR (CVaR)
|
||||
|
||||
#### Portfolio Correlation Analysis
|
||||
|
||||
Correlation analysis settings:
|
||||
- **Lookback Period**: 90 days default
|
||||
- **Correlation Threshold**: Configurable maximum correlation for position limits
|
||||
- **Diversification Scoring**: Automatic calculation
|
||||
|
||||
#### Position Sizing
|
||||
|
||||
Advanced position sizing methods available:
|
||||
- **Volatility-Adjusted**: Adjusts position size based on asset volatility (ATR-based)
|
||||
- **Fractional Kelly**: Configurable fraction of Kelly Criterion (default: 0.25)
|
||||
- **Regime-Aware**: Adjusts position size based on market regime
|
||||
- **Confidence-Based**: ML model confidence-adjusted position sizing
|
||||
|
||||
#### Portfolio Rebalancing
|
||||
|
||||
Rebalancing configuration:
|
||||
- **Threshold**: Deviation threshold to trigger rebalancing (default: 1%)
|
||||
- **Rebalance Interval**: Time-based interval in days (optional)
|
||||
- **Fee Threshold**: Minimum fee threshold to avoid unnecessary rebalancing
|
||||
|
||||
## Data Storage
|
||||
|
||||
Data is stored in `~/.local/share/crypto_trader/`:
|
||||
|
||||
Reference in New Issue
Block a user