bifitnex-trading/cost_tracking.json
kroutony b6bd45b151 Fix SELL P&L calculation, add debug logging, and multiple improvements
- Fix realized_pnl always being 0 on SELL (use amount*price instead of amount_usdt)
- Add debug logging for all-HOLD LLM cycles (log sample HOLD reasons)
- Fix nonce collision in Bitfinex API auth (add counter)
- Fix timezone to UTC+8 in main, trade_logger, sync_cost_basis, check_errors
- Fix stop-loss retry with longer delay after cancel
- Add min order amount check in trader before BUY
- Fix risk_manager to skip positions with amount <= 0
- Cap trade_history to 500 entries to prevent unbounded growth
- Fix greedy regex in LLM response parser
- Reset cost_tracking start dates to null

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 06:23:54 +00:00

16 lines
276 B
JSON

{
"tETHUST": null,
"tSUIUST": null,
"tSOLUST": null,
"tLTCUST": null,
"tADAUST": null,
"tAVAX:UST": null,
"tUNIUST": null,
"tXRPUST": null,
"tDOGE:UST": null,
"tSHIB:UST": null,
"tBTCUST": null,
"tXLMUST": null,
"tLINK:UST": null,
"tDOTUST": null
}