def get_current_price(ticker):
    """현재가 조회"""
    return pyupbit.get_orderbook(ticker=ticker)["orderbook_units"][0]["ask_price"]
buy_result=30000000
buy_result=float(buy_result)

current_price = get_current_price("KRW-BTC")
current_price=float(current_price)
print("현재가격", current_price)
print("구매가격", buy_result)
터미널에서
현재가격 29300000.0구매가격 30000000.0
둘다 실수고 선언하고
if current_price <= buy_result:
여기서 에러가 뜨는데
TypeError

'<=' not supported between instances of 'float' and 'dict'
이렇게 에러가 뜨는데둘다 float 형태인데 dict 형태가 형변환이 안맞는다는데왜 이런 오류가뜨는거지 둘다 float 형태인데