|
|
|
@ -13,7 +13,7 @@ class CacheTask(Base):
|
|
|
|
|
|
|
|
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
|
|
task_name = Column(String(200), nullable=False)
|
|
|
|
task_name = Column(String(200), nullable=False)
|
|
|
|
task_type = Column(String(50), nullable=False) # detect_missing, cache_data, sync_data
|
|
|
|
task_type = Column(String(50), nullable=False) # detect_missing, detect_all_missing, cache_data, cache_all_data, sync_data, fill_missing_data, batch_fill_date
|
|
|
|
security_type = Column(String(20), nullable=False) # stock, future, index
|
|
|
|
security_type = Column(String(20), nullable=False) # stock, future, index
|
|
|
|
period_type = Column(String(10)) # daily, min1, min5, etc.
|
|
|
|
period_type = Column(String(10)) # daily, min1, min5, etc.
|
|
|
|
start_date = Column(Date, nullable=False)
|
|
|
|
start_date = Column(Date, nullable=False)
|
|
|
|
|