Skip to content
Sign up

Watchlist and alerts

Reorder the watchlist

Put your watchlist in a new order.

PUT/api/v1/watchlistGet a key
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
}

Instruments you leave out keep their order after the ones you name, and symbols that aren't on the list are passed over.

Bodyapplication/json

  • symbolsstring[]required

    The symbols in their new order.

Response

  • symbolsstring[]

    The instruments you follow, in your order.

  • limitinteger

    How many it can hold.