Cryptocurrency trading platform with Blockly-based strategy builder
Go to file
rob d2f31e7111 Add Blockly integration for chart formations in strategies
- Add formation_blocks.js with dynamic block generation per formation
- Add handle_formation() to PythonGenerator for code generation
- Add process_formation() to StrategyInstance for runtime execution
- Inject formations manager into paper/backtest strategy instances
- Add get_current_candle_time() override for backtest bar timestamps
- Add Formations category to Blockly toolbox
- Fix scope property names in formations.js (exchange_name, interval)

Formations can now be referenced in strategy logic by their line properties
(line, upper, lower, midline) and values are calculated at candle time.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-11 00:51:56 -03:00
.github/workflows Implement execution loop, paper persistence, and CI pipeline 2026-02-28 19:48:50 -04:00
UML
__pycache__
archived_code The test are running but not without errors. 2024-11-11 17:22:06 -04:00
config
markdown The test seem to run without errors but are still process blocking. 2024-11-15 18:08:32 -04:00
src Add Blockly integration for chart formations in strategies 2026-03-11 00:51:56 -03:00
tests Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03: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 Document ExternalSources and ExternalIndicators modules 2026-03-09 21:35:33 -03:00
FORMATIONS_PLAN.md Address second round of Codex review feedback on formations plan 2026-03-10 16:03:33 -03:00
pytest.ini Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
requirements.txt Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
test_live_manual.py Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00