forked from HuobiRDCenter/huobi_Golang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subscribeorderv2response.go
30 lines (28 loc) · 1.07 KB
/
subscribeorderv2response.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package order
import "github.com/funtoy/huobi_golang/pkg/model/base"
type SubscribeOrderV2Response struct {
base.WebSocketV2ResponseBase
Data *struct {
EventType string `json:"eventType"`
Symbol string `json:"symbol"`
AccountId int64 `json:"accountId"`
OrderId int64 `json:"orderId"`
ClientOrderId string `json:"clientOrderId"`
OrderSide string `json:"orderSide"`
OrderPrice string `json:"orderPrice"`
OrderSize string `json:"orderSize"`
OrderValue string `json:"orderValue"`
Type string `json:"type"`
OrderStatus string `json:"orderStatus"`
OrderCreateTime int64 `json:"orderCreateTime"`
TradePrice string `json:"tradePrice"`
TradeVolume string `json:"tradeVolume"`
TradeId int64 `json:"tradeId"`
TradeTime int64 `json:"tradeTime"`
Aggressor bool `json:"aggressor"`
RemainAmt string `json:"remainAmt"`
LastActTime int64 `json:"lastActTime"`
ErrorCode int `json:"errCode"`
ErrorMessage string `json:"errMessage"`
}
}