Trading
Start trading
Connect a PAPER or LIVE account and operate it through the TQX CLI.
Welcome to TQX Trading. Use a coding agent to inspect your account, positions, orders, trades, and signals, or to submit an authorized order.
Start by installing the TQX CLI. It connects to either a TQX PAPER account or a Huatai LIVE account from your local environment.
After you have an API key, log in and verify the connection:
Use the Trading API reference for the exact CLI commands and curl requests for account data, positions, orders, trades, and signals.

