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

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

Built distribution (wheel)

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

Total release size: 95.4 kB

Release files / kuest_py_clob_client-2.0.12.tar.gz

Download URL kuest_py_clob_client-2.0.12.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3db2ef060f9058c72d5dffd78fb98b1726d4d8f10e1e8f83c4c0913a4ac35ebe
BLAKE2b-256 checksum
How to use checksums
cf12504ea73bca5d00136a4a41dbb96fa88f05ddc06afd89bc7a00b020207d3a
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 Aug 27, 2026.

Transparency log

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

Download URL kuest_py_clob_client-2.0.12-py3-none-any.whl
Size 53.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cae2dd8887b6b2391408a270dd61df4ab332d999590b82dd5b5474e5d176b16
BLAKE2b-256 checksum
How to use checksums
6d70e901ac592149f9058fbc50b3651f051b655f3d1cc0abdfb186bf5efff52a
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 Aug 27, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.14

2 release files

This release

2.0.12 This release

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