
Kuest Python CLOB Client
Installation
pip install kuest-py-clob-client
Read-Only Usage
from py_clob_client.client import ClobClient
client = ClobClient("https://clob.kuest.com")
print(client.get_ok())
print(client.get_server_time())
Market mirrors
Market discovery responses expose optional mirror identifiers. The presence of
mirror_condition_id identifies a mirrored market; token mappings use
mirror_token_id, mirror_primary_token_id, and mirror_secondary_token_id.
The methods continue to return dictionaries, with TypedDict definitions
available from py_clob_client.clob_types and the package root.
from py_clob_client import ClobClient
client = ClobClient("https://clob.kuest.com")
market = client.get_market_by_token("<token-id>")
if market.get("mirror_condition_id"):
print(market["mirror_condition_id"])
print(market.get("mirror_primary_token_id"))
clob_market = client.get_clob_market_info(market["condition_id"])
for token in clob_market.get("t", []):
if token:
print(token.get("mirror_token_id"))
Wallet-Only Trading
Kuest trading uses Deposit Wallet orders only. The public order path defaults to signature_type=3 and rejects signature types 0, 1, and 2.
from py_clob_client.client import ClobClient
HOST = "https://clob.kuest.com"
CHAIN_ID = 137
PRIVATE_KEY = "<owner-private-key>"
DEPOSIT_WALLET = "<deposit-wallet-address>"
client = ClobClient(
HOST,
chain_id=CHAIN_ID,
key=PRIVATE_KEY,
signature_type=3,
funder=DEPOSIT_WALLET,
)
client.set_api_creds(client.create_or_derive_api_creds())
Place a Limit Order
from py_clob_client.client import ClobClient
from py_clob_client.clob_types import OrderArgs, OrderType
from py_clob_client.order_builder.constants import BUY
client = ClobClient(
"https://clob.kuest.com",
chain_id=137,
key="<owner-private-key>",
signature_type=3,
funder="<deposit-wallet-address>",
)
client.set_api_creds(client.create_or_derive_api_creds())
order = OrderArgs(token_id="<token-id>", price=0.42, size=5.0, side=BUY)
signed = client.create_order(order)
response = client.post_order(signed, OrderType.GTC)
print(response)
Place a Market Order
from py_clob_client.client import ClobClient
from py_clob_client.clob_types import MarketOrderArgs, OrderType
from py_clob_client.order_builder.constants import BUY
client = ClobClient(
"https://clob.kuest.com",
chain_id=137,
key="<owner-private-key>",
signature_type=3,
funder="<deposit-wallet-address>",
)
client.set_api_creds(client.create_or_derive_api_creds())
order = MarketOrderArgs(token_id="<token-id>", amount=25.0, side=BUY, order_type=OrderType.FOK)
signed = client.create_market_order(order)
response = client.post_order(signed, OrderType.FOK)
print(response)
Manage Orders
from py_clob_client.client import ClobClient
from py_clob_client.clob_types import OpenOrderParams
client = ClobClient(
"https://clob.kuest.com",
chain_id=137,
key="<owner-private-key>",
signature_type=3,
funder="<deposit-wallet-address>",
)
client.set_api_creds(client.create_or_derive_api_creds())
open_orders = client.get_orders(OpenOrderParams())
if open_orders:
client.cancel(open_orders[0]["id"])
client.cancel_all()
Metadata
Release files for kuest-py-clob-client 2.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kuest_py_clob_client-2.0.15.tar.gz | 41.6 kB | With provenance | Details for kuest_py_clob_client-2.0.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kuest_py_clob_client-2.0.15-py3-none-any.whl | Python 3 | none | any | Details for kuest_py_clob_client-2.0.15-py3-none-any.whl |
Total release size: 95.4 kB
Release files / kuest_py_clob_client-2.0.15.tar.gz
| Download URL | kuest_py_clob_client-2.0.15.tar.gz |
|---|---|
| Size | 41.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27a579a81062faab12f7f908fdd97658cb2db1ddaf29b73bfdd0fd22df6c5fff
|
|
BLAKE2b-256 checksum How to use checksums |
b9cd6b314acc2f6b72947a48265d9d5c1a64b141f7c723e8f4bd5ca748272380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logRelease files / kuest_py_clob_client-2.0.15-py3-none-any.whl
| Download URL | kuest_py_clob_client-2.0.15-py3-none-any.whl |
|---|---|
| Size | 53.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6dfd4150460a55d8e8a8c3ad7a570844c0164676560e1e49d775c4ffcdf2dc22
|
|
BLAKE2b-256 checksum How to use checksums |
980b959d2c85b49668b24ae6d293d73a459094ce49c8960661d33dc5e9c47b6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logSecurity for kuest-py-clob-client 2.0.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kuest_py_clob_client-2.0.15.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.