-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathuser_trade.go
More file actions
22 lines (21 loc) · 885 Bytes
/
user_trade.go
File metadata and controls
22 lines (21 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package models
type UserTrade struct {
TradeSeq int `json:"trade_seq"`
TradeID string `json:"trade_id"`
Timestamp int64 `json:"timestamp"`
TickDirection int `json:"tick_direction"`
State string `json:"state"`
SelfTrade bool `json:"self_trade"`
Price float64 `json:"price"`
OrderType string `json:"order_type"`
OrderID string `json:"order_id"`
MatchingID interface{} `json:"matching_id"`
Liquidity string `json:"liquidity"`
InstrumentName string `json:"instrument_name"`
IndexPrice float64 `json:"index_price"`
FeeCurrency string `json:"fee_currency"`
Fee float64 `json:"fee"`
Direction string `json:"direction"`
Amount float64 `json:"amount"`
Label string `json:"label"`
}