ipad.stock module
数据库表结构
- class ipad.stock.stock_in_day(**kwargs)
-
- stock_name
- candle_end_time
- open
- high
- low
- close
- preclose
- volume
- amount
- nmc
- mktcap
- industry_level1
- industry_level2
- industry_level3
- hushen300
- shangzheng50
- zhongzheng500
- zhongzheng1000
- kechuang50
- stock_code
- turnover_ratio
- per
- pb
- industry_code
- class ipad.stock.index_in_day(**kwargs)
-
- index_code
- index_name
- candle_end_time
- open
- high
- low
- close
- preclose
- volume
- amount
- nmc
- mktcap
- turnover_ratio
- count
- up_rate
- ipad.stock.get_pending_stock_id(df)
取得 df 中存在,但数据库 stock_id 中不存在的股票代码
- 参数:
df (DataFrame) –
- 返回类型:
DataFrame
- class ipad.stock.Base(**kwargs)
基类:
objectThe base class of the class hierarchy.
When called, it accepts no arguments and returns a new featureless instance that has no instance attributes and cannot be given any.
- 参数:
kwargs (Any) –
- metadata: MetaData = MetaData()
- registry: registry = <sqlalchemy.orm.decl_api.registry object>