You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+79-43Lines changed: 79 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,20 +21,20 @@ A **high-performance async Python SDK** for the [ProjectX Trading Platform](http
21
21
22
22
This Python SDK acts as a bridge between your trading strategies and the ProjectX platform, handling all the complex API interactions, data processing, and real-time connectivity.
## 🚀 v3.0.0 - EventBus Architecture & Modern Async Patterns
25
25
26
-
**Latest Update (v2.0.5)**: Enhanced error handling system with centralized logging, structured error messages, and comprehensive retry mechanisms.
26
+
**Latest Update (v3.0.0)**: Complete architectural upgrade with EventBus for unified event handling, factory functions with dependency injection, and JWT-based authentication.
27
27
28
-
### What's New in v2.0.5
28
+
### What's New in v3.0.0
29
29
30
-
-**Centralized Error Handling**: Decorators for consistent error handling across all modules
31
-
-**Structured Logging**: JSON-formatted logs with contextual information for production environments
32
-
-**Smart Retry Logic**: Automatic retry for network operations with exponential backoff
33
-
-**Rate Limit Management**: Built-in rate limit handling with automatic throttling
30
+
-**EventBus Architecture**: Unified event handling system for all real-time updates
31
+
-**Factory Functions**: Simplified component creation with dependency injection
32
+
-**JWT Authentication**: Modern JWT-based auth for WebSocket connections
33
+
-**Improved Real-time**: Better WebSocket handling with automatic reconnection
34
34
-**Enhanced Type Safety**: Full mypy compliance with strict type checking
35
-
-**Code Quality**: All ruff checks pass with comprehensive linting
35
+
-**Memory Optimizations**: Automatic cleanup and sliding windows for long-running sessions
36
36
37
-
**BREAKING CHANGE**: Version 2.0.0 introduced async-only architecture. All synchronous APIs have been removed in favor of high-performance async implementations.
37
+
**BREAKING CHANGE**: Version 3.0.0 introduces EventBus and changes how components are created. See migration guide below.
38
38
39
39
### Why Async?
40
40
@@ -44,19 +44,26 @@ This Python SDK acts as a bridge between your trading strategies and the Project
44
44
-**WebSocket Native**: Perfect for real-time trading applications
45
45
-**Modern Python**: Leverages Python 3.12+ async features
46
46
47
-
### Migration from v1.x
47
+
### Migration to v3.0.0
48
48
49
-
If you're upgrading from v1.x, all APIs now require `async/await`:
49
+
If you're upgrading from v2.x, key changes include EventBus and factory functions:
0 commit comments