|
|
@@ -951,7 +951,7 @@ impl Strategy {
|
|
|
let mut target_buy_price = predictor.optimal_bid_price;
|
|
|
// target_buy_price = utils::clip(target_buy_price, self.bp * dec!(0.97), self.ap * dec!(1.0005));
|
|
|
target_buy_price = utils::fix_price(target_buy_price, self.tick_size);
|
|
|
- let amount = utils::fix_amount(dec!(0.01), self.step_size);
|
|
|
+ let amount = utils::fix_amount(dec!(0.1), self.step_size);
|
|
|
let amount_value = amount * predictor.mid_price;
|
|
|
|
|
|
// 下单价值不能太大,也不能太小
|
|
|
@@ -974,7 +974,7 @@ impl Strategy {
|
|
|
// target_sell_price = utils::clip(target_sell_price, self.bp * dec!(0.9995), self.ap * dec!(1.03));
|
|
|
// 取消大小限制
|
|
|
target_sell_price = utils::fix_price(target_sell_price, self.tick_size);
|
|
|
- let amount = utils::fix_amount(dec!(0.01), self.step_size);
|
|
|
+ let amount = utils::fix_amount(dec!(0.1), self.step_size);
|
|
|
let amount_value = amount * self.mp;
|
|
|
|
|
|
// 下单价值不能太大,也不能太小
|