From ec893e4863764e04f3cb988390f5332e6f9dd2b4 Mon Sep 17 00:00:00 2001 From: Andrew Dinh Date: Fri, 28 Jun 2019 18:41:10 +0000 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 934d7ee..2785d4f 100644 --- a/main.py +++ b/main.py @@ -80,7 +80,7 @@ API Keys: Monthly Bandwidth = 5 GB Hourly Requests = 500 Daily Requests = 20,000 - Symbol Requests = 500 + Symbol Requests = 500 Quandl API Key: KUh3U3hxke9tCimjhWEF Intrinio API Key: OmNmN2E5YWI1YzYxN2Q4NzEzZDhhOTgwN2E2NWRhOWNl @@ -1218,7 +1218,7 @@ def riskFreeRate(): Functions.fromCache(f) json_data = f.text loaded_json = json.loads(json_data) - riskFreeRate = round(float(loaded_json['dataset']['data'][0][1])),2) + riskFreeRate = round(float(loaded_json['dataset']['data'][0][1]),2) print('Risk-free rate:', riskFreeRate, end='\n\n') if f.status_code != 200: