using-nautilus-trader

Guide NautilusTrader strategy development, backtesting, and live trading deployment.

Updated Jul 19, 2023
One-click install
npx skills add https://github.com/PoorRican/dotfiles --skill using-nautilus-trader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-nautilus-trader
Source: https://github.com/PoorRican/dotfiles/tree/main/claude/.claude/skills/using-nautilus-trader
Command: npx skills add https://github.com/PoorRican/dotfiles --skill using-nautilus-trader

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance for NautilusTrader, covering backtesting strategies, live trading deployment, event-driven architecture, and building trading systems. It helps users navigate API changes and architecture decisions to accelerate development and reduce setup time.

Core Features & Use Cases

  • Strategy development guidance: Understand core components like backtesting, live trading, and architecture patterns.
  • Practical references: Access to architecture and integration docs to accelerate project setup.
  • Use Case: You’re starting a NautilusTrader project and need a quick, structured overview of how the components fit together and common patterns to implement.

Quick Start

Use the NautilusTrader skill to quickly outline a new trading project, referencing the official docs for current APIs.

Frequently Asked Questions about using-nautilus-trader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design an algorithmic trading strategy with NautilusTrader?

NautilusTrader strategy development involves defining indicators, orders via order_factory, and risk checks through RiskEngine. Start by preregistering indicators before subscribing to data, then structure your logic around the event-driven architecture to ensure consistency between backtesting and live execution.

What's the difference between backtesting and live trading in NautilusTrader?

Both backtesting and live trading use the same event-driven architecture and core components in NautilusTrader, enabling parity between environments. The Skill covers deployment patterns, adapter integration, and configuration differences so your strategy behaves identically in both runtimes.

How do I set up risk checks in NautilusTrader?

NautilusTrader enforces risk management through RiskEngine, which validates orders before execution. The Skill guides you through configuring risk checks that apply consistently across backtesting and live trading to prevent unsafe positions.

Can I integrate external data adapters with NautilusTrader?

Yes, NautilusTrader supports adapter integration across backtest and live runtimes. The Skill provides architecture references and integration points so you can connect data sources, execution venues, and other external services to your trading system.

Do I need to preregister indicators before using them in NautilusTrader?

Yes, NautilusTrader requires preregistering indicators before subscribing to data streams. This is a functional requirement enforced by the framework to maintain data flow integrity and ensure indicators receive the correct market data.

What order types does NautilusTrader support?

NautilusTrader provides market, limit, and stop orders through the order_factory, a required pattern for order creation. The Skill explains how to construct and submit each order type within the event-driven architecture.