Simulator Copy Trading (POST)
Simulator Copy Trading
URL
Header: X-API-KEY
(Please do not disclose your API Key to anyone. If you are at risk of losing it, please refresh it.)
Notes
X-API-KEY can be obtained in your "Dashboard", go to check: Dashboard
In the paging type interface, use the next field in the return value as the query parameter for the next page (if next == null, it means that paging has ended)
Request Example
{
"enabled": true,
"name": "task name",
"chain": "solana",
"dexFilter": [
"raydium_amm",
"pump"
],
"targetIds": [
"ECQwEUMk75pxgruroXKTfqMHL4Aoj622vEZxBtYu4gNt"
],
"walletId": "",
"buySettings": {
"enabled": true,
"buyAmountType": "follow_amount",
"maxBuyAmountUI": "0.1",
"buyRatio": 1.5,
"maxBalanceUI": 100,
"reservedAmountUI": 0.01,
"targetMinAmountUI": 0.1,
"targetMaxAmountUI": 0.5,
"priorityFee": "0.00005",
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"maxSlippage": 0.1,
"buyExist": false
},
"sellSettings": {
"enabled": true,
"mode": "mixed",
"sellAmountType": "all",
"sellSpeedType": "accurate",
"stopEarnPercent": 1,
"stopLossPercent": 0.5,
"stopEarnGroup": [
{
"pricePercent": 0.2,
"amountPercent": 0.5
},
{
"pricePercent": 0.8,
"amountPercent": 1
}
],
"stopLossGroup": [
{
"pricePercent": 0.2,
"amountPercent": 0.5
},
{
"pricePercent": 0.8,
"amountPercent": 1
}
],
"sellMode": "smart",
"priorityFee": "",
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"maxSlippage": 0.1
}
}
Request Response
{
"err": false,
"res": {
"id": "lus8bfug0040i2"
},
"docs": "https://dbotx.com/docs"
}
Request Parameters
Last updated