Versions in this module Expand all Collapse all v1 v1.1.0 Apr 19, 2024 Changes in this version + var KlineTypes = []KlineType + type Kline struct + Amount decimal.Decimal + Close decimal.Decimal + EndTime int64 + High decimal.Decimal + KlineType KlineType + Low decimal.Decimal + Open decimal.Decimal + Range string + StartTime int64 + Volume decimal.Decimal + func (k *Kline) CastToMysqlData(symbolInfo *define.SymbolInfo) *model.Kline + func (k *Kline) CastToWsData(symbolInfo *define.SymbolInfo) commonWs.Kline + type KlineType pb.KlineType + const Day1 + const Hour1 + const Hour4 + const Min1 + const Min10 + const Min15 + const Min30 + const Min5 + const Month1 + const Week1 + func (kt KlineType) GetCycle() int32 + func (kt KlineType) String() string + type MatchData struct + Amount decimal.Decimal + EndPrice decimal.Decimal + High decimal.Decimal + Low decimal.Decimal + MatchTime int64 + MessageID pulsar.MessageID + StartPrice decimal.Decimal + Volume decimal.Decimal + type StoreKline struct + IsHistory bool + Klines []*Kline + MessageID pulsar.MessageID v1.0.0 Dec 1, 2023