Port Python Trading Bots Engine to Rust

Job ID: 39542042

Budget: €250 – €750 EUR

Port Python VPL Node Engine for Trading Bots to Rust
Overview

I am looking for a highly skilled Rust developer to rewrite a complex Python-based VPL (Visual Programming Language) engine used for trading bots into idiomatic, performant, and well-structured Rust code.

The Python version integrates deeply with the Bybit API (via HTTP), supports multi-threaded backtesting and live trading modes, and runs a node-based execution graph that simulates or performs real trading actions. Your job will be to fully port this system from Python to Rust with a strong focus on performance, correctness, and maintainability.
Scope of Work

You will be given one large Python file (~3000+ lines of code) which includes:

An execution engine for graph-based node operations

State management across threads for bot isolation

Real-time and backtest trading execution logic

Integration with the Bybit REST API (order placement, modification, cancellation, fetching positions, etc.)

Technical analysis indicators (EMA, RSI, SuperTrend, etc.)

Mathematical and logical operators for VPL-style processing

Telegram messaging for alerts

Topological sorting and DAG execution model

JSON-based graph format parsing and runtime evaluation

Your task is to:

Port the complete logic to Rust, structuring it using traits, modules, and appropriate concurrency primitives.

Ensure feature parity with the original Python system, including live trading via REST (using a Rust HTTP client like reqwest).

Maintain or improve performance and correctness.

Support backtest and live trading modes with API key handling.

Handle all types of nodes (indicator, math, logic, trade actions, etc.).

Parse a JSON graph and build + execute the node DAG accordingly.

Tech Requirements

Advanced Rust experience: traits, async/await, lifetimes, smart pointers, error handling

Experience working with trading APIs (Bybit)

Understanding of technical analysis and trading logic

Familiarity with pandas/NumPy or equivalents in Rust (like polars)

Experience with graph-based systems or interpreters is a plus

Telegram bot API familiarity (optional but helpful)

Deliverables

A fully working Rust version of the VPL engine

CLI or function-based interface to run in both modes: backtest (via CSV or JSON) and live

JSON input for the DAG, and data output (orders, indicators, signals)

Full source code, tests, and documentation

Help during initial integration and testing
Related categories: Python Software Architecture Rust