brighter-trading/src
rob 5717ac6a81 Implement chart formations MVP with Line and Channel support
Add formations feature for drawing trendlines and channels on charts:

Backend (Formations.py):
- CRUD operations with DataCache integration
- Database table with scope-based indexing
- Line value calculation with infinite extension
- Property value lookup for strategy integration

Frontend (formations.js, formation_overlay.js):
- Three-class pattern: UIManager, DataManager, Controller
- SVG overlay for drawing with RAF sync loop
- Click-to-draw interface with temp line preview
- Anchor dragging for line adjustment
- Coordinate conversion using v5 API

UI Integration:
- HUD panel with Line/Channel buttons
- Formation cards with hover details
- Drawing controls (name input, save/cancel)

Socket handlers for real-time sync:
- request_formations, new_formation
- edit_formation, delete_formation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-10 16:22:08 -03:00
..
brokers Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
edm_client Integrate EDM for candle data and improve UI dialogs 2026-03-04 11:42:06 -04:00
maintenence I am just about to move most of the strategy statistics tracking to the StrategyInstance 2024-11-22 10:28:39 -04:00
static Implement chart formations MVP with Line and Channel support 2026-03-10 16:22:08 -03:00
templates Implement chart formations MVP with Line and Channel support 2026-03-10 16:22:08 -03:00
wallet Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
BrighterTrades.py Implement chart formations MVP with Line and Channel support 2026-03-10 16:22:08 -03:00
Configuration.py Fix backtest data source and chart view detection bugs 2026-03-06 00:05:31 -04:00
DataCache_v2.py Made a lot of changes to DataCache indicator data is not being saved to the database. 2024-09-15 14:05:08 -03:00
DataCache_v3.py Add exchange validation, fix indicators bug, and improve balance display 2026-03-08 19:41:41 -03:00
Database.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
Exchange.py Fix KuCoin balance fetching and add balance refresh functionality 2026-03-06 06:10:31 -04:00
ExchangeInterface.py Add exchange validation, fix indicators bug, and improve balance display 2026-03-08 19:41:41 -03:00
ExternalIndicators.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
ExternalSources.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
Formations.py Implement chart formations MVP with Line and Channel support 2026-03-10 16:22:08 -03:00
PythonGenerator.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
Signals.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
Strategies.py Add exchange validation, fix indicators bug, and improve balance display 2026-03-08 19:41:41 -03:00
StrategyInstance.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
Users.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
__init__.py Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
app.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
backtest_result.py Fix high-severity issues identified by Codex 2026-02-28 17:23:58 -04:00
backtest_strategy_instance.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
backtesting.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
candles.py Fix KuCoin balance fetching and add balance refresh functionality 2026-03-06 06:10:31 -04:00
config.example.py Add Bollinger %B indicator and fix credential handling 2026-03-06 06:31:31 -04:00
create_defult_tables.py Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
exchange_validation.py Add exchange validation, fix indicators bug, and improve balance display 2026-03-08 19:41:41 -03:00
health.py Phase 5-6: Live trading stubs and observability 2026-02-28 17:09:54 -04:00
indicators.py Add all 61 TA-Lib candlestick pattern indicators 2026-03-08 12:10:14 -03:00
live_strategy_instance.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
logging_config.py Phase 5-6: Live trading stubs and observability 2026-02-28 17:09:54 -04:00
mapped_strategy.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
paper_strategy_instance.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
shared_utilities.py Phase 3: Backtest determinism 2026-02-28 17:02:54 -04:00
trade.py Integrate EDM for candle data and improve UI dialogs 2026-03-04 11:42:06 -04:00
utils.py Add external data sources and indicators for backtesting 2026-03-09 21:25:36 -03:00
working_public_exchanges.txt Integrate EDM for candle data and improve UI dialogs 2026-03-04 11:42:06 -04:00