Tushare Fx Obasic

1积分/次
ae_tushare_fx_obasic

查看支持的境外外汇交易品种的基本信息和代码,目前仅限 FXCM 数据。

效率工具
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
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": {}
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
fieldsarray否指定返回字段,不传则返回默认字段。 默认字段: ts_code, name, classify, exchange, min_unit, max_unit, pip, pip_cost, traget_spread, min_stop_distance, trading_hours, break_time 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestring否TS代码—
classifystring否分类—
exchangestring否交易商—