TB
Trading Bot

Dashboard

PAPER AUTO
Automated PAPER EngineStartingReal market · simulated execution
StrategySwing Trend Following + Order Block v1.0
Cadence5 min
Last Cycle
Last Decision
Browser Alerts
Operational Control

New Market Entries

Swing entries stay locked until the BTC walk-forward Backtest returns PASS.

BACKTEST REQUIRED
GlobalValidation lock
Swing TradingBacktest pending
Day TradingPhase 0 locked
The engine keeps analysing real market data. New PAPER entries remain blocked until walk-forward validation passes.
BTC/USDTWaiting for price

Macro Overview

Global PAPER account and current strategy validation status. Detailed performance remains in Statistics.

GLOBAL

PAPER Account

ALL TRADING
Equity i
Total P&L i
Open Trades i0 / 0
Percent Profitable i
Profit Factor i
Drawdown i0.00%
SWING

Crypto Swing Trading

BACKTEST PENDING
Realized P&L0.00 USDT
Open P&L0.00 USDT
Open Trade0 / 1
Percent Profitable
Profit Factor
Drawdown0.00%
DAY

Crypto Day Trading

PHASE 0 LOCKED
Realized P&L0.00 USDT
Open P&L0.00 USDT
Open Trade0 / 1
Percent Profitable
Profit Factor
Drawdown0.00%

Open Positions

Entry, Mark, P&L, Stop Loss, Take Profit, Liquidation Price and protection distances.

No open positions.When a trade opens, its full position details appear here like a trading terminal.

Crypto Swing Trading

BACKTEST PENDING
1D · Market StructureNO SIGNALrequires confirmed HH/HL or LH/LL trend
4H / 1H · Order BlockWAITINGBOS impulse ≥ 1.5× ATR(14) + valid Discount/Premium
1H · ConfirmationWAITINGpullback into OB → CHoCH → BOS

Current Strategy

Swing Trend Following + Order Block · v1.0 · Phase 0

BACKTEST PENDING

A estratégia confirma primeiro a Market Structure no 1D: pelo menos 2 Higher Highs + Higher Lows para LONG ou 2 Lower Highs + Lower Lows para SHORT, usando swings confirmados. Depois procura um Order Block válido em 4H ou 1H: tem de resultar de um BOS por close, com impulso ≥ 1.5× ATR(14), estar em Discount para LONG ou Premium para SHORT e continuar não mitigado. FVG aumenta a prioridade, mas não é obrigatório. A entrada só é aceite depois de pullback ao OB e confirmação 1H CHoCH → BOS. Sem trend clara ou sem todas as confirmações, o output é explicitamente No Signal.

Crypto Swing Risk Management

Current Risk: 1.74 USDTMaximum 1 active logical Swing trade.
Default: 2% of current PAPER equity.
Default: 1:2.
Default 1×. App maximum: 10×.
Default Swing: 5%.

Crypto Swing Rules

Objective Phase 0 rules + non-disableable protections

  • New entries remain locked until positive walk-forward validation.
  • Maximum 1 active Swing trade after validation.
  • Stop Loss behind the protective swing / OB with a 0.25× ATR(14) buffer.
  • Minimum planned R/R: 1:2; maximum holding period: 14 days.
  • Liquidation Safety, no martingale and no automatic averaging down.

Crypto Day Trading

PHASE 0 LOCKED
Phase 0LOCKEDno Day Trading signals are generated
Next prerequisiteSWING EDGEpositive walk-forward validation required
Future activationNOT IMPLEMENTEDonly after Swing validation

Current Strategy

Planned Day Strategy · Not implemented

PHASE 0 LOCKED

O plano para Day Trading é Breakout / Opening Range + Liquidity + Order Block, usando 1H para direction/context, 15m para setup e 5m para entry. O breakout exigirá candle close + volume ≥ Volume MA(20); Liquidity Sweep será definido por quebra de equal highs/lows seguida de close de volta ao range; a entrada será procurada no retest com 15m/5m Order Block como confluência. Esta lógica está apenas documentada: não gera signals nem trades enquanto a estratégia Swing não demonstrar edge positiva em walk-forward.

Crypto Day Risk Management

Phase 0 lockedDay risk settings are reserved for a later validation phase.
Default: 2% of current PAPER equity.
Default: 1:2.
Default 1×. App maximum: 10×.
Default Day: 4%, independent from Swing.

Crypto Day Rules

Phase 0 lock

  • No Day signals or entries are generated in Phase 0.
  • Breakout/Retest and Mean Reversion are also not active.
  • Day Trading is only implemented after positive Swing walk-forward validation.
  • When activated later, the same centralized Risk Engine and safety rules will apply.

