feat(all): 初始化版本
This commit is contained in:
47
leopard-server/src/test/resources/tushare.http
Normal file
47
leopard-server/src/test/resources/tushare.http
Normal file
@@ -0,0 +1,47 @@
|
||||
@api_url = http://api.tushare.pro
|
||||
@api_key = 64ebff4fa679167600b905ee45dd88e76f3963c0ff39157f3f085f0e
|
||||
|
||||
### Get Stock List
|
||||
POST {{api_url}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"api_name": "stock_basic",
|
||||
"token": "{{api_key}}",
|
||||
"params": {
|
||||
"list_status": "D,P,L"
|
||||
},
|
||||
"fields": [
|
||||
"ts_code",
|
||||
"name",
|
||||
"fullname",
|
||||
"exchange",
|
||||
"industry"
|
||||
]
|
||||
}
|
||||
|
||||
### Get income list
|
||||
POST {{api_url}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"api_name": "income",
|
||||
"token": "{{api_key}}",
|
||||
"params": {
|
||||
"ts_code": "600000.SH"
|
||||
},
|
||||
"fields": [
|
||||
"ts_code",
|
||||
"ann_date",
|
||||
"fiscal_year",
|
||||
"report_type",
|
||||
"net_profit",
|
||||
"total_revenue",
|
||||
"total_cost",
|
||||
"gross_profit",
|
||||
"operating_profit",
|
||||
"net_profit_before_tax",
|
||||
"net_profit_to_parent",
|
||||
"total_revenue_to_parent"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user