Execution mode
Demo mode logs every signal and sizes the position, but sends nothing to the exchange. Real mode places actual orders with the API key in this server's .env.
Fees are subtracted from every recorded P&L, in demo as well as real — otherwise the paper account compounds on money it never had. They are charged on notional, so leverage multiplies them: at 10× a market in and out costs 0.1% of notional, which is 1% of the margin, i.e. 1% ROI. Both sides are charged at the taker rate, because the entry is a market order and the stop and target execute at market when they trigger.
In demo the engine trades this paper account and does not read the exchange balance at all — so your own positions on the exchange can neither size its trades nor trip its daily-loss cap.
Side filter
The two manual switches below, plus an optional automatic mode: the same two sides switched off automatically from the Net Pressure reading instead of by hand — trend-following, the opposite direction from the Net Pressure gate card's contrarian rule, with its own timeframe, source and thresholds, independent of the gate.
Trading styles
A style decides when to trade — position size and risk are set once, in the Risk card below. Enabling a style starts it on the engine's very next scan; disabling one stops it just as immediately. Confirmed requires the 4h bias to agree, independent does not. Auto executes by itself, manual waits for approval in the desktop panel's Position tab.
Settings opens that style's own inputs — lengths, thresholds, filters. They apply to the running engine immediately; the stop and target always come from the Risk card, whatever a style's own geometry says.
Webhook: … — Pine / webhook styles only get signals while the TradingView
webhook is on. There is no switch here on purpose: turning it on is an edit of the server's config.yaml
(app.webhook.enabled: true) plus an engine restart.
| Enabled | Style | Mode | Execution |
|---|
Runs & history
A run is a stretch of trading under one set of settings. Starting a new one records the settings in force and makes every statistic, the drawdown and the daily loss cap count from that moment — so a fresh test is never held back by the previous one’s losses. Nothing is deleted: the Performance page can still show any earlier run, which is the only way to tell whether a change actually helped.
Start a new run
Risk
Every position, from every style, is sized here — a trading style decides when to trade, never how much. You set how many positions may run at once, how many of those may sit on the same symbol, and how much of the balance may be committed in total; the engine divides that into the size of one position.
Where a trade ENDS is not here — the stop, the target and the trailing stop are all in the Exit card below. Casper (2026-09-16): they were split across two cards and it was not clear which one won.
Scanning & monitoring
How often the engine pulls candles, and how often it checks open positions against your +TP/-SL rule.
Top-Movers agent
The agent that scans whatever is currently topping the liquidation Buyers/Sellers lists, on its own timeframes, in addition to the fixed symbol list below. Ranking decides which of the three metrics orders that list; it has no effect on the fixed symbols, which are always scanned.
Refused signals are still logged, with side lock beside them on the Preview page, so Performance can tell you later what the lock cost. It applies to every style, including Liquidation Exhaustion — that one fades the cascade, so on a Buyers-list symbol it wants to short and the lock will refuse it. The fixed symbol list and TradingView alerts are unaffected: they carry no side.
Symbol filter
What the engine refuses to trade at all. A coin the exchange cannot price has
no enforceable stop — the monitor has nothing to compare against, and the position runs
until someone notices. That is exactly how 牛来/USDT reached −94% of margin
with a correct 1% stop in place. Filtered symbols are skipped before any candles are fetched,
and a signal that slips through from the webhook is logged as rejected with the reason.
Symbols scanned
One symbol per line, exactly as the exchange names it (e.g. BTC/USDT). These are scanned every cycle whether the Top-Movers agent is on or off — the two are parallel sources, and a signal from this list shows as fixed list on the Preview and Performance pages. Leave the box empty to scan only what the agent finds.
Net Pressure gate
Uses the Net Pressure line from the liquidations feed to decide which direction the engine is allowed to take. The rule is contrarian in both directions: deep negative means longs are being flushed, so only longs are opened — you are buying the capitulation, not joining it — and deep positive means shorts are being squeezed, so only shorts are opened. A refused signal is still written to the log as rejected, with the reading in its note, so the Performance page can show what the gate cost.
Exit
How a trade ends, in the order it happens. Every number here is ROI on the margin — the same percentage the Positions page shows, not a move in price. At 10× leverage, 10% ROI is a 1% move.
1 · When it opens — the levels every new position starts with.
2 · Once it is winning — the stop climbs into profit and the target moves up with it (or steps aside).
Move up: the target stays the same distance above the stop — each rung the stop climbs, the target climbs too (stop +5% / target +40%, then +10% / +45%, ...). The gap is the position's own initial target + stop unless you set one here; it must be larger than Step + (Arm at − Lock in), or a new target could land at or below the price and fill at once. Remove: the target disappears when the trail arms (the old behaviour).
3 · Manual positions — the trail for positions you open from the Positions page. Separate from the bot’s above, with its own Save: it can be set up whether the bot’s trailing is on or off and whether the engine is in Bot or Manual mode. Their initial stop and target are the card’s own Stop % and Take-profit %; what the target does when the trail moves is set below (positions adopted from the exchange trail by these settings too).
Users
admin: everything, this card included. trader: every page, the Create
position card, and Trail / Set TP / Close on manual and External positions — no settings, no Bot/Manual
switch, no Force Close All, no bot positions. viewer: looks only. The admin account
and the last admin cannot be deleted, disabled or demoted; nobody can delete or disable themself.
Changing a password or disabling a user logs them out everywhere at once.
| User | Role | Status | Created UTC | Last login UTC | Sessions |
|---|
Create a user — username 3–32 characters (letters, digits,
_ . -, unique whatever the case), password at least 8 characters.
Change my password
For the account you are logged in as (—, —). Every session of this account is logged out afterwards, this one too — log in again with the new password.