tysonwu/dash-tradingview

time scale

Closed this issue ยท 5 comments

Hey there! was wondering if it is possible to change the time interval for this library. Seems like for now it only support daily data ? will it support hourly or minute data ?

turns out need to put datetime as timestamp ๐Ÿ™

@apawitan1995 bro Have you figured out how to do it , I have tried that you told but i see only one bar , and it seems like they are stacked on top of each other please help..

@Anshufi
You can pass in a timestamp instead of "business day" for the time field of that series. It is timestamp in seconds according to Tradingview's documentation here: https://tradingview.github.io/lightweight-charts/docs/3.8/api#time

@tysonwu Thanks for the reply brother, its working , and i want some more help

  1. how to create a sub plot in the chart like atr and sync them

@tysonwu
Just want to confirm that this will only plot daily data and not minute timeframe data right?
Looking to plot minute-to-minute data