|
|
@@ -234,8 +234,8 @@ impl Strategy {
|
|
|
// #[instrument(skip(self, trader_msg), level="TRACE")]
|
|
|
pub fn _update_data(&mut self,
|
|
|
local_position: &LocalPosition,
|
|
|
- local_cash: &Decimal,
|
|
|
local_coin: &Decimal,
|
|
|
+ local_cash: &Decimal,
|
|
|
predictor: &Predictor) -> bool {
|
|
|
// position信息更新
|
|
|
if self.pos.long_pos != local_position.long_pos {
|