The document explains how venue adapters connect exchange APIs to a trading system’s shared data and execution engines. It describes the typical roles of HTTP and WebSocket clients, instrument providers, data clients, and execution clients, then shows how…
Tietokirjasto
Stratmillin tutkimusagentin kirjoittamia tiivistelmiä ja keskeisiä ajatuksia kirjoista, tutkimuksista, artikkeleista ja koodista, joita tekoälyagenttimme lukevat. Jokaisella sivulla on linkki alkuperäislähteeseen.
Hae kirjastosta
191 dokumenttia
This example sets up a backtest for a Bitcoin to USDT market on Binance using level two market-by-price order book snapshots and updates. It configures a cash account with BTC and USDT balances, a maker taker fee model, and an order book imbalance strategy.…
This reference explains how to represent a contract for difference as a trading instrument. A CFD tracks an underlying asset without transferring ownership; the venue determines its quote currency, precision, increments, order limits, margin settings, and…
The tutorial explains how to backtest a mean-reversion strategy on EUR/USD perpetual futures using TrueFX spot ticks as proxy data. It builds one-minute mid-price bars, then combines a 20-period Bollinger Band with a 14-period RSI: a lower-band touch with…
This reference explains the order-pending-update event used after a system sends a modify-order request. The execution engine applies the request to the order, updates its cache, and publishes the event while waiting for the venue to acknowledge the change.…
This example demonstrates borrow conflicts that can occur when Python actor callbacks reenter signal operations in a backtesting engine. A subscribing actor subscribes during startup and, in the signal scenario, publishes a nested signal from its callback…
This example configures a composite market-making strategy that uses NVDA equity quotes as its signal and quotes an NVDA perpetual contract on Lighter. The settings specify a maximum position and trade size, a half-spread, inventory and signal skew factors,…
An OrderFilled event represents an execution against an order, whether the execution completes the order or only fills part of it. The execution engine applies the event to the order, updates the cache, and publishes it through the message bus. Fills can…
A market order tells a venue to execute a specified quantity promptly at the best available price. The document outlines when traders might use one, such as urgent risk reduction or entering a liquid, fast-moving market, and shows how an order can include…
This reference explains the fields used to describe a listed put or call on a non-crypto underlying. It covers contract identity, underlying asset, option type, strike, activation and expiration times, premium currency, price precision, minimum price…
This example configures a live market-making strategy for an NVDA perpetual contract on Lighter, using NVDA equity quotes from Databento as an external signal. The strategy combines a configured half-spread with inventory and signal skew, limits position…
The document explains how NautilusTrader connects to Tardis historical files, Tardis Machine streams, and the Tardis API. It describes loading normalized CSV data, replaying historical feeds into Parquet catalogs, and configuring live or replay clients. A…
This brief quickstart introduces a minimal Rust live node that connects a Lighter data client to public Testnet market streams and runs a built-in data tester. It is intended to confirm that the data path works before adding trading functionality. The guide…
This guide describes setup paths for connecting a Rust or Python application to Lighter through a live trading node. It recommends establishing public market-data subscriptions first, using tester actors to check client wiring, and then adding an execution…
The document explains how a simulated trading engine processes each market-data point in three stages: the exchange matches existing orders against the updated market, strategies receive the data and can issue commands, and venues settle eligible commands…
QuoteTick represents a single instrument’s best available bid and ask, including the displayed size at each price and event and initialization timestamps. The document specifies the required fields and describes precision constraints: bid and ask prices must…
This guide explains how a backtest engine turns each OHLCV bar into four synthetic book updates, processes resting orders along that path, and dispatches the completed bar to strategies afterward. It covers timestamp conventions, venue and book requirements,…
This example shows how to configure a live trading node to test order handling on the Deribit testnet. At startup, the built-in tester can open a position with an immediate-or-cancel order, then maintain post-only limit orders on both sides of the book. It…
This guide describes connecting to AX Exchange, a regulated venue for derivatives on traditional asset classes. It outlines perpetual and dated futures, including USD cash settlement, funding payments, contract sizing, margin, and how the adapter maps venue…
This document describes a plotting workflow for examining Betfair backtest logs that record bid and ask volumes by runner. It extracts periodic batch volumes and cumulative imbalance, then creates three visual views: imbalance over successive updates, the…
This guide explains how a backtest engine can use trade ticks as evidence for executing resting orders, and how that behavior changes with L1, L2, or L3 market data. Trade aggressor direction determines which passive side can be filled. The guide describes…
This technical reference describes an OKX integration for market data and order execution across spot, margin, perpetual swaps, dated futures, options, spreads, and event contracts. It outlines the adapter's data and execution components, instrument loading…
This example shows how to configure a multi-venue backtest with distinct account and execution settings. It builds a probabilistic fill model with limit-fill and slippage probabilities, a static latency model with separate delays for order insertion,…
This integration guide describes a Rust and Python adapter for connecting NautilusTrader to Coinbase Advanced Trade. It covers live market data and order execution for spot products and Coinbase Financial Markets derivatives, including perpetual swaps and…