trendbars endpoint is not working - Probably outdated
Created at 25 May 2022, 00:23
trendbars endpoint is not working - Probably outdated
25 May 2022, 00:23
Hello,
It's been a long time since I used the open API.
I was able in the past to retrieve the trendbards using the following endpoint structure:
https://api.spotware.com/connect/tradingaccounts/[ACCOUNT_ID]/symbols/[SYMBOL]/trendbars/h1?from=[FROM_DATE]&to=[TO_DATE]&access_token=[TOKEN]
For some reason, it is no longer working [404]. It seems like I'm outdated.
Any references to the new method?
Thanks in advance :)
amusleh
25 May 2022, 08:01
Hi,
That's the old version JSON call, we moved all requests to Protobuf, you can find full detail with samples on Open API documentation: cTrader Open API (spotware.github.io)
@amusleh