binance: assign Isolated field

This commit is contained in:
c9s 2020-12-29 17:26:22 +08:00
parent 275aa9494a
commit 70479bfd16

View File

@ -406,11 +406,13 @@ func (e *Exchange) SubmitOrders(ctx context.Context, orders ...types.SubmitOrder
TimeInForce: response.TimeInForce, TimeInForce: response.TimeInForce,
Type: response.Type, Type: response.Type,
Side: response.Side, Side: response.Side,
IsIsolated: response.IsIsolated,
// StopPrice: // StopPrice:
// IcebergQuantity: // IcebergQuantity:
Time: response.TransactTime, Time: response.TransactTime,
// UpdateTime: // UpdateTime:
// IsWorking: , // IsWorking: ,
} }
createdOrder, err := ToGlobalOrder(&retOrder) createdOrder, err := ToGlobalOrder(&retOrder)