ror dev UI/UX design contact us
Hyperlink

Developing a trading middleware

  • Outstaffing
  • JS development
Hyperlink screen
about

Hyperlink is a backend trading automation platform operating in the financial services industry. It acts as a server middleware, seamlessly integrating TradingView webhook alerts with multiple brokerage APIs. The platform enables traders to automate scalping and swing trading operations.

duration

january 2025 - ongoing

location

USA

industry

financial services

team
  • 1 JS developer
results
  • Developed

    platform stability and performance

  • Improved

    platform stability and performance

  • Accelerated

    deployment of new trading features

  • Streamlined

    broker integrations

challenge

The client approached us with the need to upgrade their existing trading middleware. Initially, the platform could execute trades only for a single user. They required the implementation of parallel trading for multiple users with support for different broker sets.

In addition, Profit & Loss calculations contained logical errors and were not tied to real market prices. The system needed an updated logic based on session open and previous candle close prices.

Another challenge was to restructure the order storage, remove stale brokers, and fix existing bugs to ensure the stability and accuracy of trading operations.

solution

multi-tenant trading architecture

Implemented a multi-tenancy layer and a secure user-trade management module, enabling the platform to execute parallel trades for multiple traders while keeping each user’s configuration and broker sets isolated and auditable.

corrected PnL logic

Reworked the Profit & Loss calculations to remove logical flaws and base computations on session open prices and previous candle closes, ensuring accurate, market-consistent reporting.

restructured order storage

Restructured the order persistence schema and reimplemented the storage layer for efficiency and reliability, improving order lifecycle handling and reducing data inconsistencies.

broker integrations cleanup

Removed stale broker integrations and refactored API adapters to simplify the codebase, making it easier to add or replace brokers and reducing integration-related failures.

robust testing & quality assurance

Introduced end-to-end and unit tests covering new functionality and critical flows, increasing confidence in releases and reducing regressions.

delivered features

  • multi-tenant trading architecture for parallel trade execution across multiple users
  • secure user-trade management module with isolated broker configurations
  • comprehensive support for market, limit, stop-market, trailing stop, and stop-limit orders
  • logic for executing long, short, close long, and close short strategies
  • broker-agnostic middleware supporting integration with Trade Station, IBKR, Alpaca, and TD Ameritrade
  • re-engineered PnL calculation module with corrected logic and real-market price reference
  • optimized order storage schema for improved efficiency and accuracy
  • purged stale broker integrations to streamline the codebase
  • automated trade execution with minimized latency
  • end-to-end test coverage ensuring reliability of critical trading operations

technology stack

backend icon
Backend
Node.js Express.js SQLite
infrastructure icon
Infrastructure & Deployment
Google Compute Engine PM2 GitLab CI/CD
testing icon
Testing
Jest
Integrations scheme

communication

Our collaboration was efficient from the start, with clear communication maintained through regular updates on Slack and Email.

Tools
  • Slack icon
  • Gmail icon
Communication screenshot

result

Rubyroid Labs helped the client enhance the functionality and reliability of their trading platform by implementing and testing new code, fixing existing bugs, and connecting systems with users. All identified issues were successfully resolved.

Thanks to these improvements, the client now benefits from a fully operational, stable, and scalable server middleware that supports automated trading and ensures efficient management of trades and orders.

The management was great, and the follow-up was wonderful. The programmer assigned was fantastic, and we continue to build a relationship. I look forward to our next upgrades and working with Rubyroid Labs.

Daniel Jin Park, CEO, Hyperlynk LLC
Rating of Rubyroid Labs 5.0
based on reviews of customers