Get historic ticks for a forex currency pair.
The "from" symbol of the currency pair.
Example: For USD/JPY the from
would be USD.
The "to" symbol of the currency pair.
Example: For USD/JPY the to
would be JPY.
The date/day of the historic ticks to retrieve.
The timestamp offset, used for pagination. This is the offset at which to start the results. Using the timestamp
of the last result as the offset will give you the next page of results.
Limit the size of the response, max 10000.
The status of this request's response.
The date that was evaluated from the request.
A map for shortened result keys.
The milliseconds of latency for the query results.
The currency pair that was evaluated from the request.
The ask price.
The bid price.
The Unix Msec timestamp for the start of the aggregate window.
The exchange ID. See Exchanges for Polygon.io's mapping of exchange IDs.
{
"day": "2020-10-14",
"map": {
"ap": "ask",
"bp": "bid",
"t": "timestamp"
},
"msLatency": "0",
"pair": "AUD/USD",
"status": "success",
"ticks": [
{
"ap": 0.71703,
"bp": 0.71701,
"t": 1602633600000,
"x": 48
},
{
"ap": 0.71703,
"bp": 0.717,
"t": 1602633600000,
"x": 48
},
{
"ap": 0.71702,
"bp": 0.717,
"t": 1602633600000,
"x": 48
}
],
"type": "forex"
}