BTC Swing Walk-Forward Backtest

Objective validation of Swing Trend Following + Order Block v1.0 before PAPER entries are allowed.

PENDING

Validation Method

BTC/USDT only · frozen strategy parameters · out-of-sample testing

The test uses 48 completed months of BTC/USDT SPOT history from Bitget. Each validation window sees only the preceding 12 months of market context, then simulates the next 3 months out-of-sample. The strategy parameters are not optimized to fit the past. Fees, slippage and modeled Margin interest are included.

MarketBTC/USDT only
Historical sample48 months
Walk-forward12m context → 3m OOS
Expected windows12 independent periods
PAPER remains locked until the validation gate passes.
Ready to run.0%
Closed Trades
Percent Profitable
Profit Factor
Expectancy
Net R
Max Drawdown

Validation Gate

A PASS requires all criteria. An INCONCLUSIVE result means the sample is too small; it is not treated as a pass.

NOT TESTED
Run the BTC backtest to evaluate the gate.

Out-of-Sample Windows

Each row is a separate 3-month BTC validation period using only the preceding 12 months as context.

0 / 12
#Test PeriodTradesPercent ProfitableProfit FactorExpectancy RNet RMax DD
No completed windows yet.

Backtest Trades

Recent simulated out-of-sample trades, including the reason for entry and exit.

0 trades
WindowSideEntryExitP&L RP&LEntry ReasonExit Reason
Run the backtest to generate simulated trades.
Day Trading, Breakout/Retest and Mean Reversion remain locked in Phase 0. A successful Swing backtest only unlocks Swing PAPER; it does not unlock LIVE trading.

PAPER History

All trades simulated by the automated engine using real market data and modeled costs.

0 trades

No trades yet

No PAPER trades have been recorded yet. Swing entries only begin after a PASS Backtest and explicit PAPER activation.

Performance Analytics

Trade-by-trade, daily, weekly and monthly analysis for Global, Swing and Day Trading.

ACTIVE SESSION

Period Performance

Aggregated by Portugal time. Filters do not trigger new database reads.

GLOBAL · DAILY
PeriodTradesPercent Profitable iNet P&LProfit Factor iAvg. R iBestWorstAvg. Duration
Open Statistics to load analytics.

Trade-by-Trade Analytics

Latest 100 closed trades. Full session data and a ready-to-use AI analysis prompt are available through Export AI Dataset + Prompt.

0 trades
TradeResultNet P&LR Multiple iReturnPlanned R/RDurationCostsEntry ReasonExit Reason
No closed trades yet.

Exit Analysis

How trades are being closed and the P&L associated with each exit condition.

No closed trades yet

LONG vs SHORT

Performance by trade direction for Global, Swing and Day Trading.

No closed trades yet

Global Settings

Shared by both trading modes

PAPER starting capital is captured automatically from Bitget Margin when a new PAPER session starts and is not user-editable. Risk settings are synchronized with Supabase.

Global Protections

Independent from the strategy

GLOBAL
Mandatory Stop LossAll trades
Liquidation SafetyWhen borrowing
Emergency Margin StopSecond safety layer
Leverage safetyHigher leverage = larger safety buffer

Position Manager

Coordinates Crypto Swing and Crypto Day

GLOBAL
Crypto Swing Slot0 / 1 active
Crypto Day SlotLocked · Phase 0
Exposure ConflictNo position
LIVE ExecutionUnavailable · READ-ONLY API

System Architecture

Replaceable strategies, centralized safety

Crypto Strategy SwingSignal ManagerRisk EnginePosition ManagerBitget
Crypto Strategy Daylocked until Swing validation

Services

Infrastructure Status

Supabase AuthConnected · private access
DatabaseSupabase · RLS active
FrontendCloudflare Pages
Paper EngineAutomatic · checking
Bitget READ-ONLYWaiting for connection

Safety Status

Non-disableable rules

LIVEUnavailable · READ-ONLY API
MartingaleDisabled
Averaging downDisabled
Logical Maximum0 new entries until Backtest passes · then 1 Swing

Bitget Connection

Private account in read-only mode

NOT CONNECTED
Account Mode
Available USDT · Margin
Margin Debt
Open Margin Orders
Active SL/TP
Trade read-only
Last Sync
Order ExecutionDisabled · READ-ONLY key

PAPER Engine

Autonomous 24/7 execution in Supabase

ACTIVE
StrategySwing Trend Following + Order Block v1.0
Cadence5 minutes
Last Successful Cycle
Last Action
ErrorNone
PAPER is automated and uses real market data but does not send orders to Bitget. LIVE remains unavailable because the current API key is READ-ONLY.