|
|
@@ -825,7 +825,11 @@ impl Strategy {
|
|
|
predictor.pos_amount.abs().to_string(),
|
|
|
"pd".to_string(),
|
|
|
price.to_string(),
|
|
|
- order_client_id.clone()
|
|
|
+ order_client_id.clone(),
|
|
|
+ Utc::now().timestamp_millis().to_string(),
|
|
|
+ predictor.fair_price.to_string(),
|
|
|
+ predictor.mid_price.to_string(),
|
|
|
+ predictor.optimal_ask_price.to_string(),
|
|
|
];
|
|
|
|
|
|
command.limits_close.insert(order_client_id, order);
|
|
|
@@ -845,7 +849,11 @@ impl Strategy {
|
|
|
predictor.pos_amount.abs().to_string(),
|
|
|
"pk".to_string(),
|
|
|
price.to_string(),
|
|
|
- order_client_id.clone()
|
|
|
+ order_client_id.clone(),
|
|
|
+ Utc::now().timestamp_millis().to_string(),
|
|
|
+ predictor.fair_price.to_string(),
|
|
|
+ predictor.mid_price.to_string(),
|
|
|
+ predictor.optimal_bid_price.to_string(),
|
|
|
];
|
|
|
|
|
|
command.limits_close.insert(order_client_id, order);
|