Tucsky/aggr

wrong price chart

wafer5 opened this issue ยท 5 comments

hi, my chart price it's not correct.
aggr

Hi! My guess is that you have more than btc on that chart
You can see which markets it is watching by clicking the ๐Ÿ” icon
or export the template and drop it here so I can take a look

no. it's just btc. it's was ok until few hours ago.
i sent you email.

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.

i have another question on price script said "plotcandlestick(avg_ohlc(bar))" . can i have just binance price and not average?

You can recreate that bar variable with only BINANCE:btcusdt inside

candlestick(avg_ohlc({
  localTimestamp: time,
  sources: {
    'BINANCE:btcusdt': BINANCE:btcusdt,
  }
}))