-
-
Notifications
You must be signed in to change notification settings - Fork 11
Work on examples #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work on examples #29
Conversation
- Removed API health check that was calling non-existent /health endpoint (causing 404 errors) - Kept valuable client statistics functionality (API calls, cache hits, authentication status) - Updated return structure to exclude api_status and api_version fields - Updated all examples and tests to work with new return structure - Method now returns client-side metrics only without making external API calls 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add support for contract IDs like 'CON.F.US.MNQ.U25' in addition to symbols - Extract base symbol from contract ID for searching - Try exact ID match first, then fall back to symbol-based selection - Fixes 'Instrument not found' errors when positions have specific contract IDs This resolves errors that occurred when position queries returned contract IDs that were then passed to get_instrument for lookup.
- Add wait loops in subscribe_user_updates and subscribe_market_data to ensure transport is ready - Maximum 5 second wait with 0.1s intervals - Log error if transport not ready after timeout - Addresses 'Hub is not running' errors during subscription Note: Server still immediately closing connections after handshake, root cause investigation ongoing
- Changed from passing JWT in headers to URL parameter (?access_token=) - SignalR WebSocket connections require auth tokens in URL, not headers - This fixes the immediate connection closure issue after handshake - Connections now remain stable and receive events properly - Tested: 71 events received in 5 seconds with no connection errors
- Enable order synchronization in PositionManager when positions close - Update create_trading_suite to initialize position manager with order manager - Add FVG, OrderBlock, WAE and other indicators to technical indicators example - Update factory_functions_demo to properly initialize order synchronization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
|
Claude finished @TexasCoding's task —— View job PR Review: Work on ExamplesI've completed a thorough review of this merged PR focusing on code quality, potential bugs, performance, security, and test coverage. Review Checklist:
Overall AssessmentThis PR represents solid improvements to the codebase with comprehensive example updates, new candlestick pattern indicators, and various runtime error fixes. The changes demonstrate good async programming practices and maintain architectural consistency. Code Quality & Best Practices ✅Strengths:
Areas for improvement:
Potential Bugs & Issues
|
fixed a few runtime errors