Freedom Finance

부분 유료
분류별 integraatio | 업데이트됨 4 days ago | Finance
인기

8.9 / 10

지연 시간

862ms

서비스 수준

98%

Health Check

N/A

모든 토론으로 돌아가기

StartDateInclusive and EndDateInclusive range filter does not work

Rapid account: Codeproyectosmx
codeproyectosmx
a year ago

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 a year ago

It looks like it’s solved now, thanks!

Rapid account: Integraatio
integraatio Commented a year ago

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 a year ago

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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입