Replies: 1 comment 1 reply
-
finplot defaults to showing datetimes in local timezone. Set your time zone: https://github.com/highfestiva/finplot/wiki/Snippets#time-zone. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Highfestiva, I have tried your simple example and noticed that finplot shows all dates shifted one day back (crosshair and x-axis).
import finplot as fplt
import yfinance
df = yfinance.download('QQQ')
df = df.tail(3)
print(df)
fplt.candlestick_ochl(df[['Open', 'Close', 'High', 'Low']])
fplt.show()
I have fixed this problem by doing: df = df.shift (1, freq = 'D')
Does it only happen on my machine / system? Or is it a finplot bug?
Beta Was this translation helpful? Give feedback.
All reactions