Quote
Quote the current bid and ask for a currency pair and size.
Reference/indicative quotes
const bodyJSON = {
variables: {
input: {
fromCurrency: "AUD",
toCurrency: "USD",
size: "10000",
currency: "AUD",
},
},
query: `
query ($input: QuoteInput!) {
quote(input: $input) {
bid ask symbol timestamp inverted
}
}`,
};query($input: QuoteInput!) {
quote(input: $input) {
bid
ask
symbol
timestamp
inverted
}
}Multiple reference/indicative quotes with a single HTTP request
Tradable quote
Last updated
Was this helpful?