1
0

feat: 增加策略模块专门处理策略研究

This commit is contained in:
2025-09-07 21:27:26 +08:00
parent 769bd4a90b
commit 7a70c037f9
12 changed files with 368 additions and 28 deletions

View File

@@ -110,3 +110,96 @@ Content-Type: application/json
"adj_factor"
]
}
### Get daily factor
POST {{api_url}}
Content-Type: application/json
{
"api_name": "stk_factor_pro",
"token": "{{api_key}}",
"params": {
"ts_code": "000001.SZ",
"trade_date": "20250225"
},
"fields": [
"ts_code",
"trade_date",
"close",
"close_qfq",
"close_hfq",
"ema_hfq_5"
]
}
### Get income
POST {{api_url}}
Content-Type: application/json
{
"api_name": "income",
"token": "{{api_key}}",
"params": {
"ts_code": "000001.SZ",
"period": "20241231"
},
"fields": [
"ts_code",
"ann_date",
"total_revenue",
"int_income"
]
}
### Get cashflow
POST {{api_url}}
Content-Type: application/json
{
"api_name": "cashflow",
"token": "{{api_key}}",
"params": {
"ts_code": "000002.SZ",
"period": "20231231"
},
"fields": [
"ann_date",
"n_cashflow_act"
]
}
### Get balancesheet
POST {{api_url}}
Content-Type: application/json
{
"api_name": "balancesheet",
"token": "{{api_key}}",
"params": {
"ts_code": "000002.SZ",
"period": "20231231"
},
"fields": [
"ann_date",
"total_cur_liab",
"oth_cur_liab"
]
}
### Get fina_indicator
POST {{api_url}}
Content-Type: application/json
{
"api_name": "fina_indicator",
"token": "{{api_key}}",
"params": {
"ts_code": "000002.SZ",
"period": "20231231"
},
"fields": [
"ann_date",
"ocf_to_shortdebt",
"currentdebt_to_debt"
]
}