跳到正文
注册

自选与提醒

调整自选顺序

为你的自选重新排序。

PUT/api/v1/watchlist获取密钥
curl --request PUT \
  --url "https://reirex.com/api/v1/watchlist" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE" \
  --header "Content-Type: application/json" \
  --data '{"symbols":["ETH","BTC","XAU"]}'

200 OKapplication/json

{
  "symbols": ["ETH", "BTC", "XAU", "EURUSD"],
  "limit": 100
}

未列出的品种保持原有顺序,排在你列出的品种之后;不在列表中的代码会被忽略。

请求体application/json

  • symbolsstring[]必填

    按新顺序排列的代码。

响应

  • symbolsstring[]

    你关注的品种,按你的顺序排列。

  • limitinteger

    最多可容纳的品种数量。