止盈止损任务列表-快速买卖(GET)
Last updated
Last updated
此API用于获取用户快速买卖创建的所有止盈止损任务
(请不要向任何人透露APIKey,如有遗失风险,请刷新)
{page} 0 / 1 / 2 ...
{size} 10 /20 (max 20)
{chain} solana / ethereum / base / bsc / tron
{state} init / done / expired
{sourceId} fast buy / sell record id
{token} token address
在分页类型的接口中, 通过返回值中的next字段, 作为下一页的查询参数(如果next == null, 意味着分页已经结束)
{
"err": false,
"res": [
{
"accountId": "vd1l2ge6ac1dxh",
"id": "n1v50h7hfkt0e1",
"enabled": true,
"state": "init",
"chain": "solana",
"tradeType": "sell",
"basePriceUsd": 0.1,
"triggerDirection": "up",
"triggerPriceUsd": 0.12,
"triggerPercent": 0.1,
"txPriceUsd": 0.125,
"currencyAmountUI": 1,
"initPnlPercent": 0.1,
"pair": "pair address",
"pairType": "raydium_amm",
"walletId": "lus8auwp003zvg",
"walletType": "solana",
"walletAddress": "your wallet address",
"walletName": "your wallet name",
"source": "follow_order",
"sourceGroupIdx": null,
"sourceId": "m21gjuks052ojs",
"sourceTradeId": "m21gjuks052ojs_m3je3fglq21so1",
"customFeeAndTip": false,
"priorityFee": null,
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"jitoEnabled": true,
"jitoTip": 0.001,
"maxSlippage": 0.1,
"expireAt": 1731324301348,
"expireDelta": 36000000,
"useMidPrice": false,
"concurrentNodes": 2,
"retries": 1,
"errorCode": "",
"errorMessage": "",
"currencyInfo": {
"contract": "So11111111111111111111111111111111111111112",
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"totalSupply": null,
"icon": "icon url",
"createAt": null
},
"tokenInfo": {
"contract": "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump",
"createAt": 1728554501806,
"name": "token name",
"symbol": "token symbol",
"decimals": 6,
"totalSupply": "1000000000000000",
"icon": "icon url",
"freezeAuthority": null,
"mintAuthority": null
},
"links": {
"etherscan": "scan link",
"dexscreener": "dexscreener link",
"uniswap": "swap link"
}
}
],
"docs": "https://dbotx.com/docs"
}
accountId:用户id
id:任务id
enabled:任务启用状态,true/false
state:订单状态,init:初始化,processing:进行中,done:已完成,fail:已失败,expired:已过期
chain:链 (solana/ethereum/base/bsc/tron)
tradeType:交易类型,值为buy和sell
basePriceUsd:代币的买入价格
triggerDirection:“down”表示低于触发价格时执行买入/卖出,“up”表示高于触发价格时执行买入/卖出
triggerPriceUsd:触发买入/卖出的价格(美元)
triggerPercent:实际止盈止损比例
txPriceUsd:实际买入/卖出的价格(美元)
currencyAmountUI:交易类型为buy时,填写买入金额(ETH/SOL/BNB/TRX),交易类型为sell时,填写卖出比例(0.00-1.00)
initPnlPercent:初始止盈止损比例
pair:交易对合约地址
pairType:来源于哪个DEX
walletId:需要使用的钱包的id
walletType:钱包类型 (solana/evm)
walletAddress:钱包地址
walletName:钱包名称
source:"follow_order"表示此任务由跟单创建,"swap_order"表示此任务由快速买卖创建
sourceGroupIdx:分段止盈止损任务编号 (从0开始)
sourceId:若任务由跟单创建,此参数为跟单任务id,若任务由快速买卖创建,此参数为快速买卖记录id
sourceTradeId:若任务由跟单创建,此参数为跟单记录id,若任务由快速买卖创建,此参数为快速买卖记录id
customFeeAndTip: "true"表示优先费 (priorityFee) 和贿赂费 (jitoTip) 两个字段均有效,系统将按填写的值执行交易 (null表示自动优先费/自动贿赂费),"false"表示高速模式下只有优先费 (priorityFee) 有效,防夹模式下只有贿赂费 (jitoTip) 有效,系统将自动进行分配
priorityFee:优先费 (SOL),对Solana有效,空字符串表示使用自动优先费
gasFeeDelta:额外增加的gas (Gwei),对EVM链有效
maxFeePerGas:基础gas超过此值时将不进行交易 (Gwei),对EVM链有效
jitoEnabled:"true"表示启用防夹模式(Solana & Ethereum)
jitoTip:防夹模式使用的贿赂费 (Solana)
maxSlippage:最大滑点(0.00-1.00)买入时表示实际成交价格和期望价格之间的差距,卖出时表示期望价格和实际成交价格之间的差距,相差倍数=1/(1-滑点),0.5即最多接受2倍价差,1 即不限制价差
expireAt:任务过期时间 (毫秒时间戳)
expireDelta:任务有效时长,最大值为864000000 (毫秒)
useMidPrice: "true"表示启用防插针模式,将使用1秒内的中间价格作为触发价,会尽可能但无法100%保证避免插针
concurrentNodes:并发节点数(1-3)
retries:失败后的重试次数(0-10)
errorCode:错误类型
errorMessage:错误信息
currencyInfo:主币信息
tokenInfo:代币信息
link:本次交易的相关链接
X-API-KEY可以在您的"控制台"中获取, 前往查看: