Better coin velocity logic

This commit is contained in:
2026-05-16 00:08:45 -04:00
parent fe5fb5f3f1
commit 3394392e49
4 changed files with 114 additions and 33 deletions

5
bot.py
View File

@@ -222,8 +222,9 @@ def run_cycle(config: Config) -> bool:
order_id=order_id,
))
log.info(
"OPENED %-10s qty=%.8f price=$%.6f cost=$%.2f change_24h=%+.2f%%",
opp.pair, quantity, opp.last_price, alloc_per_asset, opp.change_pct,
"OPENED %-10s qty=%.8f price=$%.6f cost=$%.2f change_24h=%+.2f%% rsi=%.1f recent=%+.2f%%",
opp.pair, quantity, opp.last_price, alloc_per_asset,
opp.change_pct, opp.rsi, opp.recent_change_pct,
)
return bool(closed)