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 = 80002
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=80002,
    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=80002,
    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=80002,
    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.13

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.13
File Size Uploaded
kuest_py_clob_client-2.0.13.tar.gz 41.6 kB Details

Built distribution (wheel)

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

Total release size: 95.4 kB

Release files / kuest_py_clob_client-2.0.13.tar.gz

Download URL kuest_py_clob_client-2.0.13.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aaf8c981e802123e7962280f06936e0df3e127584c6e92c39e74f5631a434939
BLAKE2b-256 checksum
How to use checksums
06aebb9a39f4d92b8e648da06d5e0c39a890f6f2f94344a6d475353a614a9f89
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 9, 2026.

Transparency log

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

Download URL kuest_py_clob_client-2.0.13-py3-none-any.whl
Size 53.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e178a634ee48f13a9e47e432e5d20e8467c1eaef5bbb8f2db19a26980667165
BLAKE2b-256 checksum
How to use checksums
eaeecd4a0cd9071253568f869b6e60a7571d1932833048528a7388f54dcbc16a
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 9, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.14

2 release files

This release

2.0.13 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