mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 20:08:26 +08:00
StockWeight支持从数据库获取最新数据(continue)
This commit is contained in:
parent
fc20ba4c3f
commit
5d8794e529
@ -58,6 +58,7 @@ Stock::Data::Data()
|
||||
m_valid(default_valid),
|
||||
m_startDate(default_startDate),
|
||||
m_lastDate(default_lastDate),
|
||||
m_lastUpdateWeight(Datetime::min()),
|
||||
m_tick(default_tick),
|
||||
m_tickValue(default_tickValue),
|
||||
m_unit(default_unit),
|
||||
@ -75,6 +76,7 @@ Stock::Data::Data(const string& market, const string& code, const string& name,
|
||||
m_valid(valid),
|
||||
m_startDate(startDate),
|
||||
m_lastDate(lastDate),
|
||||
m_lastUpdateWeight(Datetime::min()),
|
||||
m_tick(tick),
|
||||
m_tickValue(tickValue),
|
||||
m_precision(precision),
|
||||
|
@ -222,6 +222,7 @@ struct HKU_API Stock::Data {
|
||||
Datetime m_lastDate; //证券最后日期
|
||||
|
||||
StockWeightList m_weightList; //权息信息列表
|
||||
Datetime m_lastUpdateWeight; //上次更新权息列表缓存的时刻
|
||||
|
||||
price_t m_tick;
|
||||
price_t m_tickValue;
|
||||
|
Loading…
Reference in New Issue
Block a user