Simulator Copy Trading (POST)
Simulator Copy Trading
This API is used to create multi-chain copy trading tasks in simulator
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
Request Response
Request Parameters
enabled: Task enable status, true/false
name: Name of copy trading
chain: Blockchain (solana/ethereum/base/bsc/tron)
dexFilter: DEX to be copied, null means all, fill in the name to copy the corresponding DEX transaction, including: raydium_amm,raydium_clmm,raydium_cpmm,meteora_dlmm,meteora_dyn,pump,moonshot,orca_wp,uniswap_v2,uniswap_v3,pancake_v2,sunswap_v2,sunpump,ether_vista
targetIds: The wallet address to be copied (up to 10)
walletId: The simulator's walletId defaults to ""
enabled (buySettings): Buy task enable status
buyAmountType: Copy buy type, including: "fixed_amount", "fixed_ratio", "follow_amount"
maxBuyAmountUI: Max copy buy amount, the minimum is 0.001 SOL, 0.0001 ETH, 0.0001 BNB, and 1 TRX
buyRatio: Copy buy ratio (0-10), effective when copy buy type is fixed_ratio
reservedAmountUI: Stop loss amount (ETH/SOL/BNB/TRX), copy buy will stop when the balance below this amount
targetMinAmountUI: In the buy settings, it means the copy buy will only occur when smart money's buy amount is greater than this value; in the sell settings, it means the copy sell will only occur when smart money's sell income is greater than this value
targetMaxAmountUI: In the buy settings, it means the copy buy will only occur when smart money's buy amount is less than this value; in the sell settings, it means the copy sell will only occur when smart money's sell income is less than this value
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
maxSlippage: MAX slippage tolerance (0.00-1.00)
buyExist: Whether to continue to copy buy tokens already held
enabled (sellSettings): Sell task enabled status
mode: Sell mode, "mixed" means both copy sell and take profit / stop loss are enabled, "only_copy" means only copy sell is enabled, "only_pnl" means only take profit / stop loss is enabled
sellAmountType: "all" means sell all, "follow_ratio" means follow the ratio to sell, "x_target_ratio" means multiply the sell ratio of Smart Money by a fixed multiplier
sellSpeedType: Copy sell speed, invalid when mode is "only_pnl", can enter "fast" and "accurate", "fast" prioritizes speed but may result in the sell ratio being inconsistent with smart money. "accurate" prioritizes accuracy, but the sell speed may be slower
stopEarnPercent: Take profit percentage (0.5 means 50%), available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, sell the token when its price rises above this percentage
stopLossPercent: Stop loss percentage (0.5 means 50%), available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, sell the token when its price falls above this percentage
stopEarnGroup: Take profit group, available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, up to 6 supported, stopEarnGroup / stopLossGroup and stopEarnPercent / stopLossPercent only need to enter one
stopLossGroup: Stop loss group, available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, up to 6 supported, stopEarnGroup / stopLossGroup and stopEarnPercent / stopLossPercent only need to enter one
pricePercent: Price percentage (0.5 means 50%), when in the take profit group, it means how much up to sell, when in the stop loss group, it means how much down to sell, when in the trailing stop group, it means the retrace ratio (can't be greater than or equal to 1)
amountPercent: Sell Ratio (0-1, 0.5 means 50%), e.g. up 100% sell 50%, up 200% sell all, sell ratio needs to be set to 0.5 and 1, not 0.5 and 0.5
sellMode: Sell method, valid for EVM, when sell revenue is less than consumed gas, "smart" means don't sell, "normal" means continue to sell.
Last updated