主力持仓
FundHolderListMapping
¶
字段映射 基金持仓数据
FundHolderList
¶
FundHolderList(
holder_code: Optional[str] = None,
date: Optional[str] = None,
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
查询 依据基金代码查询基金持仓数据
Notes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
holder_code
|
Optional[str]
|
|
None
|
date
|
Optional[str]
|
报告日期 |
None
|
size
|
Optional[int]
|
数据条数 |
20
|
verbose
|
Optional[bool]
|
是否打印日志 |
False
|
logger
|
Optional[Callable]
|
日志记录器 |
None
|
**kwargs
|
Any
|
其他参数 |
{}
|
Source code in wisecon\stock\main_holder\fund_holder.py
MainHolderMapping
¶
字段映射 机构持股一览表
MainHolder
¶
MainHolder(
holder: Optional[
Literal[
"基金", "QFII", "社保", "券商", "保险", "信托"
]
] = None,
status: Optional[
Literal["全部", "增持", "减持"]
] = "全部",
date: Optional[str] = None,
size: Optional[int] = 50,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
查询 机构持股一览表
Notes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
holder
|
Optional[Literal['基金', 'QFII', '社保', '券商', '保险', '信托']]
|
机构类型 |
None
|
status
|
Optional[Literal['全部', '增持', '减持']]
|
持股变动情况 |
'全部'
|
date
|
Optional[str]
|
查询日期 |
None
|
size
|
Optional[int]
|
数据条数 |
50
|
verbose
|
Optional[bool]
|
是否打印日志 |
False
|
logger
|
Optional[Callable]
|
日志记录器 |
None
|
**kwargs
|
Any
|
其他参数 |
{}
|
Source code in wisecon\stock\main_holder\main_holder.py
StockHolderMapping
¶
字段映射 股票的机构持有者清单
StockHolder
¶
StockHolder(
security_code: Optional[str] = None,
holder: Optional[
Literal[
"基金", "QFII", "社保", "券商", "保险", "信托"
]
] = None,
date: Optional[str] = None,
size: Optional[int] = 50,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
查询 股票的机构持有者清单
Notes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
security_code
|
Optional[str]
|
股票代码 |
None
|
holder
|
Optional[Literal['基金', 'QFII', '社保', '券商', '保险', '信托']]
|
机构类型 |
None
|
date
|
Optional[str]
|
查询日期 |
None
|
size
|
Optional[int]
|
数据条数 |
50
|
verbose
|
Optional[bool]
|
是否打印日志 |
False
|
logger
|
Optional[Callable]
|
日志记录器 |
None
|
**kwargs
|
Any
|
其他参数 |
{}
|
Source code in wisecon\stock\main_holder\stock_holder.py
StockHolderCollectMapping
¶
字段映射 依据股票代码查询股票基金机构对该股票的汇总信息
StockHolderCollect
¶
StockHolderCollect(
security_code: Optional[str] = None,
date: Optional[str] = None,
size: Optional[int] = 8,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
查询 依据股票代码查询股票基金机构对该股票的汇总信息
Notes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
security_code
|
Optional[str]
|
股票代码 |
None
|
date
|
Optional[str]
|
报告日期 |
None
|
size
|
Optional[int]
|
数据条数 |
8
|
verbose
|
Optional[bool]
|
是否打印日志 |
False
|
logger
|
Optional[Callable]
|
日志记录器 |
None
|
**kwargs
|
Any
|
其他参数 |
{}
|
Source code in wisecon\stock\main_holder\stock_holder_collect.py
StockFundHolderHistoryMapping
¶
字段映射 依据股票代码查询股票基金机构对该股票的持仓历史
StockFundHolderHistory
¶
StockFundHolderHistory(
security_code: Optional[str] = None,
start_date: Optional[str] = "2015-09-30",
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
查询 依据股票代码查询股票基金机构对该股票的持仓历史
Notes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
security_code
|
Optional[str]
|
股票代码 |
None
|
start_date
|
Optional[str]
|
报告日期 |
'2015-09-30'
|
size
|
Optional[int]
|
数据条数 |
20
|
verbose
|
Optional[bool]
|
是否打印日志 |
False
|
logger
|
Optional[Callable]
|
日志记录器 |
None
|
**kwargs
|
Any
|
其他参数 |
{}
|