Get Wallet Balance
Get CopyTrading Wallet Balance
HTTP Request
GET /contract/v3/private/copytrading/wallet/balance
Request Parameters
None
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| coin | string | Coin |
| equity | string | User equity (wallet_balance + unrealised_pnl) |
| availableBalance | string | Available balance = wallet balance - used margin |
| usedMargin | string | Used margin |
| orderMargin | string | Pre-occupied order margin |
| positionMargin | string | Position margin |
| walletBalance | string | Wallet balance |
| realisedPnl | string | Today's realised pnl |
| unrealisedPnl | string | unrealised pnl |
| cumRealisedPnl | string | Accumulated realised pnl (all-time total) |
Request Example
curl --location --request GET 'https://api-testnet.bybit.com/contract/v3/private/copytrading/wallet/balance' \
--header 'X-BAPI-SIGN-TYPE: 2' \
--header 'X-BAPI-SIGN: XXXXX' \
--header 'X-BAPI-API-KEY: XXXXX' \
--header 'X-BAPI-TIMESTAMP: 1670841373442' \
--header 'X-BAPI-RECV-WINDOW: 5000' \
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {
"availableBalance": "985.4988359",
"usedMargin": "0",
"orderMargin": "0",
"positionMargin": "0",
"walletBalance": "985.4988359",
"realisedPnl": "0",
"unrealisedPnl": "0",
"cumRealisedPnl": "-14.5011641",
"coin": "USDT",
"equity": "985.4988359"
},
"retExtInfo": {},
"time": 1673257786956
}