From 24a6b3d5d2f3f6c87f12e3e030be3a2b3d3b25a7 Mon Sep 17 00:00:00 2001 From: egoroff Date: Mon, 24 Aug 2020 09:25:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B2=20=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83?= =?UTF-8?q?=D1=80=D1=83=20sdk.Operation=20=D0=BF=D0=BE=D0=BB=D0=B5=20Quant?= =?UTF-8?q?ityExecuted=20fixes=20#36?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rest_domain.go | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/rest_domain.go b/rest_domain.go index 572f746..a2174c8 100644 --- a/rest_domain.go +++ b/rest_domain.go @@ -144,19 +144,20 @@ type Instrument struct { } type Operation struct { - ID string `json:"id"` - Status OperationStatus `json:"status"` - Trades []Trade `json:"trades"` - Commission MoneyAmount `json:"commission"` - Currency Currency `json:"currency"` - Payment float64 `json:"payment"` - Price float64 `json:"price"` - Quantity int `json:"quantity"` - FIGI string `json:"figi"` - InstrumentType InstrumentType `json:"instrumentType"` - IsMarginCall bool `json:"isMarginCall"` - DateTime time.Time `json:"date"` - OperationType OperationType `json:"operationType"` + ID string `json:"id"` + Status OperationStatus `json:"status"` + Trades []Trade `json:"trades"` + Commission MoneyAmount `json:"commission"` + Currency Currency `json:"currency"` + Payment float64 `json:"payment"` + Price float64 `json:"price"` + Quantity int `json:"quantity"` + QuantityExecuted int `json:"quantityExecuted"` + FIGI string `json:"figi"` + InstrumentType InstrumentType `json:"instrumentType"` + IsMarginCall bool `json:"isMarginCall"` + DateTime time.Time `json:"date"` + OperationType OperationType `json:"operationType"` } type Trade struct {