|
Crypto backtesting
|
Go to the source code of this file.
Namespaces | |
| namespace | alpha |
Variables | |
| alpha.api_key = os.environ.get('ALPHAVANTAGE_API_KEY') | |
| str | alpha.token = "IBM" |
| str | alpha.url = f"https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol={token}&apikey={api_key}" |
| alpha.r = requests.get(url) | |
| alpha.data = r.json() | |
| str | alpha.path = "/tmp/tokens" |
| str | alpha.file = f"{path}/Alpha-{token}.json" |