Cryptocurrency trading platform with Blockly-based strategy builder
Go to file
rob ee199022fa Fix anchor positioning when outside visible time range
- Add _getAnchorPixelPosition method that handles anchors outside
  the visible time range by calculating their position along the line
- Update _createAnchor to use robust position calculation
- Update _updateFormationPositionsInPlace to use new method

Previously, anchors would not update when their time coordinate was
outside the visible range (because _chartToPixel returns null).
Lines would update correctly via _getInfiniteLineEndpoints, but anchors
would stay at stale positions.

Now anchors are positioned at the viewport edge when their actual
time coordinate is outside the visible range, keeping them on the line.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-10 22:48:03 -03: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 anchor positioning when outside visible time range 2026-03-10 22:48:03 -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