Python Programming for Finance p1

in #bitcoin6 years ago

import datetime as dt
import matplotlib.pyplot as plt
from matplotlib import style
import pandas as pd
import pandas_datareader.data as web

style.use('fivethirtyeight')
#style.use('ggplot')

start = dt.datetime(2010,9,1)
end = dt.datetime(2019,6,5)

df = web.DataReader('GOOG','yahoo',start,end)

print(df.head(10))

20190611_092028.jpg

Sort:  

Congratulations @franklei! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You got your First payout

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!