jarvisx17 commited on
Commit
560de64
1 Parent(s): 6ad74cf

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -45,6 +45,7 @@ async def get_stocks_data(ticker: str, intervals: int, days: int):
45
  async def get_chain(ticker: str):
46
  try:
47
  response, exp = fetcher.fetch_option_chain(ticker).to_dict(orient="records")
 
48
  return {"data" : response}
49
  except:
50
  return {"Timeout" : "Error"}
 
45
  async def get_chain(ticker: str):
46
  try:
47
  response, exp = fetcher.fetch_option_chain(ticker).to_dict(orient="records")
48
+ print(response, exp)
49
  return {"data" : response}
50
  except:
51
  return {"Timeout" : "Error"}