Documentation
¶
Overview ¶
Package Cache comment This file war generated by tars2go 1.1 Generated from cache.tars
Index ¶
- Variables
- type DayKLine
- func (st *DayKLine) Init(_writer *csv.Writer) error
- func (st *DayKLine) ReadCsvRow(record []string) error
- func (st *DayKLine) ReadFromCsv(reader *csv.Reader) ([]DayKLine, error)
- func (st *DayKLine) ReadMapFromCsv(reader *csv.Reader) (*treemap.Map, error)
- func (st *DayKLine) WriteCSV(_writer *csv.Writer) error
- type StockInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var File_stock_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DayKLine ¶
type DayKLine struct {
Date string `json:"date" csv:"date" array:"0"`
Open float64 `json:"open" csv:"open" array:"1"`
High float64 `json:"high" csv:"high" array:"2"`
Low float64 `json:"low" csv:"low" array:"3"`
Close float64 `json:"close" csv:"close" array:"4"`
Volume int64 `json:"volume" csv:"volume" array:"5"`
}
DayKLine struct implement
func (*DayKLine) ReadFromCsv ¶
func (*DayKLine) ReadMapFromCsv ¶
type StockInfo ¶
type StockInfo struct {
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // 股票代码
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 股票名称
// contains filtered or unexported fields
}
func (*StockInfo) Descriptor
deprecated
func (*StockInfo) ProtoMessage ¶
func (*StockInfo) ProtoMessage()
func (*StockInfo) ProtoReflect ¶
func (x *StockInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.