Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoricalTradeSnapshot ¶
type HistoricalTradeSnapshot Snapshot
type TradeExecutionUpdate ¶
type TradeExecutionUpdate struct {
ID int64
Pair string
MTS int64
OrderID int64
ExecAmount float64
ExecPrice float64
OrderType string
OrderPrice float64
Maker int
Fee float64
FeeCurrency string
}
TradeExecutionUpdate represents a full update to a trade on the private data feed. Following a TradeExecution, TradeExecutionUpdates include additional details, e.g. the trade's execution ID (TradeID).
func FromRaw ¶
func FromRaw(raw []interface{}) (tu *TradeExecutionUpdate, err error)
public trade update just looks like a trade
Click to show internal directories.
Click to hide internal directories.