[Del] remove local generated order time

This commit is contained in:
vn.py 2019-11-07 10:07:19 +08:00
parent 18a1c6e247
commit 8ad0387204

View File

@ -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