Beta Environment Notice
TDM is currently in Beta. Exercise caution when handling assets. Use at your own risk.
Fast Export
Switch the current page to Markdown for fast agent reading, or download it as a .md file.
TDM is currently in Beta. Exercise caution when handling assets. Use at your own risk.
Fast Export
Switch the current page to Markdown for fast agent reading, or download it as a .md file.
Native exchange connector for TDM SDK — connect your Bitget account for spot & futures trading, market data, and account management with policy-controlled agent access.
The Bitget integration is a branded exchange connector built directly into the TDM SDK Dashboard. It connects to the Bitget REST API and provides a pre-configured Contour plugin with 9 agent intents spanning market data, trading, and account management.
Credentials are encrypted and stored in your local vault. The integration is available as a built-in connection template — always present in your Connection Library and Security settings.
Sign up at bitget.com and complete identity verification. A TDM referral code will be applied automatically when connecting through the SDK.
In Bitget Dashboard, go to API Management and create a new API key. Enable trading permissions. You will receive an API Key, Secret Key, and Passphrase — all three are required.
Run tdm dev to start the local dashboard. Navigate to Security → Bitget Integration (or find Bitget in the Connection Library).
Enter your API Key, Secret Key, and Passphrase. Click Save Integration. Credentials are encrypted and stored in your local vault — ready for agent use.
The Bitget integration uses HMAC-SHA256 signature-based authentication. Every authenticated request includes three required credentials:
API Key
Your Bitget API key (starts with bg_)
Secret Key
Used to generate HMAC signatures for each request
Passphrase
Your API passphrase, set during key creation
| Field | Required | Description |
|---|---|---|
| API Key | Yes | Bitget API key (format: bg_...) |
| Secret Key | Yes | Bitget secret key for request signing |
| Passphrase | Yes | Your API passphrase |
| Sub-account ID | No | For sub-account trading (optional) |
The Bitget Contour plugin exposes 9 intents across three categories. These are the actions your autonomous agents can invoke through TDM.
| Intent | Description |
|---|---|
| tdm.bitget.market.tickers | Get all spot tickers |
| tdm.bitget.market.ticker | Get real-time ticker data for a trading pair |
| tdm.bitget.market.depth | Get order book depth for a trading pair |
| tdm.bitget.market.candles | Get candlestick / kline data |
| Intent | Description |
|---|---|
| tdm.bitget.trade.place | Place a spot, futures, or margin order |
| tdm.bitget.trade.cancel | Cancel an existing order |
| tdm.bitget.trade.order | Get order details by ID |
| Intent | Description |
|---|---|
| tdm.bitget.account.assets | Get account asset balances |
| tdm.bitget.account.positions | Get open futures & margin positions |
To allow your agent to interact with Bitget, add the Bitget API domain to your trust policy. Here is an example configuration:
{
"allow": [
"api.bitget.com/api/v3/*"
],
"deny": [],
"rules": {
"maxOrderSize": "1000",
"allowedPairs": ["BTCUSDT", "ETHUSDT"],
"requireConfirmation": true
}
}| Category | Description |
|---|---|
| SPOT | Standard spot market orders |
| MARGIN | Cross-margin trading with borrowed funds |
| USDT-FUTURES | USDT-margined perpetual futures |
| COIN-FUTURES | Coin-margined perpetual futures |
| USDC-FUTURES | USDC-margined perpetual futures |