Skip to content

Instantly share code, notes, and snippets.

@nikitakhutorni
Created January 27, 2021 07:05
# Imports
import pandas as pd
from ipywidgets import widgets as wg
import yfinance as yf
import plotly.graph_objects as go
from plotly.offline import init_notebook_mode, iplot
init_notebook_mode()
tickers = ["FB", "AMZN", "DD", "BRK-A"]
df = yf.download(
tickers=tickers,
period="3y",
interval="1wk",
group_by="column")
df.head(5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment