6 3 Example: Macro Economic Indicator (China)
TerenceLau edited this page 2021-07-08 09:40:22 +08:00

The module macroecon provides multiple API of getting macroeconomic indicator:

from CEDA.macroecon import cn
gdp_quarterly = cn.gdp_quarterly() # China's gdp (quarterly)
ppi_monthly = cn.ppi_monthly() # China's ppi (monthly)
cpi_monthly = cn.cpi_monthly() # China's cpi (monthly)
pmi_monthly = cn.pmi_monthly() # China's pmi (monthly)
fai_monthly = cn.fai_monthly() # China fix asset investment (monthly)
hi_old_monthly = cn.hi_old_monthly() # China house index old version (2008-2010)
hi_new_monthly = cn.hi_new_monthly("广州","深圳") # China house index new version (newly built commercial housing &  second-hand commercial housing) (monthly)
ci_eei_monthly = cn.ci_eei_monthly()  # China Macroeconomic Climate Index & Entrepreneur Expectation Index (monthly)
ig_monthly = cn.ig_monthly()  # China's Industry Growth (monthly)
cgpi_monthly = cn.cgpi_monthly()  # China Corporate Goods Price Index (monthly)
cci_csi_cei_monthly = cn.cci_csi_cei_monthly()  # China Consumer Confidence Index & Consumer Satisfaction Index & Consumer Expectation Index (monthly)
trscg_monthly = cn.trscg_monthly() # China Total Retail Sales of Consumer Goods (monthly)
ms_monthly = cn. ms_monthly()  # China Monetary Supply (monthly)
ie_monthly = cn.ie_monthly()  # China Import & Export (monthly)
stock_monthly = cn.stock_monthly()  # China (SH & SZ) Stock Trading Statistics (monthly)
fgr_monthly = cn.fgr_monthly()  # China Forex and Gold Reserve (monthly)
ctsf_monthly = cn.ctsf_monthly()  # China Client Transaction Settlement Funds (monthly)
sao_monthly = cn.sao_monthly() # China (SH & SZ) Stock Account Overview (monthly)
fdi_monthly = cn.fdi_monthly()  # China Foreign Direct Investment (monthly)
gr_monthly = cn.gr_monthly()  # China Government Revenue (monthly)
ti_monthly = cn.ti_monthly()  # China Tax Income (monthly)
nl_monthly = cn.nl_monthly()  # China New Loan (monthly)
dfclc_monthly = cn.dfclc_monthly()  # China Deposit of Foreign Currency and Local Currency (monthly)
fl_monthly = cn.fl_monthly()  # China Forex Loan (monthly)
drr_monthly = cn.drr_monthly()  # China Deposit Reserve Ratio (monthly)
interest_monthly = cn.interest_monthly()  # China Interest (monthly)
gdc_daily = cn.gdc_daily()  # China gasoline, Diesel and Crude Oil
cn_epu_monthly = cn.CN_EPU_Monthly() # Mainland China Economic Policy Uncertainty (monthly)
cn_epu_daily = cn.CN_EPU_Daily() # Mainland China Economic Policy Uncertainty (daily)
cn_policy_specific_epu = cn.Policy_Specific_EPU() # Mainland China Policy Specific EPU
hk_epu = cn.CN_Hongkong_EPU() # CN Hongkong Economic Policy Uncertainty (monthly)
macau_epu = cn.CN_Macau_EPU() # CN Macau Economic Policy Uncertainty (monthly)