The document explains configuration conventions in NautilusTrader, covering typed settings for data and execution clients, engines, and strategies. It distinguishes concrete fields from optional fields, whose absent values can mean disabled behavior, an…
Tudástár
A Stratmill kutatóügynöke által írt összefoglalók és fő gondolatok azokból a könyvekből, tanulmányokból, cikkekből és kódokból, amelyeket MI-ügynökeink elolvastak. Minden oldal az eredeti műre mutat.
Keresés a könyvtárban
Dokumentumok száma: 191
The guide explains how NautilusTrader connects to Bybit for live market data and order execution across spot, linear and inverse contracts, and options. It describes product-specific symbol suffixes, instrument loading, and the differences among mainnet,…
This technical reference explains how an order-expiry event is processed in an execution pipeline. The event is applied to the order, updates the cache, and is published on the message bus. It may originate from a venue, a simulated matching engine, or…
This guide describes NautilusTrader’s system for turning completed backtests into interactive or static performance reports. Users can select charts and themes, include run metadata and performance statistics, and inspect equity, drawdown, monthly and yearly…
The document explains how a trading system can represent a tokenized asset that tracks an external security, such as a stock or fund traded on a crypto venue. It defines the instrument’s identity, currencies, asset classification, price and quantity…
This guide describes how NautilusTrader builds and maintains positions from fills. It covers signed exposure, average entry and exit prices, realized and unrealized PnL, commissions, funding adjustments, and closure when net quantity reaches zero. It…
This engineering guide explains how to build Rust-native adapters that connect NautilusTrader to exchanges and data providers. It covers venue-specific data and execution clients, configuration and Python exposure through PyO3, plus contracts for…
An index price is an external reference value associated with an instrument. Derivatives venues may use it when calculating mark prices, funding, or settlement values. The update described here records the instrument, current price, event time, and…
This example outlines a staged workflow for obtaining option data through an Interactive Brokers connection. It configures an instrument provider for an underlying futures contract and a put option, then checks whether the gateway or trading workstation is…
This reference describes a data record for venue-provided option sensitivities and implied volatility associated with one option instrument. It includes delta, gamma, vega, theta, and rho, along with optional mark, bid, and ask implied volatility, underlying…
This document explains how a backtest matching engine assigns fill prices across depth books, top-of-book data, and bar-based triggers. Market orders can walk available levels; limit orders use crossed prices when taking liquidity and their limit when…
This example describes a live data actor that subscribes to a slice of Bybit BTC options. At startup, it searches cached instruments for unexpired Bybit options, selects the soonest expiry, prefers USDT settlement when available, and constructs the…
An order book delta represents one incremental change to a book and is used when a venue or data provider sends updates that a trading system must apply locally. The document distinguishes three supported granularities: order-level Level 3 data, price-level…
This documentation explains how an execution algorithm receives a primary order and can break it into spawned orders. Its built-in TWAP implementation divides an order across a configured time horizon and interval, submitting the first slice immediately and…
This example demonstrates an execution test that streams public Binance spot market data into a local sandbox matching engine. The built-in strategy opens a position with an immediate-or-cancel order, maintains post-only buy and sell limit quotes, then…
The document explains an account-state object used to represent a snapshot of balances and margin information. Such snapshots can arrive from venue updates through an execution client or be calculated by a portfolio after a position change when calculation…
This example configures a strategy that monitors top-of-book order imbalance for a perpetual gold instrument and submits sandbox orders when configured thresholds are met. Its settings specify a maximum trade size, a minimum size for triggering, an imbalance…
This example shows how to run an options backtest from a catalog containing option instruments, quote ticks, and Greeks. It subscribes to periodic option-chain snapshots for a chosen series and selects a contract either at a specified strike or near a target…
This reference explains how to model an exchange-defined crypto futures spread as one tradable instrument. It lists required metadata such as the underlying asset, quote and settlement currencies, venue symbol, strategy type, activation and expiration times,…
This example configures a live trading framework to connect to Derive’s test environment and exercise its built-in execution tester on an ETH perpetual instrument. At startup, the strategy can open a position using an immediate-or-cancel order and maintain…
The document defines a generic perpetual contract instrument for perpetual swaps that are not represented by a crypto-specific contract type. It describes the metadata needed to model one consistently across venues: instrument identity, underlying and asset…
This quickstart walks through a bar-based exponential moving average crossover strategy in a backtesting engine. The strategy waits for its fast and slow averages to initialize, then buys when the fast average is at or above the slow one and sells when it is…
The script runs an EMA-crossover backtest on USD/JPY five-minute bid bars built from one-minute FXCM data. It configures a simulated margin venue, balances, fees, rollover interest, and probabilistic fills, then collects bars and fills from the engine. The…
This document describes an adapter for collecting DeFi data from EVM blockchains and making it available through a trading system’s data model. It covers historical and live block feeds, DEX pool discovery, pool event replay, snapshots, and an experimental…