[Del] remove local generated order time
This commit is contained in:
parent
18a1c6e247
commit
8ad0387204
@ -247,8 +247,7 @@ class BybitRestApi(RestClient):
|
|||||||
}
|
}
|
||||||
|
|
||||||
order = req.create_order_data(order_id, self.gateway_name)
|
order = req.create_order_data(order_id, self.gateway_name)
|
||||||
order.time = str(datetime.now().isoformat())
|
|
||||||
|
|
||||||
# Only add price for limit order.
|
# Only add price for limit order.
|
||||||
data["order_type"] = ORDER_TYPE_VT2BYBIT[req.type]
|
data["order_type"] = ORDER_TYPE_VT2BYBIT[req.type]
|
||||||
data["price"] = req.price
|
data["price"] = req.price
|
||||||
|
Loading…
Reference in New Issue
Block a user