brighter-trading/tests
rob 639043b261 Live trading infrastructure functional on testnet
Key fixes:
- ExchangeInterface: Remove stale entries before creating new exchange connections
- LiveBroker: Optimize get_total_equity() to price only top 10 assets (was hanging on 462 testnet assets)
- LiveBroker: Add fiat currency skip list to avoid failed price lookups
- PythonGenerator: Fix market symbol regex to handle 2-5 char symbols (BTC/USDT)

New features:
- LiveStrategyInstance: Full live trading strategy execution
- Circuit breaker and position limits for live trading safety
- Restart-safe order reconciliation via client order IDs

Verified working:
- Live strategy starts on Binance testnet
- Orders placed and filled successfully
- Execution loop runs with active strategies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-01 15:23:34 -04:00
..
__pycache__ Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
BrighterTrading.db Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
Brng.db Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
__init__.py Classes implemented in python and javascript. UML class diagram. Rough sequence uml. TODO: local file getting dirty from refresh. Signals implemented. Strategies implemented. Trades implemented but still needs some testing. 2023-02-17 22:47:13 -04:00
config.yml Many improvements. 2023-05-14 17:33:13 -03:00
conftest.py Phase 0: Stabilize baseline 2026-02-28 16:44:11 -04:00
test_BrighterTrades.py Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00
test_DataCache.py Indicators are fixed after last update. 2024-09-18 13:47:07 -03:00
test_Exchange.py Extended DataCache with indicator caching functionality. All DataCache tests pass. 2024-09-07 19:51:01 -03:00
test_Users.py Phase 0: Stabilize baseline 2026-02-28 16:44:11 -04:00
test_app.py Fixed query_uptodate function and added comprehensive test cases 2024-08-02 01:36:45 -03:00
test_backtest_determinism.py Fix high-severity issues identified by Codex 2026-02-28 17:23:58 -04:00
test_brokers.py Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00
test_candles.py Extended DataCache with indicator caching functionality. All DataCache tests pass. 2024-09-07 19:51:01 -03:00
test_database.py Extended DataCache with indicator caching functionality. All DataCache tests pass. 2024-09-07 19:51:01 -03:00
test_exchangeinterface.py implemented tests for Exchangeinterface.py 2024-08-04 02:06:23 -03:00
test_execution_loop.py Implement execution loop, paper persistence, and CI pipeline 2026-02-28 19:48:50 -04:00
test_indicators.py Phase 0: Stabilize baseline 2026-02-28 16:44:11 -04:00
test_live_broker.py Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00
test_live_exchange_integration.py Completed unittests for Database and DataCache. 2024-08-03 16:56:13 -03:00
test_live_integration.py Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00
test_live_strategy_instance.py Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00
test_paper_persistence.py Implement execution loop, paper persistence, and CI pipeline 2026-02-28 19:48:50 -04:00
test_paper_trading.py Phase 4: Paper trading implementation 2026-02-28 17:07:34 -04:00
test_shared_utilities.py Extended DataCache with indicator caching functionality. All DataCache tests pass. 2024-09-07 19:51:01 -03:00
test_strategy_execution.py Live trading infrastructure functional on testnet 2026-03-01 15:23:34 -04:00
test_trade.py implemented tests for Exchangeinterface.py 2024-08-04 02:06:23 -03:00
test_trade2.py Updated project structure and staged modified files 2024-07-25 08:21:15 -03:00