Skip to main content

Asset Management

Powered by the xt-assets skill, covering balance queries, transfers between accounts, withdrawals, and deposit/withdrawal chain lookup.


What You Can Do

ScenarioToolPermission
Spot balances with USDT valuationxt_spot_balancesRead
Futures account equityxt_futures_accountRead
Transfer between accountsxt_asset_transferTransfer
Withdrawalxt_withdrawWithdraw (not recommended)
Chains, fees, minimum withdrawal amountxt_currency_chainsNone

Transfers Between Accounts

xt_asset_transfer(from_account, to_account, currency, amount)

Supported account types:

ValueMeaning
SPOTSpot account
LEVERMargin account
FUTURES_UUSDT-M futures account
FUTURES_CCoin-M futures account
FINANCEEarn account
You: Transfer 500 USDT from spot to USDT-M futures
AI: Confirm transfer:
From SPOT
To FUTURES_U
Currency USDT
Amount 500
Execute?

Requires the Transfer permission on your API Key. Enable it only when you genuinely need transfers.


Withdrawals

⚠️ Withdrawals are irreversible. There is no recovery if the address or chain is wrong.

xt_withdraw(currency, chain, amount, address)

Process constraints:

  1. The assistant first calls xt_currency_chains to look up supported chains, fees, and minimum withdrawal amount for the currency
  2. It shows the currency, chain, amount, fee, amount received, and full address
  3. It states clearly that the action is irreversible
  4. It requires a second confirmation — you must explicitly agree twice before execution
You: Withdraw 0.5 ETH to 0x1234...abcd
AI: Chains supported for ETH: ERC20 (fee 0.0012 ETH, min 0.01), ARB (fee 0.0001 ETH)…
Which chain should I use?
You: ERC20
AI: ⚠️ Withdrawals are irreversible. Please verify each line:
Currency ETH
Chain ERC20
Amount 0.5
Fee 0.0012 ETH
Received 0.4988 ETH
Address 0x1234...................abcd (full address shown)
Are the address and chain correct?
You: Confirm
AI: Please confirm execution of the withdrawal once more.

Strongly consider leaving the Withdraw permission disabled in AI trading setups. Withdraw manually through the XT website or app when needed. See API Key & Security.


Read-Only Mode

export XT_TRADEKIT_READONLY=1

Once enabled, transfers and withdrawals are rejected at the server layer rather than relying on the conversational confirmation flow. Keeping it on is recommended for analysis-only use.