Tushare Fut Mapping

1 credits/call
ae_tushare_fut_mapping

Find which specific monthly contract a futures continuous contract corresponds to on different dates.

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, mapping_ts_code 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringNo合约代码—
end_datestringNo结束日期—
start_datestringNo开始日期—
trade_datestringNo交易日期(YYYYMMDD格式,下同)—

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_fut_mapping' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "trade_date": "20261111",
    "ts_code": "C.DCE"
  }
}'
Response exampleresponse.json
JSON
[
  {
    "mapping_ts_code": "C2701.DCE",
    "trade_date": "20261111",
    "ts_code": "C.DCE"
  }
]