Keys & access

Three kinds of credential reach TraderX. Here is how long each lasts, what it sees and how to stop it.

Credential types

Sign-in (OAuth)Personal keyStrategy key
Starts withbbtx_oat_bbtx_pat_bbtx_live_ bbtx_test_ bbtx_read_
Where it comes fromApproving an app on the TraderX sign-in pageSettings > AI agentsThe strategy's API panel in the app
Lifetime60 minutes, refreshed by the app automaticallyNever expires until you revoke itNever expires until you revoke it
SeesYour account, within the scopes you approvedYour account, within its scopesOnly that strategy
Stop itDisconnect the appRevoke the keyRevoke it in the strategy's API panel

You never handle sign-in tokens yourself: the app stores and refreshes them. Personal keys are shown once when you create them.

Disconnect and revoke are separate

In Settings > AI agents, connected apps and personal keys are two lists. Disconnecting an app never touches your keys, and revoking a key never disconnects an app. Both take effect straight away.

Scopes

A scope is a permission you grant when you connect an app or create a personal key.

ScopeAllowsStatus
readSee your strategies, balances, trades and notificationsAvailable
researchRun backtests and searchesAvailable
buildCreate and edit strategies on paperAvailable
tradeFollow strategies with real money within your limits. Placing orders and going live are rolling outFollowing available
publishPublish strategies for others to followRolling out

TraderX checks scopes on every request, so if a scope is turned off, it stops working at once, even for connections that hold it. Ask your agent to call limits_get to see what its connection can do.

Keys that trade or publish need two-factor authentication

Creating a personal key with the trade or publish scope needs two-factor authentication on your TraderX account, and a code entered in this session. Settings > AI agents asks for the code when you create the key. Turn on two-factor authentication in Settings > Profile.

Trading limits

trade has no default limits. It does nothing until you set them for that app or key: on the approval screen when an app asks for trade, when you create a personal key with trade ticked, or later in Settings > AI agents with Edit limits.

LimitWhat it caps
Max $ per strategyThe most one strategy can be funded with when it goes live
Max total live $All live strategies this app or key made, added together
Max leverageThe highest leverage it can set
Max live strategiesHow many of its strategies can be live at once
Daily loss stop $ (optional)When its strategies lose this much in a day (UTC), it can't trade until midnight UTC

Taking a strategy live moves money from your cash wallet into that strategy, within these limits. The money stays in your TraderX account. Each app and each key has its own limits. Strategy keys aren't affected: they only send orders for their own strategy.

Changing limits

New limits apply to the next action. Lowering them doesn't close anything already live; to stop everything an agent made, use Pause all agent strategies in Settings > AI agents.