Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heartbeat ¶
type Heartbeat struct { Type string Sequence int64 LastTradeID int64 ProductID string Time time.Time }
Heartbeat model data of response from exchange
type Order ¶
type Order struct { Type string Timestamp int64 ProductID string `db:"product_id"` OrderID string `db:"order_id"` Funds float64 `db:"funds"` Side string `db:"side"` Size float64 `db:"size"` Price float64 `db:"price"` OrderType string `db:"order_type"` ClientOID string `db:"client_oid"` Sequence int `db:"sequence"` RemainingSize float64 `db:"remaining_size"` Reason string `db:"reason"` }
Order model data of response from exchange
Click to show internal directories.
Click to hide internal directories.