Cryptocurrency trading platform with Blockly-based strategy builder
Go to file
rob f603728080 Fix paper trade P/L updates and fee calculations
- Fix default fee from 0.1 (10%) to 0.001 (0.1%) in Trade class
- Add real-time trade updates via WebSocket trade_update events
- Fetch current market price for market orders instead of using cached price
- Add trade persistence to database with proper schema
- Add execution loop to update trades even without active strategies
- Add frontend handler for trade_update events in communication.js
- Add handleTradeUpdate method in trade.js for live P/L updates
- Add debug file logging for trade update debugging
- Update statistics dashboard and trading HUD templates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-02 16:05:53 -04:00
.github/workflows Implement execution loop, paper persistence, and CI pipeline 2026-02-28 19:48:50 -04:00
UML Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
__pycache__ Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
archived_code The test are running but not without errors. 2024-11-11 17:22:06 -04:00
config Moved .db and .yml files to appropriate directories 2024-07-25 08:46:12 -03:00
markdown The test seem to run without errors but are still process blocking. 2024-11-15 18:08:32 -04:00
src Fix paper trade P/L updates and fee calculations 2026-03-02 16:05:53 -04:00
tests Fix paper trade P/L updates and fee calculations 2026-03-02 16:05:53 -04:00
.claudeignore Fix chart loading and stabilize local runtime 2026-02-28 15:15:56 -04:00
.gitignore Fix int64 JSON serialization error in SocketIO responses 2026-03-01 17:58:24 -04:00
CLAUDE.md Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00
pytest.ini Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00
requirements.txt Python generators is fully implemented but not tested yet. 2024-11-07 10:43:51 -04:00
test_live_manual.py Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00