Skip to content

Commit 3b24a8b

Browse files
committed
2 parents 3f28d2d + 1453cfb commit 3b24a8b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3017
-363
lines changed

.secrets.baseline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"filename": "CHANGELOG.md",
134134
"hashed_secret": "89a6cfe2a229151e8055abee107d45ed087bbb4f",
135135
"is_verified": false,
136-
"line_number": 2073
136+
"line_number": 2107
137137
}
138138
],
139139
"README.md": [
@@ -325,5 +325,5 @@
325325
}
326326
]
327327
},
328-
"generated_at": "2025-08-31T14:52:37Z"
328+
"generated_at": "2025-08-31T20:27:03Z"
329329
}

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Migration guides will be provided for all breaking changes
1515
- Semantic versioning (MAJOR.MINOR.PATCH) is strictly followed
1616

17+
## [3.5.4] - 2025-01-31
18+
19+
### 🚀 Added
20+
21+
**New Lorenz Formula Indicator**:
22+
- **Chaos Theory Trading**: Added Lorenz Formula indicator applying chaos theory to market analysis
23+
- **Dynamic Parameter Calculation**: Automatically adjusts sigma (volatility), rho (trend), and beta (volume) based on market conditions
24+
- **Three-Component Output**: Provides X (rate of change), Y (momentum), and Z (primary signal) components
25+
- **Market Regime Detection**: Identifies stable, transitional, and chaotic market conditions
26+
- **Full Integration**: TA-Lib style interface with both class-based and function-based APIs
27+
28+
### 📝 Documentation
29+
30+
**Lorenz Indicator Documentation**:
31+
- **Comprehensive Guide**: Created detailed documentation at `docs/indicators/lorenz.md` with mathematical foundation
32+
- **Trading Strategies**: Multiple signal generation strategies including Z-value momentum, crossovers, and divergence
33+
- **Parameter Tuning**: Complete guidelines for adjusting dt, window, and volatility_scale parameters
34+
- **Integration Examples**: Added to main indicators guide with practical usage examples
35+
- **Complete Trading System**: Full example with position sizing, stops, and multi-indicator confluence
36+
37+
### ✅ Testing
38+
39+
**Lorenz Indicator Tests**:
40+
- **15 Comprehensive Tests**: Full test coverage following TDD principles
41+
- **Parameter Validation**: Tests for custom parameters, window sizes, and time steps
42+
- **Chaos Properties**: Verification of chaotic behavior and sensitivity to initial conditions
43+
- **Edge Cases**: Handling of empty data, missing columns, and single-row inputs
44+
- **Integration**: Example script (`examples/33_lorenz_indicator.py`) demonstrating all features
45+
46+
### 🔧 Changed
47+
48+
- **Indicator Count**: Updated from 58+ to 59+ indicators across all documentation
49+
- **Pattern Recognition**: Enhanced with chaos theory-based market analysis
50+
1751
## [3.5.3] - 2025-01-31
1852

1953
### 🐛 Fixed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ suite = await TradingSuite.create(\"MNQ\")
8282
- **Risk Management**: Portfolio analytics and risk metrics
8383

8484
### Advanced Features
85-
- **58+ Technical Indicators**: Full TA-Lib compatibility with Polars optimization including new pattern indicators
85+
- **59+ Technical Indicators**: Full TA-Lib compatibility with Polars optimization including new pattern indicators
8686
- **Level 2 OrderBook**: Depth analysis, iceberg detection, spoofing detection with 6 pattern types
8787
- **Real-time WebSockets**: Async streaming for quotes, trades, and account updates
8888
- **Performance Optimized**: Connection pooling, intelligent caching, memory management
89-
- **Pattern Recognition**: Fair Value Gaps, Order Blocks, and Waddah Attar Explosion indicators
89+
- **Pattern Recognition**: Fair Value Gaps, Order Blocks, Waddah Attar Explosion, and Lorenz Formula indicators
9090
- **Market Manipulation Detection**: Advanced spoofing detection with confidence scoring
9191
- **Financial Precision**: All calculations use Decimal type for exact precision
9292
- **Enterprise Error Handling**: Production-ready error handling with decorators and structured logging
@@ -588,7 +588,7 @@ if health_score < 70:
588588

589589
### Technical Indicators
590590

591-
All 58+ indicators work with async data pipelines:
591+
All 59+ indicators work with async data pipelines:
592592
```python
593593
import polars as pl
594594
from project_x_py.indicators import RSI, SMA, MACD, FVG, ORDERBLOCK, WAE

0 commit comments

Comments
 (0)