Skip to main content
GET
/
api
/
aitaquote
/
market
/
trading_session
获取交易时段
curl --request GET \
  --url https://fcontext.com/api/aitaquote/market/trading_session \
  --header 'x-api-key: <api-key>'
{
  "sessions": [
    {
      "market": 123,
      "tradeSessions": [
        {
          "begTime": "<string>",
          "endTime": "<string>",
          "tradeSession": 123
        }
      ]
    }
  ]
}

Authorizations

x-api-key
string
header
required

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

Response

交易时段

sessions
object[]