Edit Trailing Stop (PATCH)
Edit Trailing Stop
This API is used to edit a trailing stop task
URL
https://api-bot-v1.dbotx.com/automation/trailing_stop_order
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
Request Response
Request Parameters
id: Limit order id
enabled: Task enable status, true/false
amountOrPercent: Sell ratio of the token
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
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
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
maxSlippage: MAX slippage tolerance (0.00-1.00)
concurrentNodes: Number of concurrent nodes (1-3)
retries: Number of retries after failure (0-10)
Last updated