B2B risk management solution for futures trading

Risk management dashboard with trading accounts, alerts and positions
Slogan

Helping a US-based FinTech company launch a risk management product for futures trading

Our client

Our client is a US fintech company (name is under NDA) developing a futures brokerage platform that includes a retail brokerage, a proprietary matching engine, and a B2B risk management product.

Team

1 Senior Full-Stack Engineer

Industry

FinTech – Futures Brokerage, Real-Time Risk for Prop Trading Firms

Services provided

Team extension – a senior engineer who owns features end-to-end, Backend, API, and frontend development, Third-party integrations, Data engineering, Test automation and CI quality gates, Business analysis

Tech stack

Backend: TypeScript, Node.js 24, NestJS 11, NxLow-latency services: Rust, Tokio, gRPCFrontend: React, React Router v7Database and caching: PostgreSQL 17, TimescaleDB, Prisma, RedisMessaging: NATS JetStream, Protocol BuffersInfrastructure: Docker, Kubernetes, Terraform, ArgoCD, HetznerTesting and observability: GitHub Actions, Jest, Prometheus, Grafana, Loki, OpenTelemetry, Sentry

USA

Country

Since 2026

Collaboration

Learn how we help

About the project

Our team works on the B2B risk management solution that enables proprietary trading firms to monitor trading activity, enforce risk limits, manage account-level restrictions, and maintain an auditable record of risk-related actions across supported trading platforms.

Our engagement

When our engineer joined the project, there was no time for warm-up – first tickets went straight into production code. Here is what was built.

Main challenges

Challenge 1. News feed integration and blocked events

Prop firms prohibit trading around major economic announcements, such as CPI releases and FOMC decisions. The product had no way to know when these events were happening.

Blocked events screen of the risk management console

We built a new service using the Newsquawk feed. It retrieves live headlines and the economic calendar and makes them available through an API. Then we added Blocked Events, allowing risk teams to define no-trade windows, and integrated the feed into the console’s server side.

  • New microservice
  • Read API with filters
  • Blocked Events module
  • Console data feed

Challenge 2. Historical trading data backfill and reconciliation

The solution’s consistency rules compare a trader’s activity with their own trading history. When a new customer joins, that history is missing.

Accounts screen with historical positions and P&L

A backfill tool was built. It replays a firm’s historical fills, reconstructs every position using FIFO (first in, first out), checks the totals against the broker’s settlement reports, and only then loads the daily P&L. Monetary values use exact integers throughout the process, avoiding floating-point rounding errors.

  • CLI with replay, load, and settlement-report modes
  • Reconciliation reports
  • Documentation that a new engineer can understand in one sitting

Challenge 3. Trading calendar and session-time standardization

CME sessions vary by product and holiday. The published schedule and actual trading activity don't always match.

Case review screen with trading session details

Instead of relying solely on the published PDF schedule, we used market data to verify what actually traded. The tool checks trading activity day by day across 55 contract families and generates a verified calendar. We then moved the session-time calculations into a shared library, ensuring every service across the platform agrees on what “today” means.

  • Calendar seed tool
  • Shared session-time library
  • Calendar cross-checked against the exchange’s own export

Challenge 4. Manual position flattening and risk enforcement

Risk analysts required a controlled mechanism to close all open positions before full automatic risk enforcement was introduced.

Manual flatten screen with open positions

We implemented the flatten API and the enforcement flow behind it, supported by tests and a complete audit trail.

  • The feature was included in the upcoming milestone demo using live staging data.

Challenge 5. Untangling account identity

Accounts are currently identified by account number alone. This creates a problem when a firm has both Sim and Live accounts with the same number.

Risk dashboard with Sim and Live trading accounts

We analyzed the account-identity problem and broke the larger epic into clear, actionable stories, enabling a customer to operate all its broker lanes safely under one account.

  • Implementation-ready user stories
  • Defined approach for handling Sim and Live accounts with the same account number

Engagement in numbers

1

Senior engineer

200+

Commits in three months

3

Tools and services built from scratch

11 of 17

Platform services containing code contributed by the Devico engineer

Client success

Thanks to Devico’s engineering contributions, the client expanded its risk management capabilities, improved historical data processing, and established consistent trading-session logic across the platform, advancing its readiness for commercial launch.

Key achievements:

  • Better risk management

    Added news-based trading restrictions and manual position flattening.

  • Improved data integrity

    Enabled historical trade reconstruction and reconciliation against broker settlement reports.

  • Standardized trading-session logic

    Established a verified trading calendar and shared session-time calculations across platform services.

  • Multi-account support preparation

    Defined requirements to resolve Sim/Live account conflicts and support the launch customer’s multiple broker lanes.

Request free quote

+11
Lviv
+24
Kharkiv
+15
Kyiv
+48
Poland
+3
UK
+12
Germany
+21
Lithuania
+19
Latvia
+12
Slovakia
+2
Greece
+3
Portugal
+2
Netherlands
+15
Estonia
+21
Czech Republic
+2
Andorra

With a pan European talent pool, Devico brings together the continents best talent and makes them available for you

Request free quote

By submitting your information, you agree to the Devico Terms of Service and Privacy Policy. You can opt out at any time.