Real-Time Signal Architecture & VPS Infrastructure
Explore the 24/7 VPS execution cluster, webhook dispatch protocols, HMAC authentication, and sub-50ms latency architecture operated by Elvaris Capital.
Dedicated 24/7 Linux VPS Clusters
StratMarket signal processing operates continuously across dedicated Linux cloud server nodes located in prime financial hosting hubs: - Frankfurt & London Data Centers: Direct low-latency cross-connects to Tier-1 institutional liquidity pools, MetaTrader 5 trade servers, and TradingView data hubs. - PM2 Process Supervision: Dual-redundant background supervisors (stratmarket-vps-supervisor) monitor TradingView data streams, re-evaluate technical conditions every 15 seconds, and persist state to disk. - Zero Human Discretion: Orders execute purely via deterministic code upon confirmed candle closes.
Sub-50ms Signal Dispatch Pipeline
The entire signal lifecycle from market event to subscriber notification completes in sub-50 milliseconds: 1. 0ms: Candlestick close confirmed on live data stream. 2. 10ms: Pine evaluator / MT5 engine verifies session filters, EMA trend clearance, and circuit breakers. 3. 25ms: HMAC SHA-256 signature calculated and dispatched to POST /api/internal/signals. 4. 40ms: Platform database records idempotent event; webhooks push to broker endpoints; Resend API dispatches email trade alerts to subscribers.
HMAC Authentication & Idempotent Processing
To guarantee enterprise-grade security and prevent malicious signal injection: - Shared Secret Signature: Inbound signals require an x-signature header matching the SHA-256 HMAC of the request body and secret key. - Idempotency Key: Every dispatch includes a unique sourceEventId. The MongoDB database enforces a unique constraint; duplicate signals within 24 hours are safely rejected without double-filling.
Signal Ingestion Webhook Specification
StratMarket listens for model dispatch on POST /api/internal/signals:
```json POST /api/internal/signals HTTP/1.1 Host: stratmarket.elvariscapital.in Content-Type: application/json x-signature: <HMAC_SHA256_HEX_SIGNATURE> Authorization: Bearer <SECURE_SIGNAL_DISPATCH_SECRET>
{
"strategyId": "PS-01",
"strategyVersion": "1.0.0",
"instrument": "XAUUSD",
"timeframe": "M15",
"signalType": "ENTRY",
"direction": "LONG",
"entryPrice": 2685.50,
"stopLoss": 2671.75,
"targetPrice": 2699.50,
"signalProvenance": "ELVARIS_VPS_PINE_ENGINE",
"sourceEventId": "evt_ps01_1794250390474"
}
``
Response:
`json
{
"success": true,
"statusCode": 200,
"signalId": "sig_jgtb6joxt",
"notifiedUsersCount": 9
}
``