datafeed fixes; line drawing fix
This commit is contained in:
@@ -558,6 +558,7 @@ export const DataFeed = {
|
||||
|
||||
|
||||
updatePushedCache(key, ohlcs) {
|
||||
if (ohlcs.length===0) return
|
||||
log('updatePushedCache', key, ohlcs)
|
||||
if (!(key in this.pushedBars))
|
||||
this.pushedBars[key] = ohlcs
|
||||
@@ -579,8 +580,8 @@ export const DataFeed = {
|
||||
|
||||
|
||||
pushToTV(key, ohlcs) {
|
||||
if (ohlcs.length===0) return
|
||||
log('pushing bars to tv', ohlcs)
|
||||
if (ohlcs.length===0) return
|
||||
this.updatePushedCache(key, ohlcs); // we cache the raw bars before inversion so they match dexorder data sources
|
||||
const sub = subByKey[key]
|
||||
if (sub===undefined) {
|
||||
|
||||
Reference in New Issue
Block a user