Skip to content

Instantly share code, notes, and snippets.

@dyerrington
Created March 26, 2022 21:18
Show Gist options
  • Save dyerrington/cc5c12f411421ebaad77c58f6a7672e5 to your computer and use it in GitHub Desktop.
Save dyerrington/cc5c12f411421ebaad77c58f6a7672e5 to your computer and use it in GitHub Desktop.
import finplot as fplt
import yfinance
df = yfinance.download('AAPL')
d = df[['Open', 'Close', 'High', 'Low']].reset_index(drop=True)
fplt.candlestick_ochl(d)
fplt.show()
@highfestiva
Copy link

Don't reset your index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment