Skip to content

trader.quotes ​

1 method on trader.quotes. Each returns the answer's data and throws NoviqaError on a failed answer.

list ​

GET/trader/v1/quotes

Latest prices

The latest bid, ask and last of symbols, with the group's spread markup (the same prices the live socket streams), ordered by symbol name. Symbols the group does not trade are left out.

Parameters
X-HST-Accountstring · header
Intended signed-in login captured by the browser tab before dispatch and retained across retries. A mismatch returns auth.account_changed (409) before mutation or refresh rotation. This never selects or authorizes an account; omission preserves existing API client compatibility.
idsstring · query
Symbol ids separated by commas, e.g. 1,2,7; none = every symbol the account's group trades. At most 500.
Returns
Promise<Quote[]>
The answer's data.
Errors
400invalid_input: invalid input
401auth.session_expired: session expired, sign in again
403auth.invalid_terminal: this terminal cannot be used here
403auth.otp_enrol_required: your group requires one-time codes: set them up to continue
403auth.password_change_required: you must change your password first
409auth.account_changed: the signed-in account changed; sign in again before continuing
500internal: something went wrong
ts
import { trader } from "@/lib/noviqa"

const data = await trader.quotes.list({
  ids: "string"
})
bash
curl -X GET "$NOVIQA_API_URL/trader/v1/quotes?ids=string" \
  -H "Authorization: Bearer $NOVIQA_TOKEN"
json
{
  "success": true,
  "code": "ok",
  "message": "done",
  "data": [
    {
      "ask": "1.08460",
      "bid": "1.08452",
      "digits": 5,
      "last": "1.08452",
      "symbol": "EURUSD",
      "symbol_id": 1,
      "time": "2026-09-25T10:15:00Z"
    }
  ],
  "request_id": "5b7f2c1e"
}
ts
trader.quotes.list(query?: { ids? }, options?: RequestOptions): Promise<market.Quote[]>