-
-
Save vedranmarkulj/eba3ec3078a1ba016cdf71bf95457367 to your computer and use it in GitHub Desktop.
get_historical_data_03.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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