Tushare Fx Daily

1 credits/call
ae_tushare_fx_daily

View historical daily prices and trading dates for supported foreign-exchange instruments.

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, bid_open, bid_close, bid_high, bid_low, ask_open, ask_close, ask_high, ask_low, tick_qty 额外可选字段: exchange: 交易商—
ts_codestringNoTS代码—
end_datestringNo结束日期(GMT)—
exchangestringNo交易商,目前只有FXCM—
start_datestringNo开始日期(GMT)—
trade_datestringNo交易日期(GMT,日期是格林尼治时间,比北京时间晚一天)—

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_fx_daily' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "end_date": "20261023",
    "start_date": "20260919",
    "ts_code": "USDJPY.FXCM"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "ask_close": 156.856,
    "ask_high": 157.167,
    "ask_low": 156.084,
    "ask_open": 156.786,
    "bid_close": 156.843,
    "bid_high": 157.154
  }
]

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