Tushare Sge Basic

1 credits/call
ae_tushare_sge_basic

Query Shanghai Gold Exchange spot-contract reference data and trading rules, including available trading units, tick sizes, margins and trading hours. This is not futures-contract metadata or a spot-price feed.

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, ts_name, trade_type, t_unit, p_unit, min_change, price_limit, min_vol, max_vol, trade_mode, margin_rate, liq_rate, trade_time, list_date 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringNo合约代码;使用对应证券或合约的完整代码,保留后缀及前导零。—

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_sge_basic' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "liq_rate": null,
    "list_date": "20061030",
    "margin_rate": null,
    "max_vol": 500,
    "min_change": 0.01,
    "min_vol": 1
  }
]

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