Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Price ¶
type Price struct { Open string `bson:"open,omitempty"` High string `bson:"high,omitempty"` Low string `bson:"low,omitempty"` Close string `bson:"close,omitempty"` }
Price is stock price
type StockInfo ¶
type StockInfo struct { ID string `bson:"stock_id"` DailyKD STOCH `bson:"daily_kd,omitempty"` WeeklyKD STOCH `bson:"weekly_kd,omitempty"` MonthlyKD STOCH `bson:"monthly_kd,omitempty"` DailyPrice Price `bson:"daily_price,omitempty"` LastUpdate time.Time `bson:"last_update,omitempty"` }
StockInfo stored stock price
Click to show internal directories.
Click to hide internal directories.