I am trying to fetch historical market data, when I make a request for March/2020, I am getting the dates correctly, but the prices are way off, in fact they look like the values for the current month.
This is happening on both api versions (v1, and v2), note I am using a v2 example down here because the dates are cleaner to visualize, but I’d be happy to provide a v1 example
For instance, Tesla stock was under $200 1 year ago, and it’s been around $600 - $700 lately.
When I make this request:
Here is the response I get:
{
“bars”: [
{
“t”: “2020-02-28T00:00:00Z”, // TSLA stock price in 2/28/2020 was $133.66
“o”: 665,
“h”: 665.82,
“l”: 665,
“c”: 665.67,
“v”: 647
},
{
“t”: “2020-02-28T00:01:00Z”,
“o”: 665.66,
“h”: 666.75,
“l”: 665.1,
“c”: 666.75,
“v”: 4879
},
{
“t”: “2020-02-28T00:02:00Z”,
“o”: 666.69,
“h”: 666.75,
“l”: 665,
“c”: 666.35,
“v”: 1505
}
…
}