Download OpenAPI specification:Download
Cryptorg API for automatic futures bot control
First create an API KEY in the Cryptorg account center.
Now you have an API Key. You can see him on your List of API Keys. Key and Secret grant you access to our API. After 30 mins a secret will be hidden!
Each request to API need authentication. For authenticate you need create header and put him to your request.
HEADER example:
[ "CTG-API-SIGNATURE: HASH", "CTG-API-KEY: API_KEY", "CTG-API-NONCE: NONCE" ]
Where
HASH_HMAC(SHA256, BASE64_ENCODE(URL + "/" + NONCE + "/" + QUERY) , API_SECRET)
Futures Access List
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": [
- {
- "accessId": 33200,
- "title": "Cryptorg Exchange Futures",
- "exchange": "CRYPTORG_FUTURES"
}
]
}
Get list of all user's bots
exchange required | string Example: exchange=CRYPTORG_FUTURES Exchange |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": [
- {
- "id": 170190,
- "title": "Futures Bot 1",
- "leverage": 1,
- "userId": 33207,
- "strategy": "LONG",
- "status": "DISABLED",
- "settings": {
- "margin_mode": "CROSS",
- "type_take_profit": "LIMIT",
- "type_first_order": "MARKET",
- "percent_take_profit": "0.2",
- "percent_safety_order": "0.1",
- "volume_first_order": "35.00",
- "volume_safety_order": "35.00",
- "count_order_working": "",
- "count_order_max": "1",
- "martingale": "1",
- "martingale_scale": "1.05",
- "dynamic_step": "1",
- "dynamic_step_scale": "1.3",
- "cycle_limit": "1",
- "cycle_limit_scale": "20",
- "tb_group_indicator": "TRENDS",
- "tb_indicator": "EMA_50",
- "tb_interval": "4HOURS",
- "price_level": "LOWER",
- "price_level_up": "20199.96000000",
- "price_level_down": "18000.55"
}, - "pairTitle": "USDT-BTC",
- "exchange": "CRYPTORG_FUTURES"
}, - {
- "id": 170205,
- "title": "Futures Bot 2",
- "leverage": 20,
- "userId": 33207,
- "strategy": "LONG",
- "status": "DISABLED",
- "settings": {
- "margin_mode": "CROSS",
- "type_take_profit": "STOP-MARKET",
- "type_first_order": "LIMIT",
- "percent_take_profit": "0.05",
- "percent_safety_order": "0.1",
- "volume_first_order": "500",
- "volume_safety_order": "500",
- "count_order_working": "",
- "count_order_max": "5",
- "martingale": "1",
- "martingale_scale": "1.05",
- "dynamic_step": "0",
- "dynamic_step_scale": "1.05",
- "cycle_limit": "1",
- "cycle_limit_scale": "17",
- "tb_group_indicator": "FOMO",
- "tb_indicator": "BNBUSDTPERP.small",
- "tb_interval": "5MIN",
- "price_level": "BOTH",
- "price_level_up": "680",
- "price_level_down": "205"
}, - "pairTitle": "USDT-BNB",
- "exchange": "CRYPTORG_FUTURES"
}
]
}
Get bot details
botId required | integer <int64> Bot Id |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": [
- {
- "id": 170190,
- "userId": 33207,
- "pairTitle": "USDT-BTC",
- "accessId": 33200,
- "title": "Futures Bot 1",
- "status": "DISABLED",
- "strategy": "LONG",
- "leverage": 1,
- "settings": {
- "margin_mode": "CROSS",
- "type_take_profit": "LIMIT",
- "type_first_order": "MARKET",
- "percent_take_profit": "0.2",
- "percent_safety_order": "0.1",
- "volume_first_order": "35.00",
- "volume_safety_order": "35.00",
- "count_order_working": "",
- "count_order_max": "1",
- "martingale": "1",
- "martingale_scale": "1.05",
- "dynamic_step": "1",
- "dynamic_step_scale": "1.3",
- "cycle_limit": "1",
- "cycle_limit_scale": "20",
- "tb_group_indicator": "TRENDS",
- "tb_indicator": "EMA_50",
- "tb_interval": "4HOURS",
- "price_level": "LOWER",
- "price_level_up": "20199.96000000",
- "price_level_down": "18000.55"
}, - "updated": {
- "date": "2023-01-05 19:16:14.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}
]
}
Get bot logs
botId required | integer <int64> Bot Id |
limit | integer <int64> Records limit |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": [
- {
- "message": "Force start deal command",
- "datetime": "2023-01-30 23:53:20"
}, - {
- "message": "Starting a new deal",
- "datetime": "2023-01-30 23:53:43"
}, - {
- "message": "Placing market order. Open LONG 12.8 XRP by market price",
- "datetime": "2023-01-30 23:53:43"
}, - {
- "message": "Base trade was executed. Open LONG 12.80000000 XRP by market price",
- "datetime": "2023-01-30 23:53:48"
}, - {
- "message": "Placing safety trade. Open LONG 12.8 XRP (5.04 USDT) by price 0.3941 USDT",
- "datetime": "2023-01-30 23:53:50"
}, - {
- "message": "Placing safety trades. Count: 1",
- "datetime": "2023-01-30 23:53:50"
}, - {
- "message": "Placing Take Profit trade. Close LONG 12.8 XRP (5.05 USDT) by price 0.3947 USDT",
- "datetime": "2023-01-30 23:53:52"
}, - {
- "message": "Force complete deal command",
- "datetime": "2023-01-30 23:54:09"
}
]
}
Turn on bot
botId required | integer <int64> Bot Id |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": "Command was sent"
}
Turn off bot
botId required | integer <int64> Bot Id |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": "Command was sent"
}
Create a new bot
accessId required | integer <int64> Example: accessId=33200 Access Id |
exchange required | string Example: exchange=CRYPTORG_FUTURES Exchange |
pairTitle required | string Example: pairTitle=USDT-BNB Pair title |
title required | string Title |
strategy required | string Enum: "LONG" "SHORT" Strategy |
leverage required | integer <int64> Leverage |
marginMode required | string Enum: "ISO" "CROSS" Margin mode |
typeTakeProfit required | string Enum: "LIMIT" "STOP-MARKET" Type take profit |
typeFirstOrder required | string Enum: "LIMIT" "MARKET" Type first order |
percentTakeProfit required | float [ 0.01 .. 99.99 ] Percent take profit |
percentSafetyOrder required | float [ 0.01 .. 99.99 ] Percent safety order |
volumeFirstOrder required | float Volume first order |
volumeSafetyOrder | float Volume safety order |
countOrderMax | integer [ 1 .. 50 ] Count order max |
martingaleScale | float [ 1.05 .. 2 ] Martingale scale |
dynamicStepScale | float [ 1.05 .. 2 ] Dynamic step scale |
cycleLimitScale | integer <int64> Cycle limit scale |
indicatorGroup | string Enum: "NOTHING" "FOMO" "DIVER" "TRENDS" "TRENDS_CROSSING" "OSCILLATORS" Group indicator
|
indicatorName | string Group indicator name
|
indicatorInterval | string Group indicator interval
|
priceLevel | string Enum: "NOTHING" "UPPER" "LOWER" "BOTH" Price level
|
priceLevelDown | float Price level down |
priceLevelUp | float Price level up |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": {
- "botId": 170251
}
}
Update bot settings
botId required | integer <int64> Bot Id |
pairTitle | string Example: pairTitle=USDT-BNB Pair title |
title | string Title |
strategy | string Enum: "LONG" "SHORT" Strategy |
leverage | integer <int64> Leverage |
marginMode | string Enum: "ISO" "CROSS" Margin mode |
typeTakeProfit | string Enum: "LIMIT" "STOP-MARKET" Type take profit |
typeFirstOrder | string Enum: "LIMIT" "MARKET" Type first order |
percentTakeProfit | float [ 0.01 .. 99.99 ] Percent take profit |
percentSafetyOrder | float [ 0.01 .. 99.99 ] Percent safety order |
volumeFirstOrder | float Volume first order |
volumeSafetyOrder | float Volume safety order |
countOrderMax | integer [ 1 .. 50 ] Count order max |
martingaleScale | float [ 1.05 .. 2 ] Martingale scale |
dynamicStepScale | float [ 1.05 .. 2 ] Dynamic step scale |
cycleLimitScale | integer <int64> Cycle limit scale |
indicatorGroup | string Enum: "NOTHING" "FOMO" "DIVER" "TRENDS" "TRENDS_CROSSING" "OSCILLATORS" Group indicator
|
indicatorName | string Group indicator name
|
indicatorInterval | string Group indicator interval
|
priceLevel | string Enum: "NOTHING" "UPPER" "LOWER" "BOTH" Price level
|
priceLevelDown | float Price level down |
priceLevelUp | float Price level up |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": {
- "id": 170190,
- "userId": 33207,
- "pairTitle": "USDT-BNB",
- "accessId": 33200,
- "title": "Futures Bot 1",
- "status": 0,
- "strategy": "SHORT",
- "leverage": 10,
- "settings": {
- "margin_mode": "ISO",
- "type_take_profit": "LIMIT",
- "type_first_order": "MARKET",
- "percent_take_profit": "0.05",
- "percent_safety_order": "0.1",
- "volume_first_order": "5.05",
- "volume_safety_order": "5.05",
- "count_order_working": "",
- "count_order_max": "1",
- "martingale": "0",
- "martingale_scale": "1.05",
- "dynamic_step": "0",
- "dynamic_step_scale": "1.05",
- "cycle_limit": "0",
- "cycle_limit_scale": "1",
- "tb_group_indicator": "TRENDS",
- "tb_indicator": "EMA_5",
- "tb_interval": "4HOURS",
- "price_level": "UPPER",
- "price_level_up": "5000",
- "price_level_down": "0"
}, - "updated": {
- "date": "2023-01-15 12:18:51.867954",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}
}
Active deals
accessId required | integer <int64> Example: accessId=33200 Access Id |
exchange required | string Example: exchange=CRYPTORG_FUTURES Exchange |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": [
- {
- "id": 26053413,
- "userId": 33207,
- "pairTitle": "USDT-XRP",
- "botId": 170217,
- "accessId": 33200,
- "status": "ACTIVE",
- "botSnapshot": {
- "id": 170217,
- "userId": 33207,
- "pairTitle": "USDT-XRP",
- "accessId": 33200,
- "title": "Testing active bot",
- "status": "DISABLED",
- "strategy": "LONG",
- "leverage": 1,
- "settings": {
- "margin_mode": "ISO",
- "type_take_profit": "LIMIT",
- "type_first_order": "MARKET",
- "percent_take_profit": "0.05",
- "percent_safety_order": "0.1",
- "volume_first_order": "5.05",
- "volume_safety_order": "5.05",
- "count_order_working": "",
- "count_order_max": "1",
- "martingale": "0",
- "martingale_scale": "1.05",
- "dynamic_step": "0",
- "dynamic_step_scale": "1.05",
- "cycle_limit": "0",
- "cycle_limit_scale": "1",
- "tb_group_indicator": "NOTHING",
- "tb_indicator": "",
- "tb_interval": "",
- "price_level": "NOTHING",
- "price_level_up": 0,
- "price_level_down": 0
}, - "updated": {
- "date": "2023-01-15 12:10:24.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}, - "position": {
- "type": "isolated",
- "side": "LONG",
- "leverage": "1",
- "amount": "12.2",
- "entryPrice": "0.4139",
- "markPrice": "0.41380000",
- "liqPrice": "0.00000698",
- "pnl": "-0.00122000",
- "initMargin": "",
- "maintMargin": "",
- "posInitMargin": "",
- "openOrdInitMargin": ""
}, - "tpOrder": {
- "29708438214": {
- "type": "l",
- "number": "29708438214",
- "status": "1",
- "price": "0.4142",
- "qty": "12.2",
- "qty_filled": "",
- "fee": "",
- "fee_asset": "",
- "pnl": "",
- "time": "1675316948078"
}
}, - "result": null,
- "updated": {
- "date": "2023-02-02 05:49:08.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}
]
}
Deals history
accessId required | integer <int64> Example: accessId=33200 Access Id |
exchange required | string Example: exchange=CRYPTORG_FUTURES Exchange |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": [
- {
- "id": 25434382,
- "userId": 33207,
- "pairTitle": "USDT-XRP",
- "botId": 170217,
- "accessId": 33200,
- "status": "COMPLETED",
- "botSnapshot": {
- "id": 170217,
- "userId": 33207,
- "pairTitle": "USDT-XRP",
- "accessId": 33200,
- "title": "Testing active bot",
- "status": "DISABLED",
- "strategy": "SHORT",
- "leverage": 1,
- "settings": {
- "margin_mode": "ISO",
- "type_take_profit": "STOP-MARKET",
- "type_first_order": "LIMIT",
- "percent_take_profit": "0.05",
- "percent_safety_order": "0.1",
- "volume_first_order": "5.08",
- "volume_safety_order": "5.08",
- "count_order_working": "",
- "count_order_max": "1",
- "martingale": "1",
- "martingale_scale": "1.05",
- "dynamic_step": "1",
- "dynamic_step_scale": "1.05",
- "cycle_limit": "1",
- "cycle_limit_scale": "1",
- "tb_group_indicator": "NOTHING",
- "tb_indicator": "",
- "tb_interval": "1MIN",
- "price_level": "NOTHING",
- "price_level_up": 0,
- "price_level_down": 0
}, - "updated": {
- "date": "2023-01-05 19:53:35.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}, - "position": {
- "type": "isolated",
- "side": "SHORT",
- "leverage": "1",
- "amount": "0.0",
- "entryPrice": "0.0",
- "markPrice": "0.34090000",
- "liqPrice": "0",
- "pnl": "0.00000000",
- "initMargin": "",
- "maintMargin": "",
- "posInitMargin": "",
- "openOrdInitMargin": ""
}, - "tpOrder": {
- "28434429948": {
- "type": "sm",
- "number": "28434429948",
- "status": "3",
- "price": "0.341",
- "qty": "14.8",
- "qty_filled": "14.8",
- "fee": "0.0025234",
- "fee_asset": "USDT",
- "pnl": "0.00148",
- "time": "1672948567689"
}
}, - "result": {
- "qtySO": "14.8",
- "avPriceSO": "0.3411",
- "qtyTP": "14.8",
- "avPriceTP": "0.341",
- "fees": "0.00454271",
- "feesAsset": "USDT",
- "profit": "-0.0035668",
- "profitAsset": "USDT"
}, - "updated": {
- "date": "2023-01-05 19:59:36.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}, - {
- "id": 25434349,
- "userId": 33207,
- "pairTitle": "USDT-XRP",
- "botId": 170217,
- "accessId": 33200,
- "status": "COMPLETED",
- "botSnapshot": {
- "id": 170217,
- "userId": 33207,
- "pairTitle": "USDT-XRP",
- "accessId": 33200,
- "title": "Testing active bot",
- "status": "DISABLED",
- "strategy": "SHORT",
- "leverage": 1,
- "settings": {
- "margin_mode": "ISO",
- "type_take_profit": "STOP-MARKET",
- "type_first_order": "LIMIT",
- "percent_take_profit": "0.05",
- "percent_safety_order": "0.1",
- "volume_first_order": "5.08",
- "volume_safety_order": "5.08",
- "count_order_working": "",
- "count_order_max": "1",
- "martingale": "1",
- "martingale_scale": "1.05",
- "dynamic_step": "1",
- "dynamic_step_scale": "1.05",
- "cycle_limit": "1",
- "cycle_limit_scale": "1",
- "tb_group_indicator": "NOTHING",
- "tb_indicator": "",
- "tb_interval": "1MIN",
- "price_level": "NOTHING",
- "price_level_up": 0,
- "price_level_down": 0
}, - "updated": {
- "date": "2023-01-05 19:43:55.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}, - "position": {
- "type": "isolated",
- "side": "SHORT",
- "leverage": "1",
- "amount": "0.0",
- "entryPrice": "0.0",
- "markPrice": "0.34103257",
- "liqPrice": "0",
- "pnl": "0.00000000",
- "initMargin": "",
- "maintMargin": "",
- "posInitMargin": "",
- "openOrdInitMargin": ""
}, - "tpOrder": {
- "28434345961": {
- "type": "sm",
- "number": "28434345961",
- "status": "3",
- "price": "0.341",
- "qty": "30.5",
- "qty_filled": "30.5",
- "fee": "0.00520025",
- "fee_asset": "USDT",
- "pnl": "0.00318999",
- "time": "1672948387824"
}
}, - "result": {
- "qtySO": "30.5",
- "avPriceSO": "0.34110459016393",
- "qtyTP": "30.5",
- "avPriceTP": "0.341",
- "fees": "0.00986966",
- "feesAsset": "USDT",
- "profit": "-0.00721051",
- "profitAsset": "USDT"
}, - "updated": {
- "date": "2023-01-05 19:53:35.000000",
- "timezone_type": 3,
- "timezone": "UTC"
}, - "exchange": "CRYPTORG_FUTURES"
}
]
}
Start new deal
botId required | integer <int64> Bot Id |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": "Command was sent"
}
Change Take Profit
dealId required | integer <int64> Deal Id |
immediately required | boolean Immediately |
newPercentOfTp required | float New Take Profit percentage |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": "Command was sent"
}
Complete deal
dealId required | integer <int64> Deal Id |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": "Command \"force complete deal\" was sent"
}
Cancel deal
dealId required | integer <int64> Deal Id |
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": "Command was sent"
}
Account information with positions
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": {
- "totalInitialMargin": "0.00000000",
- "totalMaintMargin": "0.00000000",
- "totalMarginBalance": "0.00907345",
- "totalPositionMargin": "0.00000000",
- "totalOpenOrderMargin": "0.00000000",
- "totalUnrealizedProfit": "0.00000000",
- "totalWalletBalance": "0.00907345",
- "totalFreeBalance": "0.00907345",
- "leverage": null,
- "assets": [
- {
- "asset": "BTC",
- "walletBalance": "0.00000000",
- "unrealizedProfit": "0.00000000",
- "marginBalance": "0.00000000",
- "maintMargin": "0.00000000",
- "initialMargin": "0.00000000",
- "positionInitialMargin": "0.00000000",
- "openOrderInitialMargin": "0.00000000",
- "maxWithdrawAmount": "0.00000000",
- "crossWalletBalance": "0.00000000",
- "crossUnPnl": "0.00000000",
- "availableBalance": "0.00000000",
- "marginAvailable": true,
- "updateTime": 0
}, - {
- "asset": "BNB",
- "walletBalance": "0.00000000",
- "unrealizedProfit": "0.00000000",
- "marginBalance": "0.00000000",
- "maintMargin": "0.00000000",
- "initialMargin": "0.00000000",
- "positionInitialMargin": "0.00000000",
- "openOrderInitialMargin": "0.00000000",
- "maxWithdrawAmount": "0.00000000",
- "crossWalletBalance": "0.00000000",
- "crossUnPnl": "0.00000000",
- "availableBalance": "0.00000000",
- "marginAvailable": true,
- "updateTime": 0
}, - {
- "asset": "ETH",
- "walletBalance": "0.00000000",
- "unrealizedProfit": "0.00000000",
- "marginBalance": "0.00000000",
- "maintMargin": "0.00000000",
- "initialMargin": "0.00000000",
- "positionInitialMargin": "0.00000000",
- "openOrderInitialMargin": "0.00000000",
- "maxWithdrawAmount": "0.00000000",
- "crossWalletBalance": "0.00000000",
- "crossUnPnl": "0.00000000",
- "availableBalance": "0.00000000",
- "marginAvailable": true,
- "updateTime": 0
}, - {
- "asset": "USDT",
- "walletBalance": "0.00907345",
- "unrealizedProfit": "0.00000000",
- "marginBalance": "0.00907345",
- "maintMargin": "0.00000000",
- "initialMargin": "0.00000000",
- "positionInitialMargin": "0.00000000",
- "openOrderInitialMargin": "0.00000000",
- "maxWithdrawAmount": "0.00907345",
- "crossWalletBalance": "0.00907345",
- "crossUnPnl": "0.00000000",
- "availableBalance": "0.00907345",
- "marginAvailable": true,
- "updateTime": 1672948825524
}, - {
- "asset": "XRP",
- "walletBalance": "0.00000000",
- "unrealizedProfit": "0.00000000",
- "marginBalance": "0.00000000",
- "maintMargin": "0.00000000",
- "initialMargin": "0.00000000",
- "positionInitialMargin": "0.00000000",
- "openOrderInitialMargin": "0.00000000",
- "maxWithdrawAmount": "0.00000000",
- "crossWalletBalance": "0.00000000",
- "crossUnPnl": "0.00000000",
- "availableBalance": "0.00000000",
- "marginAvailable": true,
- "updateTime": 0
}, - {
- "asset": "BUSD",
- "walletBalance": "0.00000000",
- "unrealizedProfit": "0.00000000",
- "marginBalance": "0.00000000",
- "maintMargin": "0.00000000",
- "initialMargin": "0.00000000",
- "positionInitialMargin": "0.00000000",
- "openOrderInitialMargin": "0.00000000",
- "maxWithdrawAmount": "0.00000000",
- "crossWalletBalance": "0.00000000",
- "crossUnPnl": "0.00000000",
- "availableBalance": "0.00000000",
- "marginAvailable": true,
- "updateTime": 0
}
], - "positions": {
- "USDT-BTC_BUY": {
- "positionSide": "LONG",
- "symbol": "BTCUSDT",
- "ourSymbol": "USDT-BTC",
- "amount": "0.000",
- "entryPrice": "0.0",
- "markPrice": "16848.00000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "1",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}, - "USDT-BTC_SELL": {
- "positionSide": "SHORT",
- "symbol": "BTCUSDT",
- "ourSymbol": "USDT-BTC",
- "amount": "0.000",
- "entryPrice": "0.0",
- "markPrice": "16848.00000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "1",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}, - "USDT-BNB_BUY": {
- "positionSide": "LONG",
- "symbol": "BNBUSDT",
- "ourSymbol": "USDT-BNB",
- "amount": "0.00",
- "entryPrice": "0.0",
- "markPrice": "0.00000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "20",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}, - "USDT-BNB_SELL": {
- "positionSide": "SHORT",
- "symbol": "BNBUSDT",
- "ourSymbol": "USDT-BNB",
- "amount": "0.00",
- "entryPrice": "0.0",
- "markPrice": "0.00000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "20",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}, - "USDT-ETH_BUY": {
- "positionSide": "LONG",
- "symbol": "ETHUSDT",
- "ourSymbol": "USDT-ETH",
- "amount": "0.000",
- "entryPrice": "0.0",
- "markPrice": "1253.20000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "1",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}, - "USDT-ETH_SELL": {
- "positionSide": "SHORT",
- "symbol": "ETHUSDT",
- "ourSymbol": "USDT-ETH",
- "amount": "0.000",
- "entryPrice": "0.0",
- "markPrice": "1253.20000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "1",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}, - "BUSD-XRP_BUY": {
- "positionSide": "LONG",
- "symbol": "XRPBUSD",
- "ourSymbol": "BUSD-XRP",
- "amount": "0.0",
- "entryPrice": "0.0",
- "markPrice": "0.00000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "20",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}, - "BUSD-XRP_SELL": {
- "positionSide": "SHORT",
- "symbol": "XRPBUSD",
- "ourSymbol": "BUSD-XRP",
- "amount": "0.0",
- "entryPrice": "0.0",
- "markPrice": "0.00000000",
- "liquidationPrice": "0",
- "unRealizedProfit": "0.00000000",
- "leverage": "20",
- "marginType": "cross",
- "isolatedMargin": "0.00000000",
- "positionMargin": "0.00000000",
- "openOrderMargin": "0.00000000"
}
}
}
}
Futures currency pair list
CTG-API-SIGNATURE required | string Signature |
CTG-API-KEY required | string Cryptorg API Key |
CTG-API-NONCE required | string Epoch time |
{- "isSuccess": true,
- "errorMessage": "",
- "data": [
- "USDT-BTC",
- "USDT-ETH",
- "USDT-BCH",
- "USDT-XRP",
- "USDT-EOS",
- "USDT-LTC",
- "USDT-TRX",
- "USDT-ETC",
- "USDT-LINK",
- "USDT-XLM",
- "USDT-ADA",
- "USDT-XMR",
- "USDT-DASH",
- "USDT-ZEC",
- "USDT-XTZ",
- "USDT-BNB",
- "USDT-ATOM",
- "USDT-ONT",
- "USDT-IOTA",
- "USDT-BAT",
- "USDT-VET",
- "USDT-NEO",
- "USDT-QTUM",
- "USDT-IOST",
- "USDT-THETA",
- "USDT-ALGO",
- "USDT-ZIL",
- "USDT-KNC",
- "USDT-ZRX",
- "USDT-COMP",
- "USDT-OMG",
- "USDT-DOGE",
- "USDT-SXP",
- "USDT-KAVA",
- "USDT-BAND",
- "USDT-RLC",
- "USDT-WAVES",
- "USDT-MKR",
- "USDT-SNX",
- "USDT-DOT",
- "USDT-DEFI",
- "USDT-YFI",
- "USDT-BAL",
- "USDT-CRV",
- "USDT-TRB",
- "USDT-SUSHI",
- "USDT-RUNE",
- "USDT-SRM",
- "USDT-EGLD",
- "USDT-SOL",
- "USDT-ICX",
- "USDT-STORJ",
- "USDT-BLZ",
- "USDT-UNI",
- "USDT-AVAX",
- "USDT-FTM",
- "USDT-HNT",
- "USDT-ENJ",
- "USDT-FLM",
- "USDT-TOMO",
- "USDT-REN",
- "USDT-KSM",
- "USDT-NEAR",
- "USDT-FIL",
- "USDT-AAVE",
- "USDT-RSR",
- "USDT-LRC",
- "USDT-MATIC",
- "USDT-OCEAN",
- "USDT-CVC",
- "USDT-BEL",
- "USDT-CTK",
- "USDT-AXS",
- "USDT-ALPHA",
- "USDT-ZEN",
- "USDT-SKL",
- "USDT-GRT",
- "USDT-1INCH",
- "BUSD-BTC",
- "USDT-CHZ",
- "USDT-SAND",
- "USDT-ANKR",
- "USDT-BTS",
- "USDT-LIT",
- "USDT-UNFI",
- "USDT-REEF",
- "USDT-RVN",
- "USDT-SFP",
- "USDT-XEM",
- "USDT-COTI",
- "USDT-CHR",
- "USDT-MANA",
- "USDT-ALICE",
- "USDT-HBAR",
- "USDT-ONE",
- "USDT-LINA",
- "USDT-STMX",
- "USDT-DENT",
- "USDT-CELR",
- "USDT-HOT",
- "USDT-MTL",
- "USDT-OGN",
- "USDT-NKN",
- "USDT-SC",
- "USDT-DGB",
- "USDT-1000SHIB",
- "USDT-ICP",
- "USDT-BAKE",
- "USDT-GTC",
- "BUSD-ETH",
- "USDT-BTCDOM",
- "USDT-TLM",
- "BUSD-BNB",
- "BUSD-ADA",
- "BUSD-XRP",
- "USDT-IOTX",
- "BUSD-DOGE",
- "USDT-AUDIO",
- "USDT-RAY",
- "USDT-C98",
- "USDT-MASK",
- "USDT-ATA",
- "BUSD-SOL",
- "BUSD-FTT",
- "USDT-DYDX",
- "USDT-1000XEC",
- "USDT-GALA",
- "USDT-CELO",
- "USDT-AR",
- "USDT-KLAY",
- "USDT-ARPA",
- "USDT-CTSI",
- "USDT-LPT",
- "USDT-ENS",
- "USDT-PEOPLE",
- "USDT-ANT",
- "USDT-ROSE",
- "USDT-DUSK",
- "USDT-FLOW",
- "USDT-IMX",
- "USDT-API3",
- "USDT-GMT",
- "USDT-APE",
- "USDT-BNX",
- "USDT-WOO",
- "USDT-FTT",
- "USDT-JASMY",
- "USDT-DAR",
- "USDT-GAL",
- "BUSD-AVAX",
- "BUSD-NEAR",
- "BUSD-GMT",
- "BUSD-APE",
- "BUSD-GAL",
- "BUSD-FTM",
- "BUSD-DODO",
- "BUSD-ANC",
- "BUSD-GALA",
- "BUSD-TRX",
- "BUSD-1000LUNC",
- "BUSD-LUNA2",
- "USDT-OP",
- "BUSD-DOT",
- "BUSD-TLM",
- "BUSD-ICP",
- "BUSD-WAVES",
- "BUSD-LINK",
- "BUSD-SAND",
- "BUSD-LTC",
- "BUSD-MATIC",
- "BUSD-CVX",
- "BUSD-FIL",
- "BUSD-1000SHIB",
- "BUSD-LEVER",
- "BUSD-ETC",
- "BUSD-LDO",
- "BUSD-AUCTION",
- "BUSD-UNI",
- "USDT-INJ",
- "USDT-STG",
- "USDT-FOOTBALL",
- "USDT-SPELL",
- "USDT-1000LUNC",
- "USDT-LUNA2",
- "BUSD-AMB",
- "BUSD-PHB",
- "USDT-LDO",
- "USDT-CVX",
- "USDT-APT",
- "USDT-QNT",
- "BUSD-APT",
- "USDT-BLUEBIRD",
- "USDT-FET",
- "BUSD-AGIX",
- "USDT-FXS",
- "USDT-HOOK",
- "USDT-MAGIC"
]
}