so, here is the issue. if i want to fetch a single candle, i would sent same time on both from and to, it worked and still works for yesterday data, but for current data "from today" I need to add 1 sec to end time to get it. weird.
The backend validation for fetching candle data differs for the current trading day compared to historical dates. Since today’s candles include real-time market data, requests where the from and to date-time are the same may not return the expected results.
To avoid this, please ensure that the from and to date-time values are not identical when requesting data for the current trading day. The API expects a valid time range between these parameters to return candle records.
To avoid this, please ensure that the from and to date-time values are not identical when requesting data for the current trading day. The API expects a valid time range between these parameters to return candle records.