Skip to content

Installation

Describes stx-python 0.10.1, the current release.

pip install stx-python

Requires Python 3.9 to 3.13. The package is on PyPI as stx-python and imports as stx.

from stx import STX, AsyncSTX, STXWebSocket

Response models are in stx.models, and every exception is importable from stx.

python -c "import stx; print(stx.__version__)"

Pin an exact version in production (stx-python==0.8.0). Before 1.0.0, a minor release can change the API.

Uninstalling the package leaves ~/.stx/ (your credentials profile and keys) in place.

STX is operated by XV Exchange, LLC, a Designated Contract Market regulated by the U.S. Commodity Futures Trading Commission (CFTC). Contracts traded on STX are cleared by XV Clearing, LLC, a CFTC-registered Derivatives Clearing Organization. Trading involves substantial risk of loss and may not be appropriate for everyone. Members risk losing the cost to enter any transaction, including fees. Consider whether trading is appropriate for you in light of your experience and financial resources. Nothing on this site is investment advice or a recommendation to trade. Past performance is not indicative of future results.

© 2026 STX. All rights reserved.llms.txtllms-full.txtView as Markdown
Docs version v1.10.5