brighter-trading/tests
rob 51ec74175d Phase 4: Paper trading implementation
- Create PaperStrategyInstance extending StrategyInstance
- Integrate PaperBroker for simulated order execution
- Add trade_order() method translating Blockly calls to broker
- Add mode selection in Strategies.create_strategy_instance()
- Update execute_strategy() to support paper/backtest/live modes
- Include comprehensive tests for paper trading functionality

Paper trading now works with:
- Market and limit orders
- Position tracking with P&L
- Balance management
- Trade history
- Reset functionality

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-28 17:07: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 Phase 3: Backtest determinism 2026-02-28 17:02:54 -04:00
test_brokers.py Phase 2: Broker abstraction foundation 2026-02-28 17:00:43 -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_indicators.py Phase 0: Stabilize baseline 2026-02-28 16:44:11 -04:00
test_live_exchange_integration.py Completed unittests for Database and DataCache. 2024-08-03 16:56:13 -03: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_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