wrong price chart
wafer5 opened this issue ยท 5 comments
wafer5 commented
Tucsky commented
Hi! My guess is that you have more than btc on that chart
You can see which markets it is watching by clicking the
or export the template and drop it here so I can take a look
wafer5 commented
no. it's just btc. it's was ok until few hours ago.
i sent you email.
Tucsky commented
Oh ok so that price is correct, just that you added a whole lot of usdc quoted btc markets on that chart, and due to the depegging event on the USDC, markets quoted in USDC are pumping.
wafer5 commented
i have another question on price script said "plotcandlestick(avg_ohlc(bar))" . can i have just binance price and not average?
Tucsky commented
You can recreate that bar
variable with only BINANCE:btcusdt inside
candlestick(avg_ohlc({
localTimestamp: time,
sources: {
'BINANCE:btcusdt': BINANCE:btcusdt,
}
}))