Skip to main content
T+ (tpluspy) is the official Python SDK for interacting with the T+ exchange platform. It gives you an async REST client, real-time WebSocket streams, a full-featured CLI, and an optional EVM layer for on-chain vault and settlement operations — everything you need to build trading applications on T+.

Quickstart

Place your first order in under five minutes

Installation

Install tpluspy and set up your environment

Python SDK

Async clients for orders, market data, and clearing

CLI Reference

Manage accounts and trade from the shell

What you can do with T+

Place Orders

Submit market and limit orders with full lifecycle management

Stream Data

Subscribe to real-time order book diffs, trades, and klines

Manage Accounts

Create and load Ed25519 signing keys for your users

Deposit & Withdraw

Move funds in and out of the T+ exchange

On-chain Settlement

Sign and execute settlement orders against the vault

EVM Contracts

Read registry state and interact with vault contracts

SDK at a glance

import asyncio
from tplus.client import OrderBookClient
from tplus.utils.user import load_user
from tplus.model.asset_identifier import AssetIdentifier
from tplus.model.limit_order import GTC

async def main():
    user = load_user("alice")
    asset = AssetIdentifier(200)

    async with OrderBookClient("https://your-tplus-instance", default_user=user) as client:
        # Place a limit sell order
        response = await client.create_limit_order(
            asset_id=asset,
            quantity=5,
            price=1_000,
            side="Sell",
            time_in_force=GTC(),
        )
        print(f"Order placed: {response}")

asyncio.run(main())
T+ uses Ed25519 key-based authentication. You don’t need API keys or passwords to sign requests — your local keyfile handles signing automatically.