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). This is the commission-fix re-run (30 Nov): the first run used a 2-decimal gold instrument that charged ~$55 per round trip; this run uses 4 decimals (~$2.35). The first run's numbers are kept in the caveats below.
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. Note: the live engine still runs the first model — in the first run's 3-month eval it said LONG for exactly 1 minute, so expect mostly FLAT. The chart below shows the fixed re-run, a different policy that was long almost the whole eval. Swapping the engine to the new model needs a separate go-ahead. 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. The candles are the actual Dukascopy/HistData gold price.
The agent made 8 trades in 3 months — and was long almost the whole time (86,569 of 86,577 minutes). It bought on Sep 1 at $4,455.90 and held through the crash to $4,040.35, losing $919.41 on that first trade alone. 1 win / 7 losses, win rate 12.5%.
It matched buy-and-hold almost exactly. Final worth $8,020.76 vs buy-and-hold $8,023.76 — $3.00 worse. The agent is effectively a buy-and-holder in this window, not a trader.
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 first 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 engine was NOT swapped to the fixed re-run model.
The commission bug is fixed in this run. The gold instrument now uses 4-decimal precision, so a flat-price round trip costs ~$2.35 (verified before the run), not ~$55. The intended 0.01% per order now actually applies — the buy no longer loses ~$16 to quantity rounding and the sell no longer pays TensorTrade's 0.01 oz minimum commission (~$39).
First run, kept for comparison (same split, same seed, 2-decimal instrument): 1 trade, net −$28.58, final worth $9,971.42. It only looked better because the ~$55 round-trip friction taught the agent never to trade — it sat flat through the crash. The fix exposed the real policy: buy and hold long into a falling market. In training (Dec 2024–Aug 2026) gold mostly rose, so "stay long" was richly rewarded there; in the falling eval window it lost.
Did not beat v40-adx. v40-adx made +$412.58 (PF 2.70, 65 trades) on its Mar–Nov 2026 window; this agent made −$1,979.24 on Sep–Nov 2026 with 8 trades. 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.