System Methodology
Peregrine Doesn't Chase.
It Waits. Reads. Acts.
Peregrine is a structured, multi-layer signal pipeline. Every setup passes through hard-coded risk rules that no model output can override. Setups that don't clear the risk gate are not published — by design.
بيريغرين ما يطارد — ينتظر، يقرأ، ويتصرف بانضباط.
Four-Layer Architecture
Governor → Sentinel → OpenClaw → Executor
Governor
System SupervisorThe top-level orchestrator. Runs 24/5, spawns and monitors all child services, detects anomalies, and manages system health. If Sentinel crashes or executes incorrectly, Governor restarts it and alerts.
- Owns the signal lifecycle from analysis → execution
- Enforces USD Tier-1 news blackout windows (±15 min)
- Hard-stops all execution on weekends and major news events
- Monitors peregrine-ctrader health and FIX connectivity
Sentinel
AI Market AnalystThe intelligence layer. Runs every 5 minutes across all monitored symbols. Combines technical analysis (RSI, ATR, ADX, MACD, EMA 20/50/200) with multi-timeframe confluence, session logic, and AI-powered reasoning via Gemini on Google Cloud.
- Scans XAUUSD, EURUSD, XAGUSD, GBP/USD, US30, NAS100
- Enforces confidence threshold ≥ 65 before any signal fires
- Session gates: London, NY, Asia — no signals in dead zones
- News veto: blocks execution 15 min before / 30 min after USD Tier-1
- Same-pair position lock: no opposing signals on the same symbol
- Logs every analysis to BigQuery for ML training
OpenClaw
AI Agent Layer (×2)Two isolated OpenClaw AI agent instances providing additional market context, web search intelligence, and macro reasoning. They inform Sentinel's decision-making without directly controlling execution.
- Two fully isolated instances — never cross-communicate
- Provide web-sourced macro context and news sentiment
- Feed into Sentinel's confidence scoring model
- Isolated for safety: a fault in one cannot affect the other
Peregrine Executor
FIX API BridgeReceives validated signals from Sentinel and executes them on cTrader via FIX API 4.4. Handles position sizing (% of account balance), SL/TP placement, and TP3 trailing runner logic.
- Connects to Pepperstone via FIX 4.4 (separate demo and live trading accounts)
- Position size = (Balance × Risk%) ÷ (SL_pips × pip_value) — scales with capital
- TP1 closes partial at 1R, TP2 at 2R, TP3 activates trailing stop loss
- All Execution Reports (35=8) written back to BigQuery trade_log
Non-Negotiable
Hard-Coded Risk Rules
These rules cannot be overridden by any signal, any AI model, or any human instruction. They are the foundation of capital preservation.
USD Tier-1 News
All execution blocked 15 min before + 30 min after major USD events (NFP, CPI, FOMC)
No Overnight Positions
All trades must close before end of NY session. No weekend exposure.
Same-Pair Lock
Cannot open BUY and SELL simultaneously on the same symbol. No accidental hedging.
Confidence Gate ≥ 65
Sentinel only fires if confidence score ≥ 65. Strong conviction = ≥ 75. No marginal trades.
% Position Sizing
Risk per trade = fixed % of account balance. Automatically scales as capital grows or declines.
TP3 Runner
After TP2 is hit, TP3 activates a trailing SL to capture R5–R12 trending moves automatically.
Live Performance
One System. End to End.
Every signal surfaced on the public site is generated by the same Sentinel pipeline that runs the internal research workflow — not backtested in isolation, not cherry-picked, not hand-tuned per market.
Responsible AI
Sentinel uses technical indicators (RSI, ATR, ADX, EMA 20/50/200, MACD) combined with macro context via Google Cloud infrastructure with Gemini model support. No black-box ML — all signal rules are auditable and logged to BigQuery. Confidence scores reflect multi-factor confluence, not a single model output. Every decision is explainable; every trade is traceable.
Infrastructure: Google Cloud (europe-west2). Inference: Gemini-powered intelligence. Market data: EODHD All-in-One. Broker access: via Introducing Broker (IB) relationship with Pepperstone — FCA & ASIC regulated.
Trading involves significant risk of loss. Past performance does not guarantee future results. All signals are generated by an algorithmic system and do not constitute financial advice. Broker access is provided via an Introducing Broker (IB) relationship with Pepperstone — FCA & ASIC regulated. Never trade with capital you cannot afford to lose.