Vai al contenuto
Registrati

Watchlist e avvisi

Aggiungi alla watchlist

Segui uno strumento. Si aggiunge in fondo alla tua lista.

POST/api/v1/watchlistOttieni una chiave
curl --request POST \
  --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 '{"symbol":"ASML"}'

201 Createdapplication/json

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

Aggiungere ciò che c'è già non cambia nulla. Una lista contiene fino a 100 strumenti.

Bodyapplication/json

  • symbolstringobbligatorio

    Lo strumento, come ASML o XAU.

Risposta

  • symbolsstring[]

    Gli strumenti che segui, nel tuo ordine.

  • limitinteger

    Quanti strumenti può contenere.