宏观经济(Editing)
AssetInvestMapping
¶
AssetInvest
¶
AssetInvest(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\asset_invest.py
BoomIndexMapping
¶
BoomIndex
¶
BoomIndex(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\boom_index.py
CPIMapping
¶
CPI
¶
CPI(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\cpi.py
CurrencySupplyMapping
¶
字段映射 货币供应量
CurrencySupply
¶
CurrencySupply(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
查询 中国货币供应量
Notes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
size
|
Optional[int]
|
最大数据量 |
20
|
verbose
|
Optional[bool]
|
是否打印日志 |
False
|
logger
|
Optional[Callable]
|
自定义日志 |
None
|
**kwargs
|
Any
|
其他参数 |
{}
|
Source code in wisecon\macro\currency_supply.py
CustomsMapping
¶
Customs
¶
Customs(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\customs.py
DepositRateMapping
¶
DepositRate
¶
DepositRate(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\deposit_rate.py
GDPMapping
¶
字段映射 GDP
GDP
¶
GDP(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
查询 GDP(中国)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
size
|
Optional[int]
|
最大数据量 |
20
|
verbose
|
Optional[bool]
|
是否打印日志 |
False
|
logger
|
Optional[Callable]
|
自定义日志 |
None
|
**kwargs
|
Any
|
其他参数 |
{}
|
Examples:
>>> from wisecon.macro import GDP
>>> data = GDP(size=20).load()
>>> data.to_frame(chinese_column=True)
Source code in wisecon\macro\gdp.py
GovIncomeMapping
¶
GovIncome
¶
GovIncome(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\gov_income.py
HoseIndexOldMapping
¶
HoseIndexOld
¶
HoseIndexOld(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\hose_index.py
HoseIndexNewMapping
¶
HoseIndexNew
¶
HoseIndexNew(
cities: Optional[List[str]] = ["北京", "上海"],
report_date: Optional[str] = None,
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
:param query_config: :param cities: 城市 :param size: 数据量 :param report_date: 日期 :param verbose: :param logger: :param kwargs:
Source code in wisecon\macro\hose_index.py
ImpInterestMapping
¶
ImpInterest
¶
ImpInterest(
size: Optional[int] = 20,
market: Literal[
"上海", "中国", "伦敦", "欧洲", "香港", "新加坡"
] = "上海",
currency_code: Literal[
"CNY", "HKD", "USD", "GBP", "JPY", "EUR", "SGD"
] = "CNY",
indicator: Literal[
"1d", "1w", "2w", "1m", "3m", "6m", "9m", "1y"
] = "1d",
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
:param size: :param currency_code: 币种 ["CNY", "HKD", "USD", "GBP", "JPY", "EUR", "SGD"] :param market: 市场 {"上海": "001", "中国": "002", "伦敦": "003", "欧洲": "004", "香港": "005", "新加坡": "006"} :param indicator: 指标周期 { "1d": "001", "1w": "101", "2w": "102", "1m": "201", "2m": "202", "3m": "203", "4m": "204", "5m": "205", "6m": "206", "7m": "207", "8m": "208", "9m": "209", "10m": "210", "11m": "211", "1y": "301", } :param query_config: :param verbose: :param logger: :param kwargs:
Source code in wisecon\macro\imp_intrestraten.py
IndusGrowMapping
¶
IndusGrow
¶
IndusGrow(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\indus_grow.py
LPRMapping
¶
LPR
¶
LPR(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\lpr.py
PMIMapping
¶
PMI
¶
PMI(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
采购经理人指数(PMI)
Source code in wisecon\macro\pmi.py
PPIMapping
¶
PPI
¶
PPI(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
中国 工业品出厂价格指数(PPI)
Source code in wisecon\macro\ppi.py
StockOpenMapping
¶
StockOpen
¶
StockOpen(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\stock_open.py
TotalRetailMapping
¶
TotalRetail
¶
TotalRetail(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)
Source code in wisecon\macro\total_retail.py
TransferFundMapping
¶
TransferFund
¶
TransferFund(
size: Optional[int] = 20,
verbose: Optional[bool] = False,
logger: Optional[Callable] = None,
**kwargs: Any
)