Menu

I Built a Multi-Broker Trading Platform — Here’s What Actually Broke (and How I Fixed It)
📰

I Built a Multi-Broker Trading Platform — Here’s What Actually Broke (and How I Fixed It)

DEV Community·Shashank·6 months ago
#vMqZJIgx
#challenge#fastapi#python#broker#execution
Reading 0:00
15s threshold

Most trading tools lock you into a single broker.

I didn’t like that.

So I started building a platform where you can connect multiple brokers and manage your trades from one place—positions, orders, execution logic, everything.

Sounds straightforward… until it isn’t.

This is not a “how to build a trading app” guide.

This is what actually went wrong while building one—and how I dealt with it.

💡 The Idea

The goal was simple:

Connect multiple brokers (like IBKR, FYERS, ZERODHA etc.)

Provide a unified interface for:

Positions

Orderbook

Order placement / cancellation / modification

Add automation:

Auto-sell based on target/stop-loss

Handle real-time data using WebSockets

Basically: one platform to control everything without juggling multiple apps.

Architecture (High-Level)

Backend:

FastAPI

WebSockets for real-time updates

Broker-specific modules (client, orders, portfolio)

Frontend:

React

Core idea:

Each broker has its own implementation, but the platform exposes a common interface .

So…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.