Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get_historical_data_03.py
import requests
import pandas as pd
class AlphaVantage:
def __init__(self, symbol_code, interval="60min", outputsize="compact"):
self.base_url = "https://www.alphavantage.co"
self.default_endpoint = "/query"
self.api_key = "<enter your API Key here>"
self.symbol_code = symbol_code
self.interval = interval
self.outputsize = outputsize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.