You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. The chart is shown correctly at the start, but the datafeed is requested continuously for all past ticks (never ends). I've activated the debug to see what happens but I don't see why it's doing this strange behaviour:
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=1
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 300 bars prior 2024-06-20T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2023-04-27T00:00:00.000Z ... 2024-06-20T00:00:00.000Z, 300 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 301 bars in [2023-04-06T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2023-04-27T00:00:00.000Z ... 2024-06-20T00:00:00.000Z, 300 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=1
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 0 bars prior 2023-04-10T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Bars to return for request 0: total 300 bars in [2023-04-10T07:30:00.000Z ... 2024-06-17T07:30:00.000Z]
datafeed.js:93 [subscribeBars]: Method call with subscriberUID: MRNA.US_#USD#_1D
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Subscribed to realtime
library.0f3decc3cfc32a3eb326.js:847 Event "onChartReady", arguments: []
library.0f3decc3cfc32a3eb326.js:847 Event "undo_redo_state_changed", arguments: [{"enableUndo":false,"undoCommandCount":0,"enableRedo":false,"redoCommandCount":0}]
library.0f3decc3cfc32a3eb326.js:847 Event "study", arguments: [{"category":"studies","value":"Volume"}]
library.0f3decc3cfc32a3eb326.js:847 Event "study_event", arguments: ["eRBymP","price_scale_changed"]
library.0f3decc3cfc32a3eb326.js:847 Event "undo_redo_state_changed", arguments: [{"enableUndo":true,"undoCommandCount":1,"undoText":"insert Volume","enableRedo":false,"redoCommandCount":0,"originalUndoText":"insert Volume"}]
library.0f3decc3cfc32a3eb326.js:847 Event "study", arguments: [{"category":"studies","value":"Moving Average"}]
library.0f3decc3cfc32a3eb326.js:847 Event "study_event", arguments: ["RWXsPc","price_scale_changed"]
library.0f3decc3cfc32a3eb326.js:847 Event "undo_redo_state_changed", arguments: [{"enableUndo":true,"undoCommandCount":2,"undoText":"insert Moving Average","enableRedo":false,"redoCommandCount":0,"originalUndoText":"insert Moving Average"}]
library.0f3decc3cfc32a3eb326.js:847 Event "legend_action", arguments: [{"category":"GUI","label":"Show not main sources","value":""}]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 208 bars prior 2023-04-06T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2022-06-19T00:00:00.000Z ... 2023-04-06T00:00:00.000Z, 208 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing is skipped due active request
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 209 bars in [2023-08-18T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2022-06-19T00:00:00.000Z ... 2023-04-06T00:00:00.000Z, 208 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Received history up to now instead of incremental update. Return exactly what is requested.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-18T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2021-08-31T00:00:00.000Z ... 2022-06-19T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2021-08-31T00:00:00.000Z ... 2022-06-19T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Received history up to now instead of incremental update. Return exactly what is requested.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2020-11-12T00:00:00.000Z ... 2021-08-31T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2020-11-12T00:00:00.000Z ... 2021-08-31T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2020-01-25T00:00:00.000Z ... 2020-11-12T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2020-01-25T00:00:00.000Z ... 2020-11-12T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2019-04-08T00:00:00.000Z ... 2020-01-25T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2019-04-08T00:00:00.000Z ... 2020-01-25T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2018-06-20T00:00:00.000Z ... 2019-04-08T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2018-06-20T00:00:00.000Z ... 2019-04-08T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2017-09-01T00:00:00.000Z ... 2018-06-20T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2017-09-01T00:00:00.000Z ... 2018-06-20T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2016-11-13T00:00:00.000Z ... 2017-09-01T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:847 Event "onAutoSaveNeeded", arguments: []
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2016-11-13T00:00:00.000Z ... 2017-09-01T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2016-01-26T00:00:00.000Z ... 2016-11-13T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2016-01-26T00:00:00.000Z ... 2016-11-13T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2015-04-09T00:00:00.000Z ... 2016-01-26T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2015-04-09T00:00:00.000Z ... 2016-01-26T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2014-06-21T00:00:00.000Z ... 2015-04-09T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2014-06-21T00:00:00.000Z ... 2015-04-09T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2013-09-02T00:00:00.000Z ... 2014-06-21T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2013-09-02T00:00:00.000Z ... 2014-06-21T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2012-11-14T00:00:00.000Z ... 2013-09-02T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2012-11-14T00:00:00.000Z ... 2013-09-02T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2012-01-27T00:00:00.000Z ... 2012-11-14T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2012-01-27T00:00:00.000Z ... 2012-11-14T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2011-04-10T00:00:00.000Z ... 2012-01-27T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2011-04-10T00:00:00.000Z ... 2012-01-27T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2010-06-22T00:00:00.000Z ... 2011-04-10T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2010-06-22T00:00:00.000Z ... 2011-04-10T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2009-09-03T00:00:00.000Z ... 2010-06-22T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2009-09-03T00:00:00.000Z ... 2010-06-22T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2008-11-15T00:00:00.000Z ... 2009-09-03T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2008-11-15T00:00:00.000Z ... 2009-09-03T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2008-01-28T00:00:00.000Z ... 2008-11-15T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2008-01-28T00:00:00.000Z ... 2008-11-15T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2007-04-11T00:00:00.000Z ... 2008-01-28T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40
My getBarscode is:
getBars: async (symbolInfo, resolution, periodParams, onHistoryCallback, _onErrorCallback) => {
const { to, countBack, firstDataRequest } = periodParams;
const url = `/bars/${symbolInfo.ticker}?countback=${countBack}&end=${to}&resolution=${resolution}&firstdatarequest=${firstDataRequest}`;
const payload = await fetcher(url);
let bars = [];
if (payload.length) {
bars = payload.map((el) => {
return {
time: el.ts * 1000, // TradingView requires bar time in ms
low: el.low,
high: el.high,
open: el.open,
close: el.close,
volume: el.volume,
};
});
// Once all the bars (usually countBack is around 300 bars) the array of candles is returned to the library.
onHistoryCallback(bars, { noData: false });
} else {
// If no result, return an empty array and specify it to the library by changing the value of `noData` to true.
onHistoryCallback(bars, { noData: true });
}
},
Someone can help me? I've tried a lot of things, but I am stuck. Thanks a lot.
The text was updated successfully, but these errors were encountered:
Hi. The chart is shown correctly at the start, but the datafeed is requested continuously for all past ticks (never ends). I've activated the debug to see what happens but I don't see why it's doing this strange behaviour:
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=1
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 300 bars prior 2024-06-20T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2023-04-27T00:00:00.000Z ... 2024-06-20T00:00:00.000Z, 300 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 301 bars in [2023-04-06T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2023-04-27T00:00:00.000Z ... 2024-06-20T00:00:00.000Z, 300 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=1
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 0 bars prior 2023-04-10T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Bars to return for request 0: total 300 bars in [2023-04-10T07:30:00.000Z ... 2024-06-17T07:30:00.000Z]
datafeed.js:93 [subscribeBars]: Method call with subscriberUID: MRNA.US_#USD#_1D
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Subscribed to realtime
library.0f3decc3cfc32a3eb326.js:847 Event "onChartReady", arguments: []
library.0f3decc3cfc32a3eb326.js:847 Event "undo_redo_state_changed", arguments: [{"enableUndo":false,"undoCommandCount":0,"enableRedo":false,"redoCommandCount":0}]
library.0f3decc3cfc32a3eb326.js:847 Event "study", arguments: [{"category":"studies","value":"Volume"}]
library.0f3decc3cfc32a3eb326.js:847 Event "study_event", arguments: ["eRBymP","price_scale_changed"]
library.0f3decc3cfc32a3eb326.js:847 Event "undo_redo_state_changed", arguments: [{"enableUndo":true,"undoCommandCount":1,"undoText":"insert Volume","enableRedo":false,"redoCommandCount":0,"originalUndoText":"insert Volume"}]
library.0f3decc3cfc32a3eb326.js:847 Event "study", arguments: [{"category":"studies","value":"Moving Average"}]
library.0f3decc3cfc32a3eb326.js:847 Event "study_event", arguments: ["RWXsPc","price_scale_changed"]
library.0f3decc3cfc32a3eb326.js:847 Event "undo_redo_state_changed", arguments: [{"enableUndo":true,"undoCommandCount":2,"undoText":"insert Moving Average","enableRedo":false,"redoCommandCount":0,"originalUndoText":"insert Moving Average"}]
library.0f3decc3cfc32a3eb326.js:847 Event "legend_action", arguments: [{"category":"GUI","label":"Show not main sources","value":""}]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 208 bars prior 2023-04-06T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2022-06-19T00:00:00.000Z ... 2023-04-06T00:00:00.000Z, 208 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing is skipped due active request
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 209 bars in [2023-08-18T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2022-06-19T00:00:00.000Z ... 2023-04-06T00:00:00.000Z, 208 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Received history up to now instead of incremental update. Return exactly what is requested.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-18T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2021-08-31T00:00:00.000Z ... 2022-06-19T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2021-08-31T00:00:00.000Z ... 2022-06-19T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Received history up to now instead of incremental update. Return exactly what is requested.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2020-11-12T00:00:00.000Z ... 2021-08-31T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2020-11-12T00:00:00.000Z ... 2021-08-31T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2020-01-25T00:00:00.000Z ... 2020-11-12T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2020-01-25T00:00:00.000Z ... 2020-11-12T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2019-04-08T00:00:00.000Z ... 2020-01-25T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2019-04-08T00:00:00.000Z ... 2020-01-25T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2018-06-20T00:00:00.000Z ... 2019-04-08T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2018-06-20T00:00:00.000Z ... 2019-04-08T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2017-09-01T00:00:00.000Z ... 2018-06-20T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2017-09-01T00:00:00.000Z ... 2018-06-20T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2016-11-13T00:00:00.000Z ... 2017-09-01T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:847 Event "onAutoSaveNeeded", arguments: []
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2016-11-13T00:00:00.000Z ... 2017-09-01T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2016-01-26T00:00:00.000Z ... 2016-11-13T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2016-01-26T00:00:00.000Z ... 2016-11-13T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2015-04-09T00:00:00.000Z ... 2016-01-26T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2015-04-09T00:00:00.000Z ... 2016-01-26T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2014-06-21T00:00:00.000Z ... 2015-04-09T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2014-06-21T00:00:00.000Z ... 2015-04-09T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2013-09-02T00:00:00.000Z ... 2014-06-21T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2013-09-02T00:00:00.000Z ... 2014-06-21T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2012-11-14T00:00:00.000Z ... 2013-09-02T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2012-11-14T00:00:00.000Z ... 2013-09-02T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2012-01-27T00:00:00.000Z ... 2012-11-14T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2012-01-27T00:00:00.000Z ... 2012-11-14T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2011-04-10T00:00:00.000Z ... 2012-01-27T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2011-04-10T00:00:00.000Z ... 2012-01-27T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2010-06-22T00:00:00.000Z ... 2011-04-10T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2010-06-22T00:00:00.000Z ... 2011-04-10T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2009-09-03T00:00:00.000Z ... 2010-06-22T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2009-09-03T00:00:00.000Z ... 2010-06-22T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2008-11-15T00:00:00.000Z ... 2009-09-03T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2008-11-15T00:00:00.000Z ... 2009-09-03T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2008-01-28T00:00:00.000Z ... 2008-11-15T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Receiving bars: total 210 bars in [2023-08-17T00:00:00.000Z ... 2024-06-17T00:00:00.000Z], requested range: [2008-01-28T00:00:00.000Z ... 2008-11-15T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Time range of received data is the same as cached one. Skip the update.
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Processing pending subscribers, count=2
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Leftmost subscriber requires 209 bars prior 2023-08-17T00:00:00.000Z
library.0f3decc3cfc32a3eb326.js:40 FEED [Moderna Inc|1D|USD]: Requesting data: [2007-04-11T00:00:00.000Z ... 2008-01-28T00:00:00.000Z, 209 bars]
library.0f3decc3cfc32a3eb326.js:40
My
getBars
code is:Someone can help me? I've tried a lot of things, but I am stuck. Thanks a lot.
The text was updated successfully, but these errors were encountered: