Go to file
kroutony ddc1b9e3eb Add ATR-based dynamic stop-loss and pass current_prices to validate_trade
- Add _calc_atr_stop_price(): ATR × 3 with 3-8% bounds
- place_stop_loss_order() accepts explicit stop_price from ATR calc
- Stop-loss backfill uses stored stop price before falling back to fixed %
- Pass current_prices to validate_trade() for LLM SELL PnL calculation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 03:26: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 5-tier LLM SELL profit thresholds, allow loss sells, fix PnL sign display 2026-03-14 13:49:14 +00:00
cost_tracking.json Raise take-profit to 15% and tighten SELL conditions for longer holds 2026-03-14 03:38:42 +00:00
data_fetcher.py Add advanced indicators: MTF analysis, ADX, StochRSI, OBV, CMF, pivot points 2026-03-14 03:26:59 +00:00
indicators.py Add advanced indicators: MTF analysis, ADX, StochRSI, OBV, CMF, pivot points 2026-03-14 03:26:59 +00:00
llm_analyzer.py Raise take-profit to 15% and tighten SELL conditions for longer holds 2026-03-14 03:38:42 +00:00
main.py Add ATR-based dynamic stop-loss and pass current_prices to validate_trade 2026-03-15 03:26: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 5-tier LLM SELL profit thresholds, allow loss sells, fix PnL sign display 2026-03-14 13:49:14 +00:00
slack_notifier.py Add 5-tier LLM SELL profit thresholds, allow loss sells, fix PnL sign display 2026-03-14 13:49:14 +00:00
stop_orders.json Raise take-profit to 15% and tighten SELL conditions for longer holds 2026-03-14 03:38:42 +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 ATR-based dynamic stop-loss and pass current_prices to validate_trade 2026-03-15 03:26:54 +00:00