Skip to content

Commit 7975f33

Browse files
authored
Merge pull request #45 from TexasCoding/examples
Release v3.1.12: Enhanced real-time data example with CSV export and charting
2 parents 09062e7 + 02ef384 commit 7975f33

File tree

12 files changed

+1129
-44
lines changed

12 files changed

+1129
-44
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,27 @@ 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.1.12] - 2025-08-15
18+
19+
### Added
20+
- **📊 Enhanced Example**: Significantly improved `01_events_with_on.py` real-time data example
21+
- Added CSV export functionality for bar data
22+
- Interactive candlestick chart generation using Plotly
23+
- Automatic prompt after 10 bars to export data and generate charts
24+
- Non-blocking user input handling for CSV export confirmation
25+
- Proper bar counting and display formatting
26+
- Chart opens automatically in browser when generated
27+
28+
### Improved
29+
- Example now shows last 6 bars instead of 5 for better context
30+
- Better formatting of price displays with proper currency formatting
31+
- Clear visual indicators for new bar events
32+
- More user-friendly prompts and progress indicators
33+
34+
### Dependencies
35+
- Added optional Plotly dependency for chart generation in examples
36+
- Example gracefully handles missing Plotly installation
37+
1738
## [3.1.11] - 2025-08-13
1839

1940
### Fixed

CLAUDE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,15 @@ async with ProjectX.from_env() as client:
288288

289289
## Recent Changes
290290

291-
### v3.1.11 - Latest Release
291+
### v3.1.12 - Latest Release
292+
- **Enhanced**: Significantly improved `01_events_with_on.py` real-time data example
293+
- Added CSV export functionality with interactive prompts
294+
- Plotly-based candlestick chart generation
295+
- Non-blocking user input handling
296+
- Better bar display formatting and visual indicators
297+
- Automatic browser opening for generated charts
298+
299+
### v3.1.11
292300
- **Fixed**: ManagedTrade `_get_market_price()` implementation
293301
- ManagedTrade can now fetch current market prices from data manager
294302
- Automatic fallback through multiple timeframes (1sec, 15sec, 1min, 5min)

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
project = "project-x-py"
2424
copyright = "2025, Jeff West"
2525
author = "Jeff West"
26-
release = "3.1.11"
27-
version = "3.1.11"
26+
release = "3.1.12"
27+
version = "3.1.12"
2828

2929
# -- General configuration ---------------------------------------------------
3030

0 commit comments

Comments
 (0)