Strategies/VegasTunnel
VegasTunnelActive示例数据 · SAMPLE/strategies/vegas-tunnel
EMA tunnel trend-following on BTC/ETH 1H: enter on EMA12 breakout above the 144/169 tunnel when the 576/676 trend is up.
Backtest▼
Class
Algonics.Crypto.VegasTunnelAlgorithm
Source
Local folder · …/algonics/strategies
Market
Crypto · Binance spot
Registered
2026-09-12
Versions
7 · latest v7View history
Activated
✓ v7▼✓ v5▼✓ v3▼
Bots
2 runningView in Bots →
v7/Run #42▾Latest
All backtests (14)
Built 10-24 23:41✓ Activated▼2 runs · best +48.2%
Period
2024-01-01 → 2026-10-23 set in Run with options…
Started
2026-10-24 23:44:06
Ended
2026-10-24 23:45:48
Duration
1m 42s
Overview
Trades37
Logs
StatisticsLean statistics · Run #42
Total Trades37
Net Profit+48,210.00 USDT · +48.21%
CAGR+15.04%
Win Rate45.9% (17 / 0 / 20)
Sharpe Ratio0.97
Sortino Ratio1.64
Profit Factor3.81
Max Drawdown−4.4% · Recovery 162 d
More ▾
Equity & drawdownStrategyBuy & Hold BTCUSDTDrawdown
VARIANT · Status tooltip (①)
Status chip tooltip (hover on Active in the header, ①):
ActiveActive since 2026-09-30 · v3 first activated
VARIANT · Header ⋮ menu open (④)
Set inactive…No bots can be added; running bots keep running
Archive…Read-only; only when no bot is running
Strategy ⋮ (④): Inactive / Archived are set only here; Active / Draft follow version activation.
VARIANT · Backtest ▼ menu open (③)
Backtest▼
Run with options…Choose version and period
▼ of the header Backtest split button (③): one item, Run with options… → Run backtest dialog (03i).
VARIANT · Snackbars
v7 activatedUNDORun #43 startedVIEW
After Activate v7 (⑦) · after Backtest from the list page (03 ⑥)
VARIANT · Cascader open: v7 › Run #42 (⑥ ⑬ ⑭)
v7/Run #42▾
Versions
Search version
LATEST
v72 runs+48.2%›
ACTIVATED
✓v5Live · 3 runs+412.6%›
✓v3Paper · 2 runs+305.7%›
▸ Show 4 draft versions (v6, v4, v2, v1)
View version history→
Runs of v7
#43Running12%
#4210-24 23:44+48.2%
All backtests→
Left column, Versions (⑬): radio dot = version of the current run, › opens its runs on the right (hover or click). Groups: Latest (always shown, even as a draft), Activated (bot mode, run count, best Net Profit), then the draft versions collapsed. The search box filters by version number. A "Used by bots" group would list non-activated versions still used by a bot; there are none (bots need an activated version), so it is omitted. View version history → opens 01f.
Right column, Runs of v7 (⑭): only the selected version's runs, newest first, radio = current run (#42); completed runs show date and Net Profit without a status chip, a running run shows its progress, a failed run a red Failed chip. Clicking a run selects version and run in one go and closes the cascader (URL /strategies/vegas-tunnel/runs/43). Clicking a version row itself selects its latest completed run. All backtests → opens the Backtests drawer (03g) with every version.
Right column, Runs of v7 (⑭): only the selected version's runs, newest first, radio = current run (#42); completed runs show date and Net Profit without a status chip, a running run shows its progress, a failed run a red Failed chip. Clicking a run selects version and run in one go and closes the cascader (URL /strategies/vegas-tunnel/runs/43). Clicking a version row itself selects its latest completed run. All backtests → opens the Backtests drawer (03g) with every version.
VARIANT · Cascader open: version with no runs (⑮)
v7/Run #42▾
Versions
Search version
LATEST
v8draft · Built 10-25 23:20no runs›
ACTIVATED
✓v5Live · 3 runs+412.6%›
✓v3Paper · 2 runs+305.7%›
▸ Show 5 draft versions (v7, v6, v4, v2, v1)
View version history→
Runs of v8
▷
No runs yet
Built 10-25 23:20 · not backtested yet.
Run backtestVersion without runs (⑮): hypothetical case: a new version v8 (Built 10-25 23:20) has not been backtested yet. Hovering v8 shows the empty state in the right column with Run backtest (same as the header Backtest, runs v8 with the dates in code). v8 cannot be selected on its own because the page always shows a run; the current selection v7 / Run #42 stays until a run is picked. v7 is now a draft too and is listed under Show 5 draft versions.
VARIANT · v7 activated: chip clicked (⑦)
Built 10-24 23:41✓ Activated▼
DeactivateNot used by any bot
After Activate v7 the button becomes the green ✓ Activated ▾ chip; its menu has Deactivate. v7 is used by no bot → enabled (opens 03l). For v5 (vegas-btc-binance) it is disabled: Used by 1 bot.
VARIANT · Run ⋮ menu open (⑧)
Rerun this versionSame version, period and parameters
Download results JSON
Delete
VARIANT · Empty state: no backtest yet (⑯)
GridSpotDraft
Add description
Backtest▼
Class
Algonics.Crypto.GridSpotAlgorithm
Source
Local folder · …/algonics/strategies/GridSpot
Market
Crypto · Binance spot
Registered
2026-10-22
Versions
1 · latest v1View history
Activated
None yet
Bots
— activate a version first
No backtest yet
Results of this strategy appear here after its first completed backtest. The first run uses the period, symbols and capital set in the code.
Run first backtestUses the dates in code · Run with options…
Draft strategy, no completed run: no run card or sub-tabs; the header shows the grey Add description (②) and the info strip stays (Versions 1, Activated None yet, Bots: activate a version first). If runs exist but all failed, the run card shows the newest failed run instead (Failed variant below). Run first backtest = the header Backtest (no dialog).
VARIANT · Running (⑰)
v7/Run #43▾Running12% · ETA 1m 30s
All backtests (14)
Built 10-24 23:41Activate v72 runs · best +48.2%
Period
from code 2020-01-01 → today
Started
2026-10-24 23:47:12
Ended
—
Duration
0m 14s running
Overview
Trades
Logs
Right after ▶ Backtest (header or Run first backtest) the page selects the new run: URL /strategies/vegas-tunnel/runs/43, cascader v7 / Run #43 with the blue Running chip and progress (no Latest chip yet; Ended —). Overview and Trades are disabled until it completes; Logs streams live and is selected. When done the page refreshes to Run #43 (becomes Latest; no status chip once completed); the bare strategy URL keeps showing Run #42 until then.
VARIANT · Viewing an older run (⑱)
v5/Run #38▾Best · Net Profit
All backtests (14)
Built 10-20 14:28✓ Activated▼3 runs · best +412.6%
Period
2024-01-01 → 2026-10-23 set in Run with options…
Started
2026-10-20 14:40:05
Ended
2026-10-20 14:41:56
Duration
1m 51s
URL /strategies/vegas-tunnel/runs/38 (picked in the cascader or the Backtests drawer). An MUI Alert (info) above the run card; Back to latest goes to /strategies/vegas-tunnel. v5 is already activated, so the version line shows the green ✓ Activated ▾ chip instead of Activate, and its summary 3 runs · best +412.6%. No Latest chip; the Best · Net Profit chip marks the best completed run with the latest run's period. Sub-tabs and Statistics below are the same as on Run #42.
VARIANT · Failed run (v4 / Run #36)
v4/Run #36▾Failed
All backtests (14)
Built 10-08 09:06Activate v43 runs · best +388.9%
⚠Error: NullReferenceException in OnData (line 214)View in logs
Period
from code 2020-01-01 → 2026-10-08
Started
2026-10-08 10:31:02
Ended
2026-10-08 10:31:11
Duration
0m 09s
A failed run shows the red Failed chip and, under the divider, the error summary with View in logs. Activate v4 stays on the version line because it belongs to the version (v4 has completed runs: best +388.9%). Opening a failed run selects the Logs sub-tab, scrolled to the first error with the Error chip selected; Overview shows no statistics; Latest / the bare strategy URL skip failed runs.
VARIANT · Total Fees = 0 on crypto
⚠Total fees are 0 — no fee model set for crypto. Results may be optimistic.Learn more
MUI Alert (warning, standard) above the Statistics card; Total Fees itself stays a normal row behind More ▾.
Annotations: Deactivate confirm: a small MUI Dialog (444px), opened from Deactivate in the ✓ Activated chip menu, here on the version line of the run card (03e ⑦) after v7 was activated (the info strip now also lists ✓ v7); the same dialog is used from the info strip chips (03e ⑤) and 03f ⑤. ① Title Deactivate v7? and body It can't be picked when adding a bot. Activate never asks; only Deactivate needs this confirm. ② Cancel (text) closes the dialog. Deactivate (contained, error colour) removes the Activated flag and shows a Snackbar v7 deactivated; the version line shows Activate v7 again and the v7 chip in the Backtests drawer (03g) is no longer green. The menu item is reachable only when no bot references the version (running or stopped; deleted bots don't count); the server checks again on confirm, and if a bot pinned the version in the meantime an error Snackbar reads Used by 1 bot and nothing changes. Status: when the last activated version is deactivated, the strategy goes from Active back to Draft; a manually set Inactive or Archived stays unchanged. Here v5 and v3 stay activated, so VegasTunnel stays Active.
Sample data: versions, hashes, runs and bots are for illustration only. VegasTunnel is a hypothetical spot long-only example.
Sample data: versions, hashes, runs and bots are for illustration only. VegasTunnel is a hypothetical spot long-only example.