Ledgers and snapshots
Vanguard dashboard
The Python web server supplies the phone browser with Today, Chart, Bots/Goal, Claude and Research views. The operator can inspect bot health, decisions, trades and alerts.
A gold day-trading lab. Its bots watch the market opens, record what they would trade, and replay the session so the team can check each decision.
Shadow and trial run · simulated orders only Walk through a simulated tradeVanguard connects a demo broker to a Python trading engine. The engine records simulated decisions for the operator to inspect and the research team to replay. These maps describe the build and deployment records as of .
One account worker coordinates the bots. Read down to follow the data from the broker to the two places where people inspect the result.
The broker supplies XAUUSD prices to the MT5 desktop terminal. Vanguard’s broker adapter reads candles, quotes and symbol specifications through the official MetaTrader5 Python package.
Closed candles and bid/ask quotes
Account, instrument and bot configurations tell the worker what to load. It polls MT5 and coordinates one runner per bot. The Market Picture combines 5-minute, 15-minute, 1-hour and 4-hour views of sessions, structure, liquidity and price zones.
Shared market context
Each bot evaluates its own entry rule. The sizing and risk components check lot size, stop distance and shared exposure. Exit logic manages targets and, for eligible strategies, a ladder of partial exits. Shadow and trial-run decisions are simulated.
Decisions, simulated fills and worker status
Per-bot ledgers retain trades and decisions. The account ledger tracks worker state. Snapshots carry the Market Picture and bot stances. Shadow captures preserve inputs and event order for comparison.
Ledgers and snapshots
The Python web server supplies the phone browser with Today, Chart, Bots/Goal, Claude and Research views. The operator can inspect bot health, decisions, trades and alerts.
Historical exports or captured inputs
Replay runs the shared strategy and exit rules. Walk-forward tests apply trading costs, the comparator checks shadow events, and reports summarize performance, drawdown and promotion evidence. The final holdout stays locked.
Advisory inputs. The calendar reader uses Vanguard’s read-only MT5 MCP gateway for economic events and clock information. The optional pre-open Analyst uses the Anthropic Claude API for shadow briefings, with a spending ledger and an owner-set cap. The model receives selected context. Its briefing is recorded for evaluation.
The current source, six bot configurations, fake broker, offline tests, Time Machine and handbook source live in the development workspace. The app, the contributor ZIP and the handbook each have their own release path.
Owner-approved application release
Sydney · Windows Server 2022 · Python 3.13. An approved Git release supplies the application checkout. A Windows Python virtual environment runs Vanguard Engine and Vanguard Dashboard alongside the MT5 desktop terminal and Python bridge. Ledgers, snapshots and logs stay on the Windows host.
Last recorded Windows release
Five bots and the earlier dashboard. Current worker and terminal health await a Windows check.
Contributor ZIP, shared directly
macOS, Linux or Windows · Python 3.9+. The local launcher starts the sample dashboard with generated prices and an in-memory journal. A 47-candle fixture drives the offline replay.
Kit verified on Linux
The sample produced one simulated entry and close. A teammate can reproduce it independently.
Static handbook build
Public documentation environment. The handbook generator assembles the standalone diagrams, HTML guides, stylesheet and Markdown downloads. A saved Sites version publishes those files.
Public team release
The interactive walkthrough runs in the reader’s browser from the published HTML.
Solid connectors show the prepared kit and published handbook. The dashed connector marks the newer application build awaiting an approved Windows deployment and recovery rehearsal.
This is the route serving this diagram. Page navigation runs locally in the browser and makes no calls to the trading account.
The dashboard reads worker state on Windows and returns a read-only view over the tunnel. The authorized operator sees the private trading records.
Market data returns along this connection. The configured simulation modes record hypothetical trades. Any future supervised demo requires evidence, owner-set risk limits and separate approval.
Project coordination. The development dashboard is a local HTML page on the Mac. A private ChatGPT Page carries the mobile progress and decisions handoff. Its Team link opens the public handbook above.
Tokyo open, 10 July 2025. Follow a simulated buy from the first market input to the final replay check. Choose a stage or use Next to follow the trade in order.
The input is an Exness export of gold priced in US dollars (XAUUSD). In this historical reconstruction the worker sees five-minute candles and bid and ask quotes rebuilt from recorded spreads.
Handoff · The closed candle and reconstructed quote go to the worker.
Vanguard groups closed five-minute candles into longer views. Its Market Picture gives bots a shared view of the session, trend and price zones. This bot’s entry rule uses the Tokyo opening range.
Handoff · The bot can read the shared picture and track its own opening range.
The frozen Asian breakout bot marks the high and low of the first 30 minutes after Tokyo opens. The 00:30–00:35 candle closed above that range and triggered a buy setup.
Handoff · The strategy passes the proposed buy and its price levels to the account checks.
The worker checks whether the position size and stop fit the account’s configured limits. This historical setup qualified for 0.01 lot. The distance from entry to stop put $3.74 at risk in the simulation.
Handoff · The shadow worker records an entry at 00:35:05 UTC. The candle-based replay timestamps it at 00:35:00.
Six five-minute bars later, gold reached the stop. The worker recorded the close at 01:05 UTC. The ledger keeps the entry, exit and close reason so the read-only dashboard can show what happened.
Handoff · The saved trade gives the team an outcome to compare with replay.
The Time Machine replayed the same inputs with the same strategy and exit rules. The team compared blocked setups as well as the completed trade. Both paths recorded the same entry, stop and simulated loss.
Review · The comparison accounts for the worker’s five-second observation delay. A fresh session with captured quotes is the next evidence check.
The local configuration has six bots. Two watch opening-range breakouts, two look for liquidity sweeps or price zones, one combines those signals around market opens, and one runs as a trial-run control for comparison.
Today shows each bot’s stance and simulated trades. Open its chart to inspect a setup, or its goal view to follow the simulated balance.
Replay uses the same strategy and exit rules on historical candles. The team compares blocks, entries and exits and investigates the first difference.
The shadow Analyst can suggest more caution before a session. Paid briefings are gated by credentials and a spending cap set by the owner.
A future demo needs forward evidence, owner-set limits and explicit approval. Vanguard refuses real-money accounts.
Solid edges show the local build’s evidence paths. Dashed edges mark conditional features. The research holdout stays locked.
The frozen Asian breakout bot signalled a buy. The shadow reconstruction and Time Machine used the same historical candles and reconstructed quotes.
Both paths agreed on 14 blocked setups, one entry and one close. The next test is to capture incoming quotes during a fresh shadow session and repeat the comparison.
Copy shared code into
The sample runs locally. In the proposed connected workspace, Steve owns his configuration, trade ledger and broker identity.
Copy shared code into
The teammate runs an independent copy. Their proposed connected workspace uses their own settings, ledger and broker identity.
Current boundary. The contributor kit runs offline with sample data. Connected team workspaces and individual dashboard sign-in are proposed.
Proposed personal Google sign-in using OpenID Connect. Each user would have a separate app identity and account access.
Each person manages their own broker profile and chooses their own demo account.
A connected workspace would use the login and server assigned to its specific demo account.
Keep the Asian breakout settings frozen. Check that each shadow entry, block and exit agrees with replay on the same observed session.
Write down one rule change before looking at results. Use a separate bot and ledger to test it on the same future sessions.
Agree on the test in shared code. Each person can measure net returns after costs, trade count, drawdown and skipped setups in their own workspace. Include quiet and losing sessions and leave the holdout locked. Check whether average net results stay positive across fresh sessions and under higher costs before drawing conclusions about a possible edge.
Hypothetical averages per trade. The $1 cost applies once to every round trip and covers assumed spread, fees and slippage.
After costs, the average win is $11 and the average loss is $9. Break-even is $9 ÷ ($11 + $9) = 45%. This example illustrates the cost adjustment only.