Tushare Fx Obasic

1 credits/call
ae_tushare_fx_obasic

View basic information and codes for supported overseas foreign-exchange instruments, currently limited to FXCM data.

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, name, classify, exchange, min_unit, max_unit, pip, pip_cost, traget_spread, min_stop_distance, trading_hours, break_time 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringNoTS代码—
classifystringNo分类—
exchangestringNo交易商—

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_obasic' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "exchange": "FXCM",
    "fields": [
      "ts_code",
      "name",
      "classify"
    ]
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "classify": "FX",
    "name": "澳元加元",
    "ts_code": "AUDCAD.FXCM"
  }
]

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