nautilus_trader

A high-performance algorithmic trading platform and event-driven backtester

26 articles 19.3k View on GitHub ↗
26 articles
How to Track and Manage Positions Across Multiple Venues in Nautilus Trader

Learn how to track and manage positions across multiple venues in Nautilus Trader. Utilize its in-memory cache and venue indexes for efficient exchange reconciliation and a unified portfolio view.

how-to-guide
Feb 19, 2026
How to Create Custom Data Types for Proprietary Feeds in Nautilus Trader

Learn to create custom data types for proprietary feeds in Nautilus Trader. Define frozen dataclasses, wrap data with CustomData, and emit via LiveMarketDataClient for strategy subscription.

how-to-guide
Feb 19, 2026
How to Extend Nautilus Trader with Custom Adapters: A Complete Implementation Guide

Learn how to extend Nautilus Trader with custom adapters. Implement custom live market data or execution clients by inheriting from base classes and overriding key methods.

how-to-guide
Feb 16, 2026
How to Run the Rust and Python Test Suites for Nautilus Trader

Easily run Rust and Python tests for Nautilus Trader using simple make commands. Ensure your codebase is robust by executing `make cargo-test` and `make pytest` after dependency installation.

how-to-guide
Feb 16, 2026
How to Configure Logging Levels and Output Formats in Nautilus Trader

Learn to configure logging levels and output formats in Nautilus Trader. Use LoggingConfig to control console and file settings and initialize the Rust-backed logger efficiently.

how-to-guide
Feb 16, 2026
How to Use Streaming Writers for Real-Time Data Persistence in Nautilus Trader

Persist live market data in real-time using Nautilus Trader streaming writers. Easily save data to Feather files with automatic rotation and per-instrument handling.

how-to-guide
Feb 16, 2026
How to Handle Margin Modeling for Futures and Options in Nautilus Trader

Learn margin modeling for futures and options in Nautilus Trader. Explore interchangeable margin models for flexible margin calculation to meet your trading needs.

how-to-guide
Feb 16, 2026
How to Aggregate Ticks into Bars with Custom Rules in Nautilus Trader

Aggregate ticks into bars with custom rules in Nautilus Trader using built-in classes or by subclassing BarAggregator. Easily implement your own emission logic for powerful trading analytics.

how-to-guide
Feb 16, 2026
How to Use Contingency Orders (OCO, OTO, OUO) in Nautilus Trader

Master contingency orders in Nautilus Trader. Learn to implement OCO, OTO, and OUO strategies using the ContingencyType enum and OrderFactory API for efficient trading.

how-to-guide
Feb 16, 2026
How to Use Actors and Signals for Messaging Between Components in NautilusTrader

Learn how to send messages between components in NautilusTrader using actors and signals. Publish and receive signals asynchronously with the MessageBus for decoupled communication.

how-to-guide
Feb 16, 2026
How to Debug Strategy Logic and Inspect Internal State in Nautilus Trader

Debug Nautilus Trader strategy logic by enabling DEBUG logging and inspecting self.cache and self.portfolio attributes to trace real-time state without code modification.

how-to-guide
Feb 16, 2026
How to Configure the Interactive Brokers Adapter in NautilusTrader: A Complete Setup Guide

Learn to configure the Interactive Brokers adapter in NautilusTrader. This guide covers installation, setup for TWS or IB Gateway, and passing configurations for a seamless trading experience.

how-to-guide
Feb 16, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →