Skip to content

Commit d92a470

Browse files
committed
allow left-overs of ~$1
1 parent 998f4b4 commit d92a470

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rebalancer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use std::{collections::HashSet, sync::Arc};
1212
use tokio::runtime::{Builder, Runtime};
1313

1414
/// Don't bother selling a position worth less than this (USD); the swap fee/dust isn't worth it.
15-
const MIN_REBALANCE_VALUE: I80F48 = I80F48!(0.5);
15+
const MIN_REBALANCE_VALUE: I80F48 = I80F48!(1.0);
1616

1717
/// The rebalancer keeps the liquidator holding only the swap mint (USDC): every other token it ends
1818
/// up with — seized collateral from a liquidation, or a JIT-buy overshoot — is sold back to USDC on

0 commit comments

Comments
 (0)