Skip to content

Commit 0f04624

Browse files
committed
Merge branch 'dev' into 'master'
Dev See merge request server/openapi/openapi-python-sdk!195
2 parents e2a1dba + 79323da commit 0f04624

9 files changed

Lines changed: 569 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.0.8 (2023-08-16)
2+
### New
3+
- 添加示例代码
4+
5+
16
## 3.0.7 (2023-08-11)
27
### New
38
- 新增基金相关接口

tigeropen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
55
@author: gaoan
66
"""
7-
__VERSION__ = '3.0.7'
7+
__VERSION__ = '3.0.8'

tigeropen/common/consts/fundamental_fields.py

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,3 +594,257 @@ class Profitability(Field):
594594
levered_free_cash_flow_margin = "levered_free_cash_flow_margin"
595595
unlevered_free_cash_flow_margin = "unlevered_free_cash_flow_margin"
596596
normalized_net_income_margin = "normalized_net_income_margin"
597+
598+
599+
@unique
600+
class Financial(Field):
601+
"""其他财报字段"""
602+
floatPercent = "float_percent"
603+
gainAssetsCfBnk = "gain_assets_cf_bnk"
604+
gainLoansRec = "gain_loans_rec"
605+
incEquityRecBnk = "inc_equity_rec_bnk"
606+
incRealEstateRec = "inc_real_estate_rec"
607+
apBnk = "ap_bnk"
608+
totalArUti = "total_ar_uti"
609+
arUti = "ar_uti"
610+
aeBnk = "ae_bnk"
611+
accrIntPay = "accr_int_pay"
612+
accrIntReceiv = "accr_int_receiv"
613+
acquisitionReAssets = "acquisition_re_assets"
614+
sharesPerDr = "shares_per_dr"
615+
allowBorrowConst = "allow_borrow_const"
616+
allowEquityConst = "allow_equity_const"
617+
allowLl = "allow_ll"
618+
allowance5YrAnnCagr = "allowance_5yr_ann_cagr"
619+
defPolicyAmort = "def_policy_amort"
620+
gwIntanAmortBnk = "gw_intan_amort_bnk"
621+
otherAmortBnk = "other_amort_bnk"
622+
gwIntanAmortCfBnk = "gw_intan_amort_cf_bnk"
623+
gwIntanAmortIns = "gw_intan_amort_ins"
624+
annuityPay = "annuity_pay"
625+
annuityRec = "annuity_rec"
626+
assetMgmtFee = "asset_mgmt_fee"
627+
assetWritedownBnk = "asset_writedown_bnk"
628+
doAssetsCurrent = "do_assets_current"
629+
doAssetsLt = "do_assets_lt"
630+
avgIntBearLiab5YrAnnCagr = "avg_int_bear_liab_5yr_ann_cagr"
631+
avgIntEarnAssets5YrAnnCagr = "avg_int_earn_assets_5yr_ann_cagr"
632+
brokCommission = "brok_commission"
633+
capexBnk = "capex_bnk"
634+
cashSegreg = "cash_segreg"
635+
changeApBnk = "change_ap_bnk"
636+
changeArBnk = "change_ar_bnk"
637+
changeInsResLiab = "change_ins_res_liab"
638+
changeOtherNetOperAssetsBnk = "change_other_net_oper_assets_bnk"
639+
accrIntPayCf = "accr_int_pay_cf"
640+
accrIntReceivCf = "accr_int_receiv_cf"
641+
commissFees = "commiss_fees"
642+
commonApicBnk = "common_apic_bnk"
643+
compBenefits = "comp_benefits"
644+
otherEquityBnk = "other_equity_bnk"
645+
nukeContr = "nuke_contr"
646+
costService = "cost_service"
647+
creditCardFeeBnk = "credit_card_fee_bnk"
648+
currencyGainIns = "currency_gain_ins"
649+
currentPortDebtBnk = "current_port_debt_bnk"
650+
currentPortBnk = "current_port_bnk"
651+
defChargesCf = "def_charges_cf"
652+
defChargesLtBnk = "def_charges_lt_bnk"
653+
defPolicyAcqCosts = "def_policy_acq_costs"
654+
defPolicyAcqCostsCf = "def_policy_acq_costs_cf"
655+
defTaxAssetsLtBnk = "def_tax_assets_lt_bnk"
656+
defTaxLiabLtBnk = "def_tax_liab_lt_bnk"
657+
depositsFin = "deposits_fin"
658+
daSupplIns = "da_suppl_ins"
659+
daIns = "da_ins"
660+
daSupplCfBnk = "da_suppl_cf_bnk"
661+
distrExcessEarn = "distr_excess_earn"
662+
ebtExclBnk = "ebt_excl_bnk"
663+
extraAccItemsBnk = "extra_acc_items_bnk"
664+
fdic = "fdic"
665+
fhlbDebt = "fhlb_debt"
666+
fuel = "fuel"
667+
gainAssetsRevBnk = "gain_assets_rev_bnk"
668+
gainAssetsBnk = "gain_assets_bnk"
669+
gainAssetsRevIns = "gain_assets_rev_ins"
670+
gainInvestRevBnk = "gain_invest_rev_bnk"
671+
gainInvestBnk = "gain_invest_bnk"
672+
gainInvestRevIns = "gain_invest_rev_ins"
673+
gainLoansReceiv = "gain_loans_receiv"
674+
gainLoansReceivRevFin = "gain_loans_receiv_rev_fin"
675+
gainLoansRev = "gain_loans_rev"
676+
grossLoans = "gross_loans"
677+
grossLoans5YrAnnCagr = "gross_loans_5yr_ann_cagr"
678+
incEquityRevBnk = "inc_equity_rev_bnk"
679+
incEquityIns = "inc_equity_ins"
680+
incRealEstateRev = "inc_real_estate_rev"
681+
incTradeAct = "inc_trade_act"
682+
instDeposits = "inst_deposits"
683+
insAnnuityLiab = "ins_annuity_liab"
684+
insSettleBnk = "ins_settle_bnk"
685+
intIncFin = "int_inc_fin"
686+
intIncUti = "int_inc_uti"
687+
intInvIncUti = "int_inv_inc_uti"
688+
intBearingDeposits = "int_bearing_deposits"
689+
intExpTotal = "int_exp_total"
690+
intExpIns = "int_exp_ins"
691+
intIncInvest = "int_inc_invest"
692+
intIncLoans = "int_inc_loans"
693+
mortIntInc = "mort_int_inc"
694+
intIncTotal = "int_inc_total"
695+
intDeposits = "int_deposits"
696+
inventoryUti = "inventory_uti"
697+
ltInvestRe = "lt_invest_re"
698+
investDebt = "invest_debt"
699+
investEquityPref = "invest_equity_pref"
700+
investFhlb = "invest_fhlb"
701+
investSecurityCfBnk = "invest_security_cf_bnk"
702+
investRealEstate = "invest_real_estate"
703+
investSecurity = "invest_security"
704+
commonIssuedBnk = "common_issued_bnk"
705+
prefIssuedBnk = "pref_issued_bnk"
706+
developLand = "develop_land"
707+
legalSettleBnk = "legal_settle_bnk"
708+
loanServiceRev = "loan_service_rev"
709+
loanLeaseReceiv = "loan_lease_receiv"
710+
loansReceivLtUti = "loans_receiv_lt_uti"
711+
ltDebtBnk = "lt_debt_bnk"
712+
ltInvestFin = "lt_invest_fin"
713+
ltInvestUti = "lt_invest_uti"
714+
mergerRestructureBnk = "merger_restructure_bnk"
715+
minorityInterestBnk = "minority_interest_bnk"
716+
mortSecurity = "mort_security"
717+
mortBankingFee = "mort_banking_fee"
718+
mortLoans = "mort_loans"
719+
changeDepositAcct = "change_deposit_acct"
720+
netInterestExpUti = "net_interest_exp_uti"
721+
netIntIncBnk = "net_int_inc_bnk"
722+
netIntIncFin = "net_int_inc_fin"
723+
netIntInc5YrAnnCagr = "net_int_inc_5yr_ann_cagr"
724+
netLoans = "net_loans"
725+
netLoans5YrAnnCagr = "net_loans_5yr_ann_cagr"
726+
nuke = "nuke"
727+
acquireRealEstateCf = "acquire_real_estate_cf"
728+
nonIntExp = "non_int_exp"
729+
nonIntInc5YrAnnCagr = "non_int_inc_5yr_ann_cagr"
730+
nonIntInc = "non_int_inc"
731+
nonOperExp = "non_oper_exp"
732+
nonOperInc = "non_oper_inc"
733+
nonPerfAssets5YrAnnCagr = "non_perf_assets_5yr_ann_cagr"
734+
nonPerfLoans5YrAnnCagr = "non_perf_loans_5yr_ann_cagr"
735+
nonInsExp = "non_ins_exp"
736+
nonInsRev = "non_ins_rev"
737+
nonIntBearingDeposits = "non_int_bearing_deposits"
738+
loansReceivCurrent = "loans_receiv_current"
739+
nukeCf = "nuke_cf"
740+
occupyExp = "occupy_exp"
741+
operIncUti = "oper_inc_uti"
742+
operIncIns = "oper_inc_ins"
743+
operationsExp = "operations_exp"
744+
otherAdjustGrossLoans = "other_adjust_gross_loans"
745+
otherAssetsBnk = "other_assets_bnk"
746+
otherCaUti = "other_ca_uti"
747+
otherCaSupplBnk = "other_ca_suppl_bnk"
748+
otherClSupplBnk = "other_cl_suppl_bnk"
749+
otherClSupplIns = "other_cl_suppl_ins"
750+
otherClUti = "other_cl_uti"
751+
otherFinanceActBnk = "other_finance_act_bnk"
752+
otherFinanceActSupplBnk = "other_finance_act_suppl_bnk"
753+
otherIntanBnk = "other_intan_bnk"
754+
otherInvestActBnk = "other_invest_act_bnk"
755+
otherInvestActSupplBnk = "other_invest_act_suppl_bnk"
756+
otherLiabBnk = "other_liab_bnk"
757+
otherLtAssetsBnk = "other_lt_assets_bnk"
758+
otherLiabLtBnk = "other_liab_lt_bnk"
759+
otherLiabLtUti = "other_liab_lt_uti"
760+
otherNonIntExpTotal = "other_non_int_exp_total"
761+
otherNonOperExpIns = "other_non_oper_exp_ins"
762+
otherNonOperExpSupplIns = "other_non_oper_exp_suppl_ins"
763+
otherOperActBnk = "other_oper_act_bnk"
764+
otherOperTotBnk = "other_oper_tot_bnk"
765+
otherOperSupplIns = "other_oper_suppl_ins"
766+
otherOperIns = "other_oper_ins"
767+
otherRealEstate = "other_real_estate"
768+
otherReceivIns = "other_receiv_ins"
769+
otherRevIns = "other_rev_ins"
770+
otherRevSupplIns = "other_rev_suppl_ins"
771+
otherUnusualSupplBnk = "other_unusual_suppl_bnk"
772+
otherUnusualBnk = "other_unusual_bnk"
773+
policyCost = "policy_cost"
774+
policyBenefits = "policy_benefits"
775+
policyLoans = "policy_loans"
776+
prefOtherBnk = "pref_other_bnk"
777+
premiumsAnnuityRev = "premiums_annuity_rev"
778+
propertyExp = "property_exp"
779+
propertyMgmtFee = "property_mgmt_fee"
780+
ll = "ll"
781+
pll = "pll"
782+
provision5YrAnnCagr = "provision_5yr_ann_cagr"
783+
saleIntanCfBnk = "sale_intan_cf_bnk"
784+
realEstate = "real_estate"
785+
regAssets = "reg_assets"
786+
reinsurance = "reinsurance"
787+
reinsurPay = "reinsur_pay"
788+
reinsurPayCf = "reinsur_pay_cf"
789+
reinsurRecoverCf = "reinsur_recover_cf"
790+
reinsurRecover = "reinsur_recover"
791+
rentalRev = "rental_rev"
792+
commonRepBnk = "common_rep_bnk"
793+
prefRepBnk = "pref_rep_bnk"
794+
restructureCf = "restructure_cf"
795+
restructureBnk = "restructure_bnk"
796+
revUti = "rev_uti"
797+
revBeforeLl = "rev_before_ll"
798+
salary = "salary"
799+
saleRealEstateCfBnk = "sale_real_estate_cf_bnk"
800+
securReceiv = "secur_receiv"
801+
saleReAssets = "sale_re_assets"
802+
securityBorrow = "security_borrow"
803+
securityOwn = "security_own"
804+
secPurchasedResell = "sec_purchased_resell"
805+
sgaBnk = "sga_bnk"
806+
separateAcctAssets = "separate_acct_assets"
807+
separateAcctLiab = "separate_acct_liab"
808+
servChargeDeposits = "serv_charge_deposits"
809+
sva = "sva"
810+
stInvestUti = "st_invest_uti"
811+
stDebtBnk = "st_debt_bnk"
812+
tenant = "tenant"
813+
assetWritedownCfBnk = "asset_writedown_cf_bnk"
814+
totalDebtIssuedBnk = "total_debt_issued_bnk"
815+
totalDebtRepaidBnk = "total_debt_repaid_bnk"
816+
totalDeposits = "total_deposits"
817+
totalDeposits5YrAnnCagr = "total_deposits_5yr_ann_cagr"
818+
daCfBnk = "da_cf_bnk"
819+
totalEquity5YrAnnCagr = "total_equity_5yr_ann_cagr"
820+
intDivInc = "int_div_inc"
821+
intBorrow = "int_borrow"
822+
totalInvest = "total_invest"
823+
totalLiabBnk = "total_liab_bnk"
824+
mergerBnk = "merger_bnk"
825+
mortBankAct = "mort_bank_act"
826+
totalOperExpIns = "total_oper_exp_ins"
827+
otherInvest = "other_invest"
828+
otherNonIntExp = "other_non_int_exp"
829+
otherNonIntInc = "other_non_int_inc"
830+
realEstateAssets = "real_estate_assets"
831+
totalRevBnk = "total_rev_bnk"
832+
totalRevIns = "total_rev_ins"
833+
tradePrincipal = "trade_principal"
834+
treasuryOtherEquityBnk = "treasury_other_equity_bnk"
835+
trustInc = "trust_inc"
836+
trustPref = "trust_pref"
837+
invBankingFee = "inv_banking_fee"
838+
unearnPremium = "unearn_premium"
839+
unearnRevCurrentBnk = "unearn_rev_current_bnk"
840+
unpaidClaims = "unpaid_claims"
841+
creditCardFee = "credit_card_fee"
842+
longTermDebtIssued = "long_term_debt_issued"
843+
longTermDebtRepaid = "long_term_debt_repaid"
844+
netDecreaseLoansOriginated = "net_decrease_loan_originated"
845+
sellPPE = "sell_ppe"
846+
shortTermDebtIssuedCollected = "short_term_debt_issued_collected"
847+
shortTermDebtRepaidCollected = "short_term_debt_repaid_collected"
848+
shortTermBorrowings = "short_term_borrowings"
849+
customReturnOnAssets = "custom_return_on_assets"
850+

tigeropen/common/consts/service_types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@
100100
FINANCIAL_DAILY = 'financial_daily'
101101
FINANCIAL_REPORT = 'financial_report'
102102
CORPORATE_ACTION = 'corporate_action'
103+
# 换汇
104+
FINANCIAL_CURRENCY = "financial_currency"
105+
FINANCIAL_EXCHANGE_RATE = "financial_exchange_rate"
103106

104107
# 行业数据
105108
INDUSTRY_LIST = 'industry_list'

0 commit comments

Comments
 (0)