Create Limit Order (POST)
Last updated
Last updated
This API is used to create multi-chain limit buy and limit sell tasks
(Please do not disclose your API Key to anyone. If you are at risk of losing it, please refresh it.)
X-API-KEY can be obtained in your "Dashboard", go to check:
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)
{
"chain": "solana",
"pair": "BAS6Cv5qG2FnEQ8W1wXKGfU2r6MFAiSdgGgkUM7NsStE",
"walletId": "lus8auwp003zvg",
"groupId": "m53gevri055ird",
"settings": [
{
"enabled": true,
"tradeType": "buy",
"triggerPriceUsd": "0.022348210260",
"triggerDirection": "down",
"currencyAmountUI": "0.1",
"customFeeAndTip": false,
"priorityFee": "",
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"jitoEnabled": true,
"jitoTip": 0.001,
"expireDelta": 360000000,
"expireExecute": false,
"useMidPrice": false,
"maxSlippage": 0.1,
"concurrentNodes": 2,
"retries": 1
},
{
"enabled": true,
"tradeType": "sell",
"triggerPriceUsd": "1.5",
"triggerDirection": "up",
"customFeeAndTip": false,
"priorityFee": "0.00005",
"currencyAmountUI": 1,
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"jitoEnabled": true,
"jitoTip": 0.001,
"expireDelta": 360000000,
"expireExecute": false,
"useMidPrice": false,
"maxSlippage": 0.1,
"concurrentNodes": 2,
"retries": 1
}
]
}
{
"err": false,
"res": {
"ids": [
"lus8bfug0040i2",
"lus8bfug004166"
]
},
"docs": "https://dbotx.com/docs"
}
chain: Blockchain (solana/ethereum/base/bsc/tron)
pair: Address of the token or pair to be bought/sold
walletId: The id of the wallet to be used
groupId: Group id
enabled (buy): Buy task enable status
tradeType: Trade type, with values of buy and sell
triggerPriceUsd: Price (USD) that triggers buy / sell
triggerDirection: "down" means buy/sell below the trigger price, "up" means buy/sell above the trigger price
currencyAmountUI: When trade type is buy, fill in the buy amount (ETH/SOL/BNB/TRX), when tradeType is sell, fill in the sell ratio (0-1)
customFeeAndTip: "true" means both the priority fee (priorityFee) and the bribery tip (jitoTip) fields are valid, and the system will execute the transaction based on the provided values (null indicates automatic priority fee / bribery tip). "false" means that in turbo mode, only the priority fee (priorityFee) is valid, while in anti-MEV, only the bribery tip (jitoTip) is valid, and the system will allocate them automatically
priorityFee: Priority Fee (SOL), valid for Solana, empty string means use auto priority fee
gasFeeDelta: Extra added gas (Gwei), valid for EVM
maxFeePerGas: When the base gas exceeds this value, no transaction will execute (Gwei), valid for EVM chains
jitoEnabled: "true" means enable anti-MEV mode (Solana & Ethereum)
jitoTip: Bribery tip used by Anti-MEV (Solana)
expireDelta: Task duration, max 864000000 (milliseconds)
expireExecute: “true” means that when a task expires and is not triggered, the token will be bought or sold at the real-time price at that time
useMidPrice: "true" enables Anti-Spike mode using the 1-second mid-price as trigger price (not 100% guaranteed)
maxSlippage: MAX slippage tolerance (0.00-1.00), when buying, it represents the difference between the actual price and the expected price. When selling, it represents the difference between the expected price and the actual price, the difference multiplier = 1/(1-slippage), 0.5 means a maximum of 2 times the accepted spread, 1 means unlimited spreads
concurrentNodes: Number of concurrent nodes (1-3)
retries: Number of retries after failure (0-10)
enabled (sell): Sell task enabled status