Python wrapper for the Upbit cryptocurrency exchange API. Version 0.2.34, actively maintained. Enables trading, market data retrieval, and account management on Upbit. Release cadence is irregular.
pip install pyupbitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize Upbit client with API keys. Keys should be set in environment variables.
Specify interval as string, e.g., get_ohlcv("KRW-BTC", interval="day").Implement throttling or use sleep between requests.
Pass price and volume as strings, e.g., upbit.buy_limit_order("KRW-BTC", "50000", "0.001").Check the return value for None; previously you could rely on exception handling.
Run 'pip install pyupbit'.
Check your Upbit API keys and regenerate if necessary. Ensure they are set correctly in environment variables.
Verify the market symbol (e.g., 'KRW-BTC') and that you are not exceeding rate limits.
Ensure you convert strings to float/int when comparing numeric values. Use float() if necessary.