{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/5"}],"enrichment":{"capability":"Unofficial Python wrapper for the OKX exchange v5 API, providing REST and WebSocket access to spot and derivatives trading, account management, and market data.","skillfed_tags":["trading-api","cryptocurrency","websocket"],"use_cases":["Build automated spot trading bots that execute buy/sell orders based on market conditions or signals","Retrieve real-time market data and order book snapshots via WebSocket for technical analysis","Manage derivatives positions (futures, perpetuals) programmatically with leverage and risk controls","Monitor account balances, positions, and trading history for portfolio tracking dashboards","Test trading strategies on OKX testnet before deploying to live trading with flag parameter"],"what_it_does":"python-okx is an unofficial Python client library for trading on the OKX cryptocurrency exchange. It wraps OKX's v5 REST API and WebSocket endpoints, allowing you to execute spot and derivatives trades, query account balances, retrieve market data, and manage orders programmatically. The library handles both public (market data) and private (authenticated trading) operations, with support for live trading and testnet/demo environments.\n\nThe package provides a straightforward object-oriented interface\u2014you instantiate API classes like Account or Trade with your credentials, then call methods to interact with the exchange. It includes WebSocket support with automatic reconnection and connection multiplexing for real-time data streams. Dependencies are lightweight and standard (httpx, requests, websockets, certifi, loguru), making it straightforward to integrate into trading bots, portfolio dashboards, or research scripts.","worth_installing":"Yes, if you trade on OKX and need programmatic access. The package is actively maintained, has low install friction, carries no known security vulnerabilities, and is licensed permissively. Verify that its API endpoint coverage matches your trading needs and that WebSocket reconnection behavior suits your use case before deploying to production."},"id":"python-okx","links":{"html":"https://skillfed.io/packages/python-okx","md":"https://skillfed.io/packages/python-okx.md","pypi":"https://pypi.org/project/python-okx/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-07","license_spdx":null,"license_treatment":"permissive","name":"python-okx","python_support":"supports_current","summary":"Python SDK for OKX"},"popularity":{"monthly_downloads":115564,"position":12243,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.3"}
