tysonwu / dash-tradingview

Tradingview Lightweight Charts wrapper for Plotly Dash apps
MIT License
130 stars 22 forks source link

time scale #3

Closed apawitan1995 closed 1 year ago

apawitan1995 commented 1 year ago

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 ?

apawitan1995 commented 1 year ago

turns out need to put datetime as timestamp 🙏

Anshufi commented 1 year ago

@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..

tysonwu commented 1 year ago

@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

Anshufi commented 1 year ago

@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
brodiegould commented 9 months ago

@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