Freedom Finance

FREEMIUM
Par integraatio | Mise à jour 6日前 | Finance
Popularité

9 / 10

Latence

654ms

Niveau de service

90%

Health Check

N/A

Retour à toutes les discussions

StartDateInclusive and EndDateInclusive range filter does not work

When I try to make this request, I get this results

const options = {
method: ‘GET’,
url: ‘https://freedom-finance.p.rapidapi.com/stock-prices’,
params: {
Symbol: ‘MSFT’,
StartDateInclusive: ‘2020-01-01’,
EndDateInclusive: ‘2020-04-01’,
OrderBy: ‘Ascending’
},
headers: {
‘X-RapidAPI-Key’: ‘…’,
‘X-RapidAPI-Host’: ‘freedom-finance.p.rapidapi.com
}
};

Please note that the range is not working, the startDateInclusive is not respected and it gets all the results up to this date (2022-10-31)
{
“total”: 714,
“offset”: 0,
“results”: [
{
“date”: “2020-01-02”,
“open”: 158.779999,
“high”: 160.729996,
“low”: 158.330002,
“close”: 160.619995,
“volume”: 22622100,
“adjClose”: 156.591995
},

{
“date”: “2022-10-31”,
“open”: 233.759995,
“high”: 234.919998,
“low”: 231.149994,
“close”: 232.119995,
“volume”: 16538872,
“adjClose”: 232.119995
}
],
“responseStatus”: null
}

I’m guessing this is not the expected behavior, so it will be great if to know if I’m not using this API correctly or if there is a fix to be done. Thanks!

Rapid account: Nightmerker
nightmerker Commented 1年前

It looks like it’s solved now, thanks!

Rapid account: Integraatio
integraatio Commented 1年前

Hi - you were correct, and a bug fix has been released. Please try again and let me know if you have any problems. Thanks!

Rapid account: Integraatio
integraatio Commented 1年前

thanks for your message. we will investigate and respond within 24 hours with a fix if needed, it looks like a bug but i will need to confirm.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires