Open gomel-tdl1 opened 2 years ago
I indicated in onReads supported resolution 5 minutes and 1 day.
in the widget settings by default I set 5 minutes, but the schedule itself sets 1 day and 1D resolution comes to the getBars.
change has_intraday: true,
and
var data="";
if (resolution === '1D')
data = await makeApiRequest(data/histoday?${query}
);
else if (resolution >= 60 )
data = await makeApiRequest(data/histohour?${query}
);
else
data = await makeApiRequest(data/histominute?${query}
);