Spaces:
Runtime error
Runtime error
Commit
·
a090a73
1
Parent(s):
abc9047
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ import yfinance as yf
|
|
| 11 |
def getPolygonDF(ticker , startdate , enddate , intervalperiod, window, window2):
|
| 12 |
import time
|
| 13 |
#My Polygon API
|
| 14 |
-
mypolgonAPI =
|
| 15 |
headers = {"Authorization": f"Bearer {mypolgonAPI}"}
|
| 16 |
|
| 17 |
import pandas as pd
|
|
|
|
| 11 |
def getPolygonDF(ticker , startdate , enddate , intervalperiod, window, window2):
|
| 12 |
import time
|
| 13 |
#My Polygon API
|
| 14 |
+
mypolgonAPI = os.environ.get('mypolgonAPI')
|
| 15 |
headers = {"Authorization": f"Bearer {mypolgonAPI}"}
|
| 16 |
|
| 17 |
import pandas as pd
|