TradingPactBETA
Menu
Updated 2026-11-26·MT5 only·Zero stored broker passwords

Security, Broker Credential Handling & Enforcement Safety

A risk workspace has to earn trust on both sides of a live session: how it handles your MetaTrader 5 (MT5) credentials, and what stops it from firing an unwanted broker write during a disconnect. Here is the exact technical boundary behind your trading pact (your locked rules).

Short answer

We never store your broker password in TradingPact's database. MT5 credentials travel once over TLS to establish or test an isolated AWS-hosted native MT5 terminal session, every automatic broker write checks a three-stage write authority both at queue time and send time, and streams silent for 15 seconds pause equity-based closes immediately.

Broker credential handling & hard permission limits

  • Platform scope: TradingPact connects to MetaTrader 5 (MT5) accounts only.
  • We never store your broker password: your MT5 login and password (read-only investor or master) pass once over an encrypted TLS channel to open or verify an isolated AWS-hosted native MT5 terminal session and are never persisted to TradingPact's application database.
  • No fund movement or leverage changes: TradingPact can never withdraw funds, transfer balances, or alter account leverage.
  • Strict read-only Monitor option: connecting with your MT5 investor password holds zero trading rights at the broker, so Monitor mode tracks equity, deals, and firm daily floors without ever placing or closing a trade.
  • Pre-trade vs post-fill truth: orders placed on the TradingPact Desk check your locked pact before transmission; orders placed directly in MT5 are not blocked pre-trade and close at market after fill best-effort only when Enforce and closing are both on.

Three-stage write-authority chain (checked at queue & send)

Authority stageWhat is evaluatedFailsafe outcome
1. Operator emergency stopReads the global automatic-writes switch every 15 seconds in the enforcer and on every queued or dispatched command in execution.Withholds all automatic broker writes across every account within one tick while keeping locked pacts intact and trader-confirmed closes untouched.
2. Trader connection authorityChecks Records only vs Monitor (investor password) vs Enforce with closing off vs Enforce with closing on, plus live broker read-only flags.Your Monitor or closing-off declaration always wins even if a terminal flag drifts; prop accounts default to Monitor, and per-firm Enforce opt-ins plus automatic firm-line, weekend, and session-end closes are rolling out account by account.
3. Per-account support holdReads the account-level write hold timestamp before automatic rule closes, weekend/firm-line/session-end closes, or protection updates.Suspends automatic closes on a single investigated account without unlocking its pact or affecting other users, logging a withheld-action receipt and notifying the trader.

Fail-safe timers, stale-stream holds & outage watchdog

SafeguardThresholdSystem behavior
Stale broker stream pause15 secondsHolds equity-based closes and automated protection writes whenever a stream disconnects, loses sync, or goes silent, marking the account Unprotected since until a fresh synchronized read completes.
Independent outage watchdog1 minute probe / 5 minutes downThe API polls enforcer health every minute with a 5-second timeout. Routine 1- to 2-minute deploys send nothing; 5 minutes of continuous downtime emails every covered enforcement trader and sends a recovery notice when healthy.
Unconfirmed Desk order fence30s stream / 10m auto / 5m reviewHolds all new Desk entries if a dispatched order's broker outcome is unknown, releasing only with a 30-second fresh stream, 10-minute wait (5 minutes for operator inspection), 1-minute pre-send history coverage, zero matching IDs, zero look-alikes, and a 7-day late-fill watch.
Locked pact cooldown ladder6h -> 12h -> 24h -> 48hServer-timed cooldowns over a rolling 30-day window prevent mid-session rule loosening or authority downgrades; step 3 and step 4 require approval from a partner who accepted at least 72 hours earlier.
Locked cancellation protectionUp to 30 daysCancelling billing while a pact is locked stops recurring charges at period end and keeps enforcement running unbilled until the lock ends (up to 30 days), at no charge.

SHA-256 receipts & token hashing

Sensitive tokens never rest in plaintext, and critical governance records are append-only with SHA-256 digests.

  • Trade-intent API keys and partner approval tokens are hashed with SHA-256 before database persistence.
  • Pact versions (rules + lock expiry + note), enforcement consents, trading pauses (rolling out account by account), and pattern-hold logs store SHA-256 evidence hashes.
  • Four timestamps (saved plan, Desk confirmation, broker execution, and post-trade review) prevent hindsight rewriting.

Partner privacy & optional AI boundary

Accountability and review tools expose only what each job requires, with opt-outs enforced in code.

  • Accountability partners see only broken rule names, decision type, percent of limit, R multiple (when opted in), lock notes, and unlock requests: never charts, symbols, balances, or dollar P&L.
  • Optional AI reflections routed through Perplexity receive trade decisions, tags, and P&L only when enabled; you can switch AI off completely or exclude written notes in Settings.
  • Account deletion triggers cascading removal across personal data, pacts, audits, and journal attachments.

Infrastructure & subprocessors

ProviderRoleIsolation & security controls
Amazon Web Services (AWS)Isolated hosted native MT5 terminal sessionsReceives encrypted credentials once at connection setup/test; isolated broker execution bridge
Fly.io (App & Managed PostgreSQL)Application runtime, real-time enforcer, private gateway & DBEncryption at rest and TLS in transit; internal gateway isolated on private Fly networking
Better AuthSession management & authenticationSigned HTTP-only session cookies and CSRF protection
StripeSubscriptions & billing portalPCI DSS Level 1; TradingPact never stores raw card numbers
Upstash Redis & ArcjetDistributed rate limiting, bot shield & abuse preventionPer-IP sliding windows on auth, waitlist, and API endpoints
Resend, Sentry, PostHog & Vercel BlobTransactional alerts, scrubbed telemetry & screenshotsTLS transport, scrubbed error payloads, and cascading deletion on close

Responsible security disclosure

If you discover a vulnerability in TradingPact's web app, API, authentication, or MT5 infrastructure, report it privately before public disclosure. Include steps to reproduce and affected endpoints without accessing or modifying another trader's account or disrupting live broker sessions.

Security contact: contact@tradingpact.com · Machine-readable policy: /.well-known/security.txt

Frequently asked questions

Does TradingPact store my MT5 master or investor password?

No. We never store your broker password in TradingPact's database. Your MT5 credentials travel once over TLS solely to open or test your isolated AWS-hosted native MT5 terminal session.

Can TradingPact withdraw funds or open unauthorized trades?

No. TradingPact cannot withdraw money, transfer balances, or change account leverage. Desk orders require your confirmation before routing, and Monitor mode uses a read-only investor password that holds zero trading authority at the broker.

What stops automatic closes if price feeds freeze or TradingPact loses sync?

If the live broker stream disconnects, loses synchronization, or goes silent for 15 seconds, TradingPact immediately holds equity-based closes and protection writes and marks the account Unprotected since until a fresh synchronized read completes.

How do I know if the enforcement service goes offline?

An independent watchdog checks enforcer health every minute. Short 1- to 2-minute deploys emit nothing; if the service stays unreachable for 5 minutes running, covered traders receive an Unprotected since email and a follow-up email when protection resumes.

What happens if an order dispatched from the Desk times out?

Any Desk order whose broker outcome is unconfirmed immediately holds new Desk entries on that account. It releases automatically only after a fresh 30-second stream, a 10-minute wait, 1-minute pre-send history coverage, and zero matching or look-alike trades, followed by a 7-day late-fill watch.

TRADINGPACT DESK · MT5

Lock your trading rules and price every order before MT5.

Join the waitlist for hosted Desk access, or look around the view-only demo on sample data, with no broker login or card required.