Case study · Cross-Broker

    Zerodha ↔ FivePaisa Cross-Broker Copy Trader

    Automated copy trading across two different Indian broker APIs

    Client: Multi-account trader · Cross-broker executionScale: Cross-broker · Production · API-native

    2 platforms

    Brokers

    Automated

    Order flow

    Indian equities

    Market

    The problem

    The client traded on Zerodha Kite and needed selected trades automatically replicated to FivePaisa accounts — but the two brokers use different APIs, symbol formats, order types, and session models. Manual copying was slow and error-prone during fast-moving sessions.

    • Different REST API structures for each broker
    • Symbol mapping and instrument token normalization required
    • Order type and quantity rules differed per broker
    • No unified monitoring for cross-broker execution status

    What ThinkStak built

    ThinkStak built a cross-broker copy trading engine that listens to master-account activity on Zerodha Kite, normalizes symbols and order parameters, and routes equivalent orders to FivePaisa with broker-specific adapters. The architecture uses a modular connector pattern so additional brokers can be added without rewriting core logic.

    • Broker-specific API adapters with unified internal order model
    • Symbol mapping & instrument token resolution layer
    • Configurable quantity rules per destination account
    • Execution logs with broker request/response audit trail

    Technology used

    PythonZerodha Kite APIFivePaisa APIFastAPIRedis

    The result

    The client achieved reliable cross-broker copy execution without manual order entry — a production workflow that handles the complexity of two different broker ecosystems behind a single automation layer.

    • Cross-broker orders routed automatically from master activity
    • Symbol and order normalization handled transparently
    • Scalable adapter architecture for future broker additions

    Code samples on GitHub

    Related services

    More case studies

    Have a similar project in mind?

    Share your brokers, accounts and timeline. ThinkStak will explain how we would build it and send a fixed-price proposal after a free audit.