Versions in this module Expand all Collapse all v0 v0.0.1 Feb 4, 2025 Changes in this version + const TICK_SIDE_BUY + const TICK_SIDE_SELL + const TICK_SIDE_UNKNOWN + type InfoExItem struct + Bonus float64 + Date uint32 + DeliveredShares float64 + RationedSharePrice float64 + RationedShares float64 + type ProtoRecord struct + Amount float64 + Close float64 + Date int64 + High float64 + Low float64 + Open float64 + Volume float64 + func (*ProtoRecord) Descriptor() ([]byte, []int) + func (*ProtoRecord) ProtoMessage() + func (m *ProtoRecord) GetAmount() float64 + func (m *ProtoRecord) GetClose() float64 + func (m *ProtoRecord) GetDate() int64 + func (m *ProtoRecord) GetHigh() float64 + func (m *ProtoRecord) GetLow() float64 + func (m *ProtoRecord) GetOpen() float64 + func (m *ProtoRecord) GetVolume() float64 + func (m *ProtoRecord) Reset() + func (m *ProtoRecord) String() string + type ProtoTick struct + Amount float64 + AskPrices []float64 + AskVolumes []float64 + BidPrices []float64 + BidVolumes []float64 + BuyVolume float64 + Close float64 + Code string + High float64 + HighLimited float64 + Low float64 + LowLimited float64 + Open float64 + Position float64 + PreClose float64 + PrePosition float64 + PreSettle float64 + Price float64 + SellVolume float64 + Settle float64 + Side int32 + Timestamp int64 + TotalAmount float64 + TotalVolume float64 + Volume float64 + func (*ProtoTick) Descriptor() ([]byte, []int) + func (*ProtoTick) ProtoMessage() + func (m *ProtoTick) GetAmount() float64 + func (m *ProtoTick) GetAskPrices() []float64 + func (m *ProtoTick) GetAskVolumes() []float64 + func (m *ProtoTick) GetBidPrices() []float64 + func (m *ProtoTick) GetBidVolumes() []float64 + func (m *ProtoTick) GetBuyVolume() float64 + func (m *ProtoTick) GetClose() float64 + func (m *ProtoTick) GetCode() string + func (m *ProtoTick) GetHigh() float64 + func (m *ProtoTick) GetHighLimited() float64 + func (m *ProtoTick) GetLow() float64 + func (m *ProtoTick) GetLowLimited() float64 + func (m *ProtoTick) GetOpen() float64 + func (m *ProtoTick) GetPosition() float64 + func (m *ProtoTick) GetPreClose() float64 + func (m *ProtoTick) GetPrePosition() float64 + func (m *ProtoTick) GetPreSettle() float64 + func (m *ProtoTick) GetPrice() float64 + func (m *ProtoTick) GetSellVolume() float64 + func (m *ProtoTick) GetSettle() float64 + func (m *ProtoTick) GetSide() int32 + func (m *ProtoTick) GetTimestamp() int64 + func (m *ProtoTick) GetTotalAmount() float64 + func (m *ProtoTick) GetTotalVolume() float64 + func (m *ProtoTick) GetVolume() float64 + func (m *ProtoTick) Reset() + func (m *ProtoTick) String() string + type Record struct + Amount float64 + BuyVolume float64 + Close float64 + Date uint64 + High float64 + Low float64 + Open float64 + SellVolume float64 + Volume float64 + func RecordFromProtoBytes(bytes []byte) (*Record, error) + func (this *Record) Eq(that *Record) bool + func (this *Record) GetAmount() float64 + func (this *Record) GetBuyVolume() float64 + func (this *Record) GetClose() float64 + func (this *Record) GetDate() string + func (this *Record) GetHigh() float64 + func (this *Record) GetLow() float64 + func (this *Record) GetOpen() float64 + func (this *Record) GetSellVolume() float64 + func (this *Record) GetUTCDate() uint64 + func (this *Record) GetVolume() float64 + func (this *Record) SetDate(s string) + func (this *Record) String() string + func (this *Record) ToJsonBytes() ([]byte, error) + func (this *Record) ToProtoBytes() ([]byte, error) + type RecordEx struct + Code string + func (this *RecordEx) ToJsonBytes() ([]byte, error) + type Security struct + Category string + Code string + Exchange string + func ParseSecurity(securityCode string) (*Security, error) + func ParseSecurityUnsafe(securityCode string) *Security + func (this *Security) CatCode() string + func (this *Security) GetCategory() string + func (this *Security) GetCode() string + func (this *Security) GetExchange() string + func (this *Security) IsDigitCurrency() bool + func (this *Security) IsIndex() bool + func (this *Security) IsSpot() bool + func (this *Security) String() string + type TickItem struct + Amount float64 + AskPrices []float64 + AskVolumes []float64 + BidPrices []float64 + BidVolumes []float64 + BuyVolume float64 + Close float64 + Code string + High float64 + HighLimited float64 + Low float64 + LowLimited float64 + Open float64 + Position float64 + PreClose float64 + PrePosition float64 + PreSettle float64 + Price float64 + SellVolume float64 + Settle float64 + Side int + Timestamp uint64 + TotalAmount float64 + TotalVolume float64 + Volume float64 + func TickItemFromProtoBytes(bytes []byte) (*TickItem, error) + func (this *TickItem) GetDate() string + func (this *TickItem) ToJsonBytes() ([]byte, error) + func (this *TickItem) ToProtoBytes() ([]byte, error)