Skip to main content

Kuest
Kuest Python CLOB Client

PyPI PR

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.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kuest-py-clob-client 2.0.14
File Size Uploaded
kuest_py_clob_client-2.0.14.tar.gz 41.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kuest-py-clob-client 2.0.14
File Interpreter ABI Platform
kuest_py_clob_client-2.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 95.4 kB

Release files / kuest_py_clob_client-2.0.14.tar.gz

Download URL kuest_py_clob_client-2.0.14.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4c7952f4b058d1ac3a4c23d2d14ed67422df640eb7dabe759b9fe40c4d719923
BLAKE2b-256 checksum
How to use checksums
94f4008865640d07b0f7d1d08b1ed62da7fe321c552d08bea6a1cdd73ca02114
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 Sep 14, 2026.

Transparency log

Release files / kuest_py_clob_client-2.0.14-py3-none-any.whl

Download URL kuest_py_clob_client-2.0.14-py3-none-any.whl
Size 53.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4067a437020972b54c930c0e62a4a770480caf193e4b6c59ab7082fd895ab5bf
BLAKE2b-256 checksum
How to use checksums
cd86bdc529d00999aa7174c732fbd98dde5b581b8743f5438755b7c75c997f11
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 Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.14 This release

2 release files

2.0.12

2 release files

2.0.11

2 release files

2.0.10

2 release files

2.0.9

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

0.34.6

2 release files

0.34.5

2 release files

0.34.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page