def METHOD_NAME(symbol: str) -> pd.DataFrame:
    """Returns open interest by exchange for a certain symbol
    [Source: https://coinglass.github.io/API-Reference/]
    Parameters
    ----------
    symbol : str
        Crypto Symbol to search open interest futures (e.g., BTC)
    Returns
    -------
    pd.DataFrame
        funding rate per exchange
    """
    url = api_url + f"futures/funding_rates_chart?symbol={symbol.upper()}&type=C"
    headers = {"coinglassSecret": get_current_user().credentials.API_COINGLASS_KEY}
    response = request(url, headers=headers)
    df = pd.DataFrame()
    if response.status_code == 200:
        res_json = json.loads(response.text)
        if res_json["success"]:
            if "data" in res_json:
                data = res_json["data"]
                time = data["dateList"]
                time_new = []
                for elem in time:
                    time_actual = dt.datetime.utcfromtimestamp(elem / 1000)
                    time_new.append(time_actual)
                df = pd.DataFrame(
                    data={
                        "date": time_new,
                        "price": data["priceList"],
                        **data["dataMap"],
                    }
                )
                df = df.set_index("date")
            else:
                console.print(f"No data found for {symbol}.\n")
        elif "secret invalid" in res_json["msg"]:
            console.print("[red]Invalid API Key[/red]\n")
        else:
            console.print(res_json["msg"])
    elif response.status_code == 429:
        console.print("[red]Exceeded number of calls per minute[/red]\n")
    elif response.status_code == 429:
        console.print(
            "[red]IP address autobanned for exceeding calls limit multiple times.[/red]\n"
        )
    return df