PPO agent (stable-baselines3) trained on Dec 2024 – Aug 2026 XAUUSD 1-minute bars (705,610 bars), evaluated on the held-out slice Sep 1 – Nov 26, 2026 it never trained on. Starting capital $10,000. Chart times are UTC (SGT = UTC + 8h).
Loading results…
Connecting…——Bid — · Ask — · Spread —Waiting for live ticks…
Live feed is price only. The agent is not trading live — its worth, buy-and-hold and difference lines and trade markers all end at the eval close (Nov 26). Live candles after that point are the current Biquote gold price, appended to the same chart; the amber LIVE marker shows where the historical eval ends and the live feed begins.
Connecting…—Waiting for the engine…
Live engine call. Every minute the PPO model reads the last 10 live Biquote 1-minute bars and outputs its target position: LONG (it would hold long) or FLAT (it would sit in cash). That is the model's call, not a price forecast — no price target, no confidence score. In the 3-month eval it said LONG for exactly 1 minute, so expect mostly FLAT. Inference only — nothing here trades.
Timeframe:
Loading chart data…
Lower pane: agent net worth minus buy-and-hold net worth, in $ — green when the agent is ahead of simply holding gold, red when behind. The zero line is marked.
Read this before judging the agent
TensorTrade does not predict price. The blue line is not a forecast — it is the agent's portfolio value as it traded (or, mostly, did not trade). The candles are the actual Dukascopy/HistData gold price.
The agent made exactly 1 trade in 3 months (bought 17 Nov 21:30 UTC at $3,854.07, sold 1 minute later at $3,853.91, −$28.58). One trade proves nothing about skill — the pipeline works, the agent is unproven.
It "beat" buy-and-hold only by sitting out a crash. Gold fell 19.76% in the eval window; a long-only agent that stays flat loses nothing while buy-and-hold loses $1,976. That is the structure of the action space, not trading skill.
Long-only, and the action is a toggle. BSH has two actions: target flat (0) or target long (1); a trade fires only when the target changes. There is no short and no hold action. Our v40-adx comparison run is sells-only, so any comparison is asymmetric by design.
Live engine call (from 30 Nov). The panel above is the same model running live: every minute it reads the last 10 Biquote M1 bars and outputs LONG or FLAT. LONG means it would hold long from here; FLAT means it would sit in cash. It is a direction call, not a price forecast, and it is not a trade — nothing is bought or sold.
The simulated commission is far higher than the 0.01% set in the script. Measured in a flat-price test: a full round trip costs about $55 on $10,000 at ~$3,900/oz (buy ≈ $16 from 2-decimal quantity rounding, sell ≈ $39 from TensorTrade's 0.01 oz minimum commission). The intended $1.05/trade never happens. A future run should use a 4-decimal gold instrument.
Did not beat v40-adx. v40-adx made +$412.58 (PF 2.70, 65 trades) on its Mar–Nov 2026 window; this agent made −$28.58 on Sep–Nov 2026 with 1 trade. Different windows and opposite directions, so the comparison is indicative only.
Visualisation and inference only. The live feed is price only and the engine call is the model's opinion, not an order. No live trading, no MT4/MT5 connection. The live Biquote price and candles keep the chart current, but the agent's worth lines end at the Nov 26 eval close — nothing on this page trades live.
Data: Dukascopy M1 (Mar–Nov 2026) + HistData M1 (Dec 2024–Feb 2026, verified bar-for-bar against Dukascopy on the March overlap). Eval candles aggregated to 1 hour for display; worth / difference series are the value at each bar close. Live candles are Biquote MID, ~$0.08 above these Dukascopy BID candles; the live tail starts when the page loads (Biquote's window is the newest ~5 hours, so earlier live minutes are not backfilled). Chart built with TradingView Lightweight Charts v4.2.0.