Vai al contenuto
Registrati

Watchlist e avvisi

Riordina la watchlist

Dai un nuovo ordine alla tua watchlist.

PUT/api/v1/watchlistOttieni una chiave
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
}

Gli strumenti che non indichi mantengono il loro ordine dopo quelli che nomini, e i simboli che non sono nella lista vengono ignorati.

Bodyapplication/json

  • symbolsstring[]obbligatorio

    I simboli nel nuovo ordine.

Risposta

  • symbolsstring[]

    Gli strumenti che segui, nel tuo ordine.

  • limitinteger

    Quanti strumenti può contenere.