Versions in this module Expand all Collapse all v1 v1.0.2 Jul 20, 2023 v1.0.1 Jul 20, 2023 Changes in this version + func FromWSRaw(symbol string, data []interface{}) (interface{}, error) + type Snapshot struct + Snapshot []*Ticker + func SnapshotFromRaw(symbol string, raw [][]interface{}) (*Snapshot, error) + type Ticker struct + Ask float64 + AskPeriod int64 + AskSize float64 + Bid float64 + BidPeriod int64 + BidSize float64 + DailyChange float64 + DailyChangePerc float64 + Frr float64 + FrrAmountAvailable float64 + High float64 + LastPrice float64 + Low float64 + Symbol string + Volume float64 + func FromRaw(symbol string, raw []interface{}) (t *Ticker, err error) + func FromRestRaw(raw []interface{}) (t *Ticker, err error) + type Update Ticker