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, precision string, data []interface{}) (interface{}, error) + func IsRawBook(precision string) bool + type Book struct + Action BookAction + Amount float64 + AmountJsNum json.Number + Count int64 + ID int64 + Period int64 + Price float64 + PriceJsNum json.Number + Rate float64 + Side common.OrderSide + Symbol string + func FromRaw(symbol, precision string, raw []interface{}, rawNumbers interface{}) (b *Book, err error) + type BookAction byte + const BookEntry + const BookRemoveEntry + type Snapshot struct + Snapshot []*Book + func SnapshotFromRaw(symbol, precision string, raw [][]interface{}, rawNumbers interface{}) (*Snapshot, error)