跳转至

上市公司财务报表

StockBalanceMapping

字段映射 上市公司资产负债报表

StockBalance

StockBalance(
    security_code: Optional[str] = None,
    market: Optional[TypeMarket] = None,
    industry_name: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司资产负债报表

Notes
from wisecon.stock.financial import StockBalance

data = StockBalance(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
market Optional[TypeMarket]

市场: ["沪深A股", "沪市A股", "科创板", "深市A股", "创业板", "京市A股"]

None
industry_name Optional[str]

行业名称

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\balance.py
def __init__(
        self,
        security_code: Optional[str] = None,
        market: Optional[TypeMarket] = None,
        industry_name: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import StockBalance

        data = StockBalance(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        market: 市场: `["沪深A股", "沪市A股", "科创板", "深市A股", "创业板", "京市A股"]`
        industry_name: 行业名称
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.market = market
    self.industry_name = industry_name
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.mapping = StockBalanceMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司资产负债报表")

StockCashFlowMapping

字段映射 上市公司现金流量报表

StockCashFlow

StockCashFlow(
    security_code: Optional[str] = None,
    market: Optional[TypeMarket] = None,
    industry_name: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司现金流量报表

Notes
from wisecon.stock.financial import StockCashFlow

data = StockCashFlow(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
market Optional[TypeMarket]

市场: ["沪深A股", "沪市A股", "科创板", "深市A股", "创业板", "京市A股"]

None
industry_name Optional[str]

行业名称

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\cash.py
def __init__(
        self,
        security_code: Optional[str] = None,
        market: Optional[TypeMarket] = None,
        industry_name: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import StockCashFlow

        data = StockCashFlow(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        market: 市场: `["沪深A股", "沪市A股", "科创板", "深市A股", "创业板", "京市A股"]`
        industry_name: 行业名称
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.market = market
    self.industry_name = industry_name
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.mapping = StockCashFlowMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司现金流量报表")
    self.conditions = []

StockDividendMapping

字段映射 上市公司分红数据

StockDividend

StockDividend(
    security_code: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司分红数据

Notes
from wisecon.stock.financial import StockDividend

data = StockDividend(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\dividend.py
def __init__(
        self,
        security_code: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import StockDividend

        data = StockDividend(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.mapping = StockDividendMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司分红数据")

StockIncomeMapping

字段映射 上市公司利润报表

StockIncome

StockIncome(
    security_code: Optional[str] = None,
    market: Optional[TypeMarket] = None,
    industry_name: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司利润报表

Notes
from wisecon.stock.financial import StockIncome

data = StockIncome(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
market Optional[TypeMarket]

市场: ["沪深A股", "沪市A股", "科创板", "深市A股", "创业板", "京市A股"]

None
industry_name Optional[str]

行业名称

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\income.py
def __init__(
        self,
        security_code: Optional[str] = None,
        market: Optional[TypeMarket] = None,
        industry_name: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import StockIncome

        data = StockIncome(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        market: 市场: `["沪深A股", "沪市A股", "科创板", "深市A股", "创业板", "京市A股"]`
        industry_name: 行业名称
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.market = market
    self.industry_name = industry_name
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.mapping = StockIncomeMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司利润报表")
    self.conditions = []

EarnMapping

字段映射 上市公司业绩报表

Earn

Earn(
    security_code: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    industry_name: Optional[str] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司业绩报表

Notes
from wisecon.stock.financial import Earn

data = Earn(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
industry_name Optional[str]

行业名称

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\earn.py
def __init__(
        self,
        security_code: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        industry_name: Optional[str] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import Earn

        data = Earn(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        industry_name: 行业名称
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.industry_name = industry_name
    self.mapping = EarnMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司业绩报表")
    self.conditions = []

EarnFastMapping

字段映射 上市公司业绩报表

EarnFast

EarnFast(
    security_code: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    industry_name: Optional[str] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司业绩报表

Notes
from wisecon.stock.financial import EarnFast

data = EarnFast(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
industry_name Optional[str]

行业名称

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\earn_fast.py
def __init__(
        self,
        security_code: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        industry_name: Optional[str] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import EarnFast

        data = EarnFast(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        industry_name: 行业名称
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.industry_name = industry_name
    self.mapping = EarnFastMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司业绩报表")
    self.conditions = []

EarnForcastMapping

字段映射 上市公司业绩预告

EarnForcast

EarnForcast(
    security_code: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    forcast_state: Optional[
        Literal["reduction", "increase"]
    ] = None,
    predict_finance: Optional[
        Literal[
            "归母净利润",
            "扣非净利润",
            "每股收益",
            "营业总收入",
        ]
    ] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司业绩预告

Notes
from wisecon.stock.financial import EarnForcast

data = EarnForcast(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
forcast_state Optional[Literal['reduction', 'increase']]

预测状态 ["reduction", "increase"]

None
predict_finance Optional[Literal['归母净利润', '扣非净利润', '每股收益', '营业总收入']]

预测指标 ["归母净利润", "扣非净利润", "每股收益", "营业总收入"]

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\earn_forecast.py
def __init__(
        self,
        security_code: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        forcast_state: Optional[Literal["reduction", "increase"]] = None,
        predict_finance: Optional[Literal["归母净利润", "扣非净利润", "每股收益", "营业总收入"]] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import EarnForcast

        data = EarnForcast(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        forcast_state: 预测状态 `["reduction", "increase"]`
        predict_finance: 预测指标 `["归母净利润", "扣非净利润", "每股收益", "营业总收入"]`
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.forcast_state = forcast_state
    self.predict_finance = predict_finance
    self.mapping = EarnForcastMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司业绩预告")
    self.conditions = []

ScheduledDisclosureMapping

字段映射 上市公司预约披露时间

ScheduledDisclosure

ScheduledDisclosure(
    security_code: Optional[str] = None,
    size: Optional[int] = 50,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    date: Optional[str] = None,
    industry_name: Optional[str] = None,
    verbose: Optional[bool] = False,
    logger: Optional[Callable] = None,
    **kwargs: Any
)

查询 上市公司预约披露时间

Notes
from wisecon.stock.financial import ScheduledDisclosure

data = ScheduledDisclosure(date="2024-09-30", size=5).load()
data.to_frame(chinese_column=True)

Parameters:

Name Type Description Default
security_code Optional[str]

证券代码

None
industry_name Optional[str]

行业名称

None
size Optional[int]

数据条数据

50
start_date Optional[str]

开始日期

None
end_date Optional[str]

结束日期

None
date Optional[str]

指定日期

None
verbose Optional[bool]

是否打印日志

False
logger Optional[Callable]

日志对象

None
**kwargs Any

其他参数

{}
Source code in wisecon\stock\financial\scheduled.py
def __init__(
        self,
        security_code: Optional[str] = None,
        size: Optional[int] = 50,
        start_date: Optional[str] = None,
        end_date: Optional[str] = None,
        date: Optional[str] = None,
        industry_name: Optional[str] = None,
        verbose: Optional[bool] = False,
        logger: Optional[Callable] = None,
        **kwargs: Any
):
    """
    Notes:
        ```python
        from wisecon.stock.financial import ScheduledDisclosure

        data = ScheduledDisclosure(date="2024-09-30", size=5).load()
        data.to_frame(chinese_column=True)
        ```

    Args:
        security_code: 证券代码
        industry_name: 行业名称
        size: 数据条数据
        start_date: 开始日期
        end_date: 结束日期
        date: 指定日期
        verbose: 是否打印日志
        logger: 日志对象
        **kwargs: 其他参数
    """
    self.security_code = security_code
    self.size = size
    self.start_date = start_date
    self.end_date = end_date
    self.date = date
    self.industry_name = industry_name
    self.mapping = ScheduledDisclosureMapping()
    self.verbose = verbose
    self.logger = logger
    self.kwargs = kwargs
    self.request_set(response_type="json", description="上市公司预约披露时间")
    self.conditions = []