description |
---|
Quote the current bid and ask for a currency pair and size. |
Paste this query to the GraphQL Playground
{% tabs %} {% tab title="Query" %}
{
quote(
input: { fromCurrency: AUD, toCurrency: USD, size: 10000, currency: AUD }
) {
bid
ask
symbol
timestamp
inverted
}
}
{% endtab %}
{% tab title="Response" %}
{
"data": {
"quote": {
"bid": 0.61104,
"ask": 0.62077,
"symbol": "USDAUD",
"timestamp": "2018-08-13T07:54:54.993Z",
"inverted": true
}
}
}
{% endtab %} {% endtabs %}