CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Finance & Banking

🏦 Finance & Banking · Deployment · Pro

Stock Trading Platform Deployment

How a broker's trading platform is deployed for low latency: co-located order gateways near the exchange, and cloud services for apps and back office.

More Finance & Banking templates

Deployment diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • Order management and exchange gateways are co-located at the exchange
  • Market data is streamed to apps over WebSockets
  • Risk checks run before every order leaves the broker

Prompt used

Deployment of a stock broking platform: traders use web and mobile apps that connect to cloud-hosted API and WebSocket servers. Orders go over a leased line to the co-location rack at the exchange data centre, where the order management system runs pre-trade risk checks and sends orders through exchange gateways (NSE, BSE). Market data feed handlers in co-location stream prices back. Back office (contract notes, ledger) runs in the cloud with PostgreSQL.

Mermaid code
flowchart TB
  subgraph Users[Users]
    WEB[Web Trading App]
    MOB[Mobile App]
  end
  subgraph Cloud[Cloud Region]
    API[API Servers]
    WS[WebSocket Price Servers]
    BO[Back Office - contract notes, ledger]
    PG[(PostgreSQL)]
  end
  subgraph Colo[Exchange Co-location Rack]
    OMS[Order Management System]
    RISK[Pre-trade Risk Checks]
    GW1[NSE Gateway]
    GW2[BSE Gateway]
    MD[Market Data Feed Handlers]
  end
  WEB --> API
  MOB --> API
  WEB --> WS
  MOB --> WS
  API -->|Leased line| OMS
  OMS --> RISK
  RISK --> GW1
  RISK --> GW2
  MD -->|Prices| WS
  OMS -->|Trades| BO
  BO --> PG

Related templates

SequenceFinance & Banking

UPI Payment Flow

The steps behind a UPI payment: the payer's app, the payer's bank, NPCI's UPI switch and the payee's bank, from entering a UPI ID to the money arriving.

C4 ArchitectureProFinance & Banking

Payment Gateway Architecture

A payment gateway that lets online merchants accept cards and UPI: the checkout, the payment core with fraud checks, and the card networks and banks it connects to.

FlowchartFinance & Banking

Loan Origination Workflow

A personal loan from application to disbursal: KYC, credit bureau check, underwriting rules, manual review for borderline cases, and the final agreement.

SequenceFinance & Banking

Card Payment Authorisation

What happens in the second after a card is tapped or entered online: the acquirer, card network and issuing bank authorise the payment, with 3-D Secure for online payments.

Data FlowFinance & Banking

Real-Time Fraud Detection Data Flow

How a bank scores every transaction for fraud in milliseconds: features from history, an ML model, rules, and a case queue for analysts.

C4 ArchitectureProFinance & Banking

Core Banking System Architecture

The main building blocks of a bank's core platform: accounts, deposits, loans, payments and the general ledger, used by branches, internet banking and mobile.