Update helpers.py

This commit is contained in:
tehcoderer
2023-08-14 21:06:26 -04:00
parent b9fa67deb2
commit ce815fa508

View File

@@ -3,7 +3,7 @@
import os
from datetime import date, datetime, timedelta
from pathlib import Path
from typing import Optional, Tuple
from typing import List, Optional, Tuple
import numpy as np
import pandas as pd
@@ -139,7 +139,7 @@ def get_cboe_index_directory() -> pd.DataFrame:
},
)
indices_order: list[str] = [
indices_order: List[str] = [
"Ticker",
"Name",
"Description",
@@ -197,7 +197,7 @@ def stock_search(query: str, ticker: bool = False) -> dict:
return pd.DataFrame()
def get_ticker_info(symbol: str) -> Tuple[pd.DataFrame, list[str]]:
def get_ticker_info(symbol: str) -> Tuple[pd.DataFrame, List[str]]:
"""Gets basic info for the symbol and expiration dates
Parameters