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
- Updated README.md with v3.0.2 features and bug fixes
- Added comprehensive v3.0.2 section to CHANGELOG.md
- Updated CLAUDE.md to reflect current version
- Updated SECURITY.md supported versions (3.0.x is now supported)
- Updated all example files to reference SDK v3.0.2
- Version bump in pyproject.toml, __init__.py, and docs/conf.py
Key changes documented:
- Order lifecycle tracking fixes
- Order template instrument lookup fixes
- Comprehensive cleanup functionality
- Asyncio concurrency improvements
Copy file name to clipboardExpand all lines: README.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,25 @@ 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.
23
23
24
-
## 🚀 v3.0.1 - TradingSuite Architecture
24
+
## 🚀 v3.0.2 - Production-Ready Trading Suite
25
25
26
-
**Latest Update (v3.0.1)**: Complete architectural upgrade with TradingSuite for simplified SDK usage, feature flags, and unified event handling.
26
+
**Latest Update (v3.0.2)**: Bug fixes and improvements to order lifecycle tracking, comprehensive cleanup functionality, and enhanced error handling.
27
27
28
-
### What's New in v3.0.1
28
+
### What's New in v3.0.2
29
+
30
+
-**Fixed Order Lifecycle Tracking**: Corrected asyncio concurrency issues and field references
31
+
-**Automatic Cleanup**: Added comprehensive cleanup for orders and positions in examples
32
+
-**Bug Fixes**: Fixed instrument lookup in order templates and improved error handling
33
+
34
+
### Key Features from v3.0.1
29
35
30
36
-**TradingSuite Class**: New unified entry point for simplified SDK usage
31
37
-**One-line Initialization**: TradingSuite.create() handles all setup
32
38
-**Feature Flags**: Easy enabling of optional components like orderbook and risk manager
33
39
-**Context Manager Support**: Automatic cleanup with async with statements
34
40
-**Unified Event Handling**: Built-in EventBus for all components
35
41
36
-
**BREAKING CHANGE**: Version 3.0.1 replaces factory functions with TradingSuite. See migration guide below.
42
+
**BREAKING CHANGE**: Version 3.0+ replaces factory functions with TradingSuite. See migration guide below.
37
43
38
44
### Why Async?
39
45
@@ -43,15 +49,15 @@ This Python SDK acts as a bridge between your trading strategies and the Project
43
49
-**WebSocket Native**: Perfect for real-time trading applications
44
50
-**Modern Python**: Leverages Python 3.12+ async features
45
51
46
-
### Migration to v3.0.1
52
+
### Migration to v3.0+
47
53
48
-
If you're upgrading from v2.x or v3.0.0, key changes include TradingSuite replacing factories:
54
+
If you're upgrading from v2.x, key changes include TradingSuite replacing factories:
49
55
50
56
```python
51
-
# Old (v2.x/v3.0.0)
57
+
# Old (v2.x)
52
58
suite =await create_initialized_trading_suite(\"MNQ\", client)
53
59
54
-
# New (v3.0.1)
60
+
# New (v3.0+)
55
61
suite=await TradingSuite.create(\"MNQ\")
56
62
```
57
63
@@ -120,7 +126,7 @@ if __name__ == \"__main__\":
120
126
asyncio.run(main())
121
127
```
122
128
123
-
### Trading Suite (NEW in v3.0.1)
129
+
### Trading Suite (NEW in v3.0+)
124
130
125
131
The easiest way to get started with a complete trading setup:
Copy file name to clipboardExpand all lines: SECURITY.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,11 @@ We currently provide security updates for the following versions:
10
10
11
11
| Version | Supported |
12
12
| ------- | ------------------ |
13
-
| 2.0.x |:white_check_mark:|
13
+
| 3.0.x |:white_check_mark:|
14
+
| 2.0.x |:x:|
14
15
| 1.x.x |:x:|
15
16
16
-
Note: Version 2.0.0 was a complete rewrite with an async-only architecture, and all previous synchronous APIs were removed.
17
+
Note: Version 3.0.0 introduced the TradingSuite architecture, replacing all factory functions. Version 2.0.0 was a complete rewrite with an async-only architecture.
0 commit comments