Better coin velocity logic
This commit is contained in:
5
bot.py
5
bot.py
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user