Bots
Changelog
Every trading process that has lived on this account, what it does, and where the code sits now.
The August grid and the current Pumpstall grid are different programs. They share a file name
only inside engine/legacy, so the old exits keep importing the old script.
What is running
| Bot | Code | Status |
|---|---|---|
| Legacy | engine/legacy/legacy.py |
Running. Each of BTC, ETH, BNB, SOL, ADA, XRP, DOGE, LINK, AVAX, SUI, UNI, and AAVE has a short program and a long program. A deploy restarts them except BTC. The exit is the ratchet stop: it walks to the previous wall and locks 0.3% once the position is 1% in profit. The 70% partial is off. Account imbalance is 20%. A position on the heavier side closes once its profit covers the round-trip fee. A new entry and its safety orders on the lighter side are at most twice their normal size. PEOPLE was removed. BTC finishes the open trade and then stays off. |
| Short scanner | engine/pump_stall_scan.py |
Running. Supervisor pumpstall-watch-early. Opens the current grid as a short. |
| Long scanner | engine/pump_long_scan.py |
Running. Supervisor pumpstall-long. Watches for long setups. |
| Pumpstall grid | engine/orderbook_dca_grid.py |
Launched by a scanner when it takes a symbol. Not a process of its own. |
| Telegram | control bot | Running. Supervisor pumpstall-telegram. |
| API | local API | Running. Supervisor pumpstall-api. |
| Bookpair | engine/bookpair.py |
Manual. A deploy does not restart it. |
| Spot Bookpair | engine/bookpair_spot.py |
Off. Intended pairs: ETC, ADA, SOL. XRP and DOGE moved to Legacy. |
| Daygrid | engine/daygrid.py |
Stopped 21 November 2026. Legacy took BTC, ETH, BNB, and SOL. |
| Wickgrid | engine/wickgrid.py |
Off. Two live attempts, then left off. |
Legacy
The order-book grid as it stood on 25 August 2026, the last commit of the old repository. It reads the live book, places the base and the DCA on real walls, and manages the position with the ratchet exit: the stop walks to the previous wall, and once the position is 1% in profit it locks 0.3%. It does not sell 70% at the first wall. Wallet slice is 1%. Margin warnings are 5% soft and 8% hard. The hard path cancels that symbol’s own orders. It does not flatten other winners.
Each symbol runs two processes, one long and one short, in hedge mode. Their orders and exit state are separate, so one side does not cancel the other. New size on the heavier side of the account is blocked once longs and shorts differ by more than 20%. The lighter side is still allowed. A deploy restarts the programs. A config save does not. The scanners leave any symbol it is supervising alone.
Pumpstall grid
The same idea, evolved inside this repository from September onward. The scanners launch it.
Size, gap, stop reference, and safety-order count come from the stack on
/config. The exit in use is ratchet. The entry stop stays beside the partial
take-profit and closes the whole position. A config save restarts these child processes.
Daygrid
Counts 0.1% rows on the 1-minute chart and arms one order per side per UTC day on the fat row. The take-profit is the floor of that row. A 0.05% stop is latched from the plan tip after the fill. The 0.12% fee is only a gate: if the row is thinner than the fee, that side is not armed. The live limit is not padded by the fee. On 21 November a backtest of 21 May–20 November showed most closes were that stop, and fees were most of the loss. It was stopped the same day.
Wickgrid
Fades a wick back into the prior range. Turned off after the second live attempt. Combined result of both attempts: about −0.12 USDT.
Bookpair
A separate book process, futures and spot. It is not folded into the grid. Hedge mode. A catastrophe stop locks new stars. A risk fill does not. The recovery take-profit has no cap. Spot and futures are started by hand and survive a deploy.
Timeline
- 29 July 2026 — This repository starts. Site and the short scanner.
- 31 July — Help and privacy pages.
- 3–25 August — Exit modes, size boost, risk-reduce, margin, volatility regime. The old repository’s last commit, 25 August, is the script now called Legacy.
- 16 September — Paper mode, entry size, stack overrides, Telegram, safety-order count. The grid inside Pumpstall diverges from the August script.
- 1–6 November — Futures and spot history, martingale page, fixed stop, long scanner, spot ratchet.
- 18–19 November — Position risk, the gap in front of the stop, and dropping a DCA that would sit past the stop.
- 20 November — The entry stop stays beside the partial take-profit. Daygrid goes live on BTC, ETH, BNB, and SOL. Wickgrid’s second attempt is left off.
- 21 November — Daygrid backtest. Daygrid stopped. Legacy restored into
engine/legacyand pointed at BTC, ETH, BNB, SOL, PEOPLE, ADA, XRP, and DOGE.dca-futures@PEOPLEUSDTdisabled the same day. - 23 November — A flat Legacy short no longer cancels the long side’s resting orders on the same symbol. That loop was re-arming the XRP long DCA about once a minute and repeating the same Telegram.
/tradessets how many open positions each side may have. Longs and shorts are counted apart. A new entry waits at that number. An open trade and its safety orders stay. A supervisor error on Telegram is a short English note. A conditional order that Binance would fill immediately says the position stays open and the next poll tries again. The admin chat receives the USDT result of a take-profit fill and of a close. The public channel stays on percent only. The fixed loss stop sits on the next book wall past a 24% move against the entry. That percent is what a 50 USDT loss was on the open book. When that wall is outside the visible book, the stop stays on the 24% price. Spot runs BTC only, long, on that same order-book grid, and Supervisor starts it again after a reboot. - 27 November — A Legacy position at least four times the order, and already 0.3% in profit, locks that breakeven stop without waiting for 1%. The 24% loss stop stays. While a position is in profit, a new grid order past its average is not placed, and one already resting there is cancelled.
- 26 November — A Legacy entry that is still waiting on the book counts toward
/trades, and the slot is reserved before the order is sent. Two flat symbols can no longer both take the last free place on a side. An open trade and its safety orders stay. A re-entry cooldown starts only when the close lost more than 1%, and it lasts at most 4 hours./portfolioshows the futures book and the spot wallet, with long and short columns. Pumpstall, short and long, reads that book over REST the way Legacy does, and does not open a websocket. It also does not open a pair listed inLEGACY_PAIRS, even when that Legacy program is stopped. The soft and hard margin on/configare what decide whether a new star opens live. A hedge-mode liquidation printed on the wrong side of the mark no longer stops a new Pumpstall grid. The 3% position stop sits on the next book level past that price, and stays on 3% when the book does not reach it. - 25 November — A new Legacy entry on the lighter side can grow by up to 100% of its normal size when the account is past the imbalance limit. The extra still stops at the USDT needed to reach that limit. Each safety order on that side takes the same increase, so it does not stay at the old size. Legacy closes with the ratchet stop instead of the 70% partial. Once the position is 1% in profit the stop locks 0.3%, then it walks to the previous wall as that wall breaks. The 24% loss stop stays. While one side is past the imbalance limit, that side's loss stop moves further out by the profit on the other leg of the same symbol, and comes back when that profit shrinks. No position is closed for this.
PAIR_BALANCE=0leaves the stop at 24%. - 24 November — Spot BTC sells 70% on the next ask wall past +0.3% of the average. The other 30% stays in the trade, keeps buying lower walls, and its only stop is the 24% loss. Spot will not accept a stop that far, so that stop sits 20% under the market, the furthest Binance allows. A holding below the 5 USDT minimum is flat, and the buy ladder goes back on the book. A buy that rounding would leave under that minimum is raised to the next quantity that clears it. Each spot order is 10 USDT.
- 22 November — Legacy also runs LINK, AVAX, SUI, UNI, and AAVE, so the long side can catch up while the account is short-heavy. The first take profit sits on the next opposite book wall past +0.3%. PEOPLE left Legacy. BTC left and then came back, short and long, so the open short continues.
/volumesummarizes the Legacy pairs by 24h volume, with price, the day's change, the spread, and the account imbalance. A deploy restarts Legacy one program every 10 seconds. When the account is past the imbalance limit, a position on the heavier side closes as soon as its profit covers the round-trip fee. A position still at a loss stays open. A new entry on the lighter side grows by at most half its normal size, and the safety orders stay unchanged./sizechooses a wallet percent or a fixed USDT amount for each Legacy order. BTC runs one cycle: the open long and the open short finish, and those programs stay off. One Telegram warns when the margin ratio reaches 5%, and again at 8%, with the available balance.
Retired
dca-futures@PEOPLEUSDT is disabled and inactive. It no longer restarts
anything. Legacy does not read the old directory, so that directory can be deleted.