Skip to main content
GET
/
api
/
aitaquote
/
quote
/
trading_days
获取市场交易日
curl --request GET \
  --url https://fcontext.com/api/aitaquote/quote/trading_days \
  --header 'x-api-key: <api-key>'
{
  "quote": {
    "tradingDays": [
      "2023-12-25"
    ],
    "halfTradingDays": [
      "2023-12-25"
    ]
  }
}

Authorizations

x-api-key
string
header
required

Financial Context key generated from account settings. Send it as x-api-key: <key>.

Query Parameters

market
string
required

市场代码。支持 USHKCN/SH/SZSG,也兼容 SDK 数字枚举。

start
string<date>

起始日期 YYYY-MM-DD。未提供时默认当前日期前 5 天。

end
string<date>

结束日期 YYYY-MM-DD。未提供时默认当前日期后 5 天。

Response

交易日信息

quote
object