I've encountered an issue with the FinancialModelingPrep API. When I request data for charting purposes, I need the output to be sorted in ascending order, but it consistently comes back in descending order.
Here is a snippet of the response:
[
{
"date": "2023-09-08 15:55:00",
"open": 178,
"low": 177.99,
"high": 178.34,
"close": 178.19,
"volume": 2640606
},
{
"date": "2023-09-08 15:50:00",
"open": 177.93,
"low": 177.79,
"high": 178,
"close": 177.995,
"volume": 1188267
},
{
"date": "2023-09-08 15:45:00",
"open": 178.01,
"low": 177.9,
"high": 178.14,
"close": 177.925,
"volume": 757194
}...
]
I have attempted using different parameters in the URL like revert=true, but unfortunately, I haven't been able to resolve the issue. FMP has not provided any guidance on how to address this problem.