Upd - Krxclient

df = client.get_historical_data( code="005930", start="2024-01-01", end="2024-12-31", interval="daily" )

kospi = client.get_index("KOSPI") print(f"KOSPI: {kospi}") krxclient

import time time.sleep(0.5) If krxclient refers to a different library (e.g., a private/less common one), please share the repo or docs, and I’ll tailor the examples accordingly. df = client

Subscribe