Quote
Quote the current bid and ask for a currency pair and size.
Paste this query to the GraphQL Playground
Query
Response
{
quote(
input: { fromCurrency: AUD, toCurrency: USD, size: 10000, currency: AUD }
) {
bid
ask
symbol
timestamp
inverted
}
}
{
"data": {
"quote": {
"bid": 0.61104,
"ask": 0.62077,
"symbol": "USDAUD",
"timestamp": "2018-08-13T07:54:54.993Z",
"inverted": true
}
}
}
Copy link
Edit on GitHub