brighter-trading/src
rob 7e77f55837 Add Bitcoin wallet system with configurable strategy fees
Features:
- Two-address custody model (Fee Address + Sweep Address)
- Credits ledger for instant, reliable strategy fee transactions
- Configurable fee percentage (1-100% of exchange commission)
- Background jobs for auto-sweep, deposit detection, withdrawal processing
- Account settings dialog accessible via username click
- $50 balance cap with auto-sweep to user's sweep address

Security improvements:
- Atomic withdrawal reservation prevents partial state
- Fee accumulation cleanup on strategy startup failure
- Deposit monitoring includes disabled wallets for recovery
- Null tx hash checks prevent silent failures
- Key export disabled by default

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-09 12:45:25 -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
static Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
templates Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
wallet Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
BrighterTrades.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
Configuration.py Fix backtest data source and chart view detection bugs 2026-03-06 00:05:31 -04:00
DataCache_v2.py
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
PythonGenerator.py Fix backtest data source and chart view detection bugs 2026-03-06 00:05:31 -04:00
Signals.py Add exchange validation, fix indicators bug, and improve balance display 2026-03-08 19:41:41 -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 Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
Users.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
__init__.py
app.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
backtest_result.py
backtest_strategy_instance.py Add public strategy subscription system 2026-03-08 16:59:52 -03:00
backtesting.py Add exchange validation, fix indicators bug, and improve balance display 2026-03-08 19:41:41 -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
exchange_validation.py Add exchange validation, fix indicators bug, and improve balance display 2026-03-08 19:41:41 -03:00
health.py
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
mapped_strategy.py Improve backtest time handling and indicator warmup 2026-03-08 00:38:22 -04:00
paper_strategy_instance.py Add Bitcoin wallet system with configurable strategy fees 2026-03-09 12:45:25 -03:00
shared_utilities.py
trade.py Integrate EDM for candle data and improve UI dialogs 2026-03-04 11:42:06 -04:00
utils.py
working_public_exchanges.txt Integrate EDM for candle data and improve UI dialogs 2026-03-04 11:42:06 -04:00