From 70479bfd16a39d13cb7b73e94462c0a30ac27057 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 29 Dec 2020 17:26:22 +0800 Subject: [PATCH] binance: assign Isolated field --- pkg/exchange/binance/exchange.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/exchange/binance/exchange.go b/pkg/exchange/binance/exchange.go index 312fd0b2a..8d9f165ac 100644 --- a/pkg/exchange/binance/exchange.go +++ b/pkg/exchange/binance/exchange.go @@ -406,11 +406,13 @@ func (e *Exchange) SubmitOrders(ctx context.Context, orders ...types.SubmitOrder TimeInForce: response.TimeInForce, Type: response.Type, Side: response.Side, + IsIsolated: response.IsIsolated, // StopPrice: // IcebergQuantity: Time: response.TransactTime, // UpdateTime: // IsWorking: , + } createdOrder, err := ToGlobalOrder(&retOrder)