backtest_wallet
FULL COPY: replays the copy of a wallet over a date window with the backtest engine of the wallet page on quantbloc.com (FULL COPY tab), same settings, same defaults, same results. Returns what the copy would have staked and returned at 4 fee levels (brut = gross, programme = + platform fees, net = + priority and Jito, tout_compris = + bot commission), the summary (winners, lowest point, worst drawdown, losing streak) and the token-by-token detail. Optional dev settings (dev_vendu_min_pct, dev_present, dev_vente_seuil_pct + dev_vente_vendre_pct): The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev). Optional entry/exit settings: hausse_max_pct, age_min_s / age_max_s, heure_debut / heure_fin, premiere_vente_pct (see each parameter). ASYNCHRONOUS: the first call starts the computation and returns etat=en_cours with estimation_restante_s (estimated seconds left); call again with EXACTLY the same parameters to get etat=pret (ready). etat=file = yours is queued (raison_attente says why, attente_estimee_s when it should start), call again later. A result already computed (on the site or here) is returned without recomputing and does not count against the limit. There is NO limit on the number of backtests: the only limit is the account's token budget, shared with the website (etat=limite_jour says when it is reached). One computation runs at a time per key (backtest and TP/SL optimisation alike): while one is running, wait for it to finish (call it again with its parameters), then start the next one; this is not a quota. Amounts in dollars, net of all fees at the tout_compris level.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"adresse": "<adresse>"
},
"name": "backtest_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bloc | No | Copier entry: end of block 0, +1 or +2 after the wallet's buy (default 0, like the wallet page) | |
| jito | No | Jito tip in $ per transaction (default 0.03; 0 to 10) | |
| mise | No | Fixed stake in $ per copied buy (default 30, max 10,000) | |
| page | No | Page of the token-by-token detail | |
| prio | No | Priority fee in $ per transaction (default 0.11; 0 to 10) | |
| achat | No | achete = copy its buys (default); cree = buy the tokens it creates | |
| depuis | No | Start of the window, YYYY-MM-DD, UTC, included (default: 30 days ago) | |
| jusqua | No | End of the window, YYYY-MM-DD, UTC, EXCLUDED (default: tomorrow; "from the 22nd to the 25th" = depuis 22, jusqua 26). Capped at tomorrow. | |
| lancer | No | false = only return what is already computed, never start a computation (default true) | |
| ventes | No | How its sells are copied: pct_sa_position (default) = sell the same % of my position as it sells of its own; pct_ma_position = sell my whole position at its first sell; pct_sa_vente = sell the same $ amount as it does; fixe = a fixed $ amount per sell (see vente_usd); none = never copy its sells | |
| adresse | Yes | Full wallet address (base58) | |
| mc_max_k | No | Maximum market cap at our entry, in thousands of $ (empty = none) | |
| mc_min_k | No | Minimum market cap at our entry, in thousands of $ (empty = none) | |
| mise_pct | No | Stake as a % of ITS stake (replaces mise; 0 < x <= 1000) | |
| par_page | No | Rows of the token-by-token detail (default 100, max 200) | |
| age_max_s | No | Buy only if the token is at most X seconds old at HIS buy (same age as age_min_s; age_min_s <= age_max_s). | |
| age_min_s | No | Buy only if the token is at least X seconds old at HIS buy (block time of his buy minus block time of the creation block, bounds included; 0 to 31622400; empty = no filter). Token created before our block archive (10/09/2026): its age is at least the time since the archive start; the buy passes age_min_s when that lower bound already reaches it (counted as age_borne_basse), is refused by age_max_s when the bound exceeds it, otherwise it is refused as unknown. Unknown age = buy refused (counted). | |
| delai_min | No | Sell X minutes after the copied buy (default 0 = never; max 10,080). TP CONFIG: used only with jamais=delai, default 30 | |
| heure_fin | No | Buy only if HIS buy is before this time of day, HH:MM, Paris time (empty = until 24:00) | |
| vente_usd | No | Amount sold in $ per sell when ventes=fixe (default 30) | |
| max_achats | No | Copied buys of the wallet PER TOKEN (default 1 = only its first buy on each token; 0 = all, max 1000). Not a limit on the number of backtests | |
| dev_present | No | true = buy only if the dev still holds the token before our entry block; false = only if he holds nothing (empty = no filter). Token transfers count here (tokens that left his wallet). The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev). | |
| heure_debut | No | Buy only if HIS buy is at or after this time of day, HH:MM, Paris time, block time (empty = from 00:00). With heure_fin: window [heure_debut, heure_fin[, across midnight if heure_debut > heure_fin; both equal is refused. | |
| delai_achat_s | No | Wait X seconds before buying (default 0; max 3600) | |
| commission_pct | No | Copy bot commission in % (default 0.5; 0 to 50) | |
| hausse_max_pct | No | Do not buy if OUR entry price is more than X% above HIS price right after his own buy (0 to 10000; empty = no filter). His price after = the chain reserves after his transaction, else the bonding-curve formula on his trade; when it is unknown the buy is refused (counted as refuses_hausse_inconnue). | |
| dev_vendu_min_pct | No | Buy only if the dev has ALREADY taken out at least X% of his position before our entry block (0 to 100; empty = no filter). A dev who never held the token does not pass, even at 0. The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev). | |
| premiere_vente_pct | No | At HIS first sell after our first copied buy, sell X% of OUR position (0 < x <= 100) instead of the `ventes` rule; later sells follow `ventes` (none = no other sell is followed). A sell triggered by the dev is never his first sell. | |
| dev_vente_seuil_pct | No | Exit: when the dev SELLS at least X% of his position in one transaction (0 = his smallest sell; 0 to 100), sell dev_vente_vendre_pct% of ours, at the price rule of copied sells. A token transfer is NOT a sell and never triggers it. Goes with dev_vente_vendre_pct. The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev). | |
| dev_vente_vendre_pct | No | Share of OUR position sold when dev_vente_seuil_pct triggers (0 < x <= 100) |