Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(config *APIConfig) *bitmex
Types ¶
type BitmexOrder ¶ added in v1.0.2
type BitmexOrder struct { Symbol string `json:"symbol"` OrderID string `json:"OrderID"` ClOrdID string `json:"clOrdID"` Price float64 `json:"price,omitempty"` OrderQty int `json:"orderQty"` CumQty int `json:"cumQty"` AvgPx float64 `json:"avgPx"` OrdType string `json:"ordType"` Text string `json:"text"` TimeInForce string `json:"timeInForce,omitempty"` Side string `json:"side"` OrdStatus string `json:"ordStatus"` Timestamp time.Time `json:"timestamp"` }
Click to show internal directories.
Click to hide internal directories.