Tushare Sw Daily

1 credits/call
ae_tushare_sw_daily

Query Shenwan industry-index daily market data and available PE, PB and market-capitalization fields. Keep valuation and market data aligned to the same date; these are index-level values rather than company financial statements.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
fieldsarrayNo指定返回字段,不传则返回默认字段。 默认字段: ts_code, trade_date, name, open, low, high, close, change, pct_change, vol, amount, pe, pb, float_mv, total_mv 额外可选字段: weight: 权重—
ts_codestringNo行业代码;使用对应证券或合约的完整代码,保留后缀及前导零。—
end_datestringNo结束日期;日期格式YYYYMMDD,必须为8位数字字符串。—
start_datestringNo开始日期;日期格式YYYYMMDD,必须为8位数字字符串。—
trade_datestringNo交易日期;日期格式YYYYMMDD,必须为8位数字字符串。—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_sw_daily' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "trade_date": "20250724",
    "ts_code": "801010.SI"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "amount": 2562807.0,
    "change": 3.72,
    "close": 2860.7,
    "float_mv": 63675555.0,
    "high": 2860.7,
    "name": "农林牧渔"
  }
]

This example shows part of the response. Copied content is valid JSON.