Experience professional-grade quantitative trading with NexusTrader. Open source framework trusted by institutions.

NexusTrader is committed to professional quantitative trading excellence.

We empower exceptional talents in quantitative finance, algorithmic trading, and systematic strategies to seek breakthrough opportunities, push through market boundaries, and apply cutting-edge technology to global financial markets.

Installation

NexusTrader is seamlessly integrated with Python. It can be installed in minutes on most platforms.

Python
pip install -U nexustrader

Latest release: NexusTrader 1.219.0 | System detected: macOS

Begin with the Code

It starts with the code. Our developers are loving our NexusTrader Package: the open source package to rapidly build trading algorithms across assets, brokerages, and exchanges. We've hit over 400+ stars and over 6k downloads/month. Check out the docs too

strategy.py
class Demo(Strategy):
    def __init__(self):
        super().__init__()
        self.subscribe_bookl1(symbols=["BTCUSDT-PERP.OKX"])
        self.signal = True

    def on_bookl1(self, bookl1: BookL1):
        if self.signal:
            self.create_order(
                symbol="BTCUSDT-PERP.OKX",
                side=OrderSide.BUY,
                type=OrderType.MARKET,
                amount=Decimal("0.1"),
            )
            self.create_order(
                symbol="BTCUSDT-PERP.OKX",
                side=OrderSide.SELL,
                type=OrderType.MARKET,
                amount=Decimal("0.1"),
            )
            self.signal = False

Simple to use trading strategy example

Easy Code Integration

We make it easy to integrate your existing models without changing any of your code. Let us handle connecting with exchanges and data integrations seamlessly.

Optimized Order Execution

Our order execution system is extremely optimized for speed and efficiency. Deep optimization for algorithmic orders including TWAP, effectively reducing market impact costs.

Easy Exchange Switching

Production deployment can easily switch between different exchanges. Seamless connection to multiple exchanges with unified API architecture.

Supported Exchanges

Connect to leading cryptocurrency exchanges with professional-grade integration

Binance

World's largest crypto exchange by trading volume

OKX

Leading global crypto exchange and derivatives platform

Bybit

Fast-growing derivatives and spot trading platform

HyperLiquid

High-performance decentralized perpetuals exchange

Bitget

Global crypto derivatives and spot trading platform

Core Features

Professional-grade tools for institutional and retail quantitative trading

🚀

Optimized Order Algorithms

Deep optimization for algorithmic orders including TWAP, effectively reducing market impact costs with custom execution signals.

💰

Professional Arbitrage Support

Specialized optimization for funding rate arbitrage and cross-exchange arbitrage with real-time tracking of thousands of trading pairs.

🛠️

Complete Trading Framework

Integrated position management, order management, fund management, and statistical analysis modules for seamless strategy development.

High-Performance Architecture

Built with uvloop and picows for superior performance, delivering speeds up to 2-4 times faster than standard implementations.

📊

Multi-Mode Trading

Event-driven, timer-based, and custom signal modes to support diverse trading strategies and requirements.

🔗

Multi-Exchange Integration

Seamless connection to multiple exchanges with unified API and extensible architecture for additional platforms.

Ready to Start Trading?

Get started with NexusTrader's comprehensive documentation, featuring detailed guides, API references, and example strategies to help you build professional quantitative trading systems.

5+
Exchanges
350+
Trading Pairs
24/7
Trading