Skip to content

Instantly share code, notes, and snippets.

'''
This script will tell you the stock price of a stock following its ipo, normalized for value
'''
import quandl
import matplotlib.pyplot as plt
import pandas
import yfinance as yf
quandl.ApiConfig.api_key = '' #put your key here
{"routes":{"routes":[{"bounds":{"northeast":{"lat":33.9881313,"lng":-97.73905579999999},"southwest":{"lat":30.1916448,"lng":-117.8008622}},"copyrights":"Map data ©2014 Google, INEGI","legs":[{"distance":{"text":"1,364 mi","value":2194774},"duration":{"text":"19 hours 21 mins","value":69630},"end_address":"Irvine, CA, USA","end_location":{"lat":33.6837025,"lng":-117.7956972},"start_address":"The University Teaching Center, The University of Texas at Austin, Austin, TX 78705, USA","start_location":{"lat":30.2830652,"lng":-97.73905579999999},"steps":[{"distance":{"text":"0.1 mi","value":234},"duration":{"text":"1 min","value":40},"end_location":{"lat":30.280967,"lng":-97.739272},"html_instructions":"Head \u003Cb\u003Esouth\u003C/b\u003E toward \u003Cb\u003EW 20th St\u003C/b\u003E","polyline":{"points":"etywDbtpsQ~@B|@DtAHtBJJ?lAH"},"start_location":{"lat":30.2830652,"lng":-97.73905579999999},"travel_mode":"DRIVING"},{"distance":{"text":"0.1 mi","value":231},"duration":{"text":"1 min","value":54},"end_location":{