mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
Update helpers.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user