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 key | Strategy key | |
|---|---|---|---|
| Starts with | bbtx_oat_ | bbtx_pat_ | bbtx_live_ bbtx_test_ bbtx_read_ |
| Where it comes from | Approving an app on the TraderX sign-in page | Settings > AI agents | The strategy's API panel in the app |
| Lifetime | 60 minutes, refreshed by the app automatically | Never expires until you revoke it | Never expires until you revoke it |
| Sees | Your account, within the scopes you approved | Your account, within its scopes | Only that strategy |
| Stop it | Disconnect the app | Revoke the key | Revoke 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.
| Scope | Allows | Status |
|---|---|---|
read | See your strategies, balances, trades and notifications | Available |
research | Run backtests and searches | Available |
build | Create and edit strategies on paper | Available |
trade | Follow strategies with real money within your limits. Placing orders and going live are rolling out | Following available |
publish | Publish strategies for others to follow | Rolling 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
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.
| Limit | What it caps |
|---|---|
| Max $ per strategy | The 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 leverage | The highest leverage it can set |
| Max live strategies | How 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