Go to file
kroutony fa148da196 Fix exchange API errors: stop cascade BUY failures and stop-loss race condition
- Set available_usdt=0 after BUY fails with "not enough balance" to prevent
  subsequent BUY signals from hitting the exchange in the same cycle
- Add 0.3s delay after canceling stop orders before placing new ones to let
  Bitfinex release locked balance

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 03:12:54 +00:00
memory Backup Claude memory files to project repo 2026-03-13 11:23:22 +00:00
.env.example Initial commit: LLM-driven crypto trading bot 2026-03-13 03:25:18 +00:00
.gitignore Initial commit: LLM-driven crypto trading bot 2026-03-13 03:25:18 +00:00
config.py Add cost basis sync, fix stop-loss reliability, improve reporting 2026-03-13 11:18:49 +00:00
cost_tracking.json Add realized P&L reporting, stop-loss fill detection, and balance margin 2026-03-14 02:44:46 +00:00
data_fetcher.py Add cost basis sync, fix stop-loss reliability, improve reporting 2026-03-13 11:18:49 +00:00
indicators.py Initial commit: LLM-driven crypto trading bot 2026-03-13 03:25:18 +00:00
llm_analyzer.py Initial commit: LLM-driven crypto trading bot 2026-03-13 03:25:18 +00:00
main.py Fix exchange API errors: stop cascade BUY failures and stop-loss race condition 2026-03-14 03:12:54 +00:00
portfolio.py Initial commit: LLM-driven crypto trading bot 2026-03-13 03:25:18 +00:00
requirements.txt Initial commit: LLM-driven crypto trading bot 2026-03-13 03:25:18 +00:00
risk_manager.py Add realized P&L reporting, stop-loss fill detection, and balance margin 2026-03-14 02:44:46 +00:00
slack_notifier.py Add realized P&L reporting, stop-loss fill detection, and balance margin 2026-03-14 02:44:46 +00:00
sync_cost_basis.py Add cost basis sync, fix stop-loss reliability, improve reporting 2026-03-13 11:18:49 +00:00
trade_logger.py Initial commit: LLM-driven crypto trading bot 2026-03-13 03:25:18 +00:00
trader.py Add cost basis sync, fix stop-loss reliability, improve reporting 2026-03-13 11:18:49 +00:00