|
@@ -390,8 +390,8 @@ impl Strategy {
|
|
|
.map_err(|e| anyhow!("查单-解析 'data.filledQty' 为 Decimal 失败: {}, 值: {}", e, v))
|
|
.map_err(|e| anyhow!("查单-解析 'data.filledQty' 为 Decimal 失败: {}, 值: {}", e, v))
|
|
|
)?;
|
|
)?;
|
|
|
|
|
|
|
|
- self.filled_quantity = filled_qty.normalize();
|
|
|
|
|
- if self.filled_quantity > Decimal::ZERO {
|
|
|
|
|
|
|
+ if filled_qty > Decimal::ZERO {
|
|
|
|
|
+ self.filled_quantity = filled_qty.normalize();
|
|
|
info!("订单 {} ,成交数量: {}", order_id, self.filled_quantity);
|
|
info!("订单 {} ,成交数量: {}", order_id, self.filled_quantity);
|
|
|
}
|
|
}
|
|
|
|
|
|