The document discusses what mathematical preparation high-frequency trading may require. One answer emphasizes applied tools such as linear algebra, statistics, time-series analysis, optimization, and sometimes machine learning, while noting that practical…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
9,660 documents
The document explains how to build a simplified exchange execution simulator for backtesting. It recommends using historical order book snapshots or updates to estimate fills: a market order consumes available depth until its requested quantity is filled,…
The document asks whether VWAP and TWAP can be combined into a more general benchmark, suggesting an exponentially decayed volume-weighted price as one possible construction. The answer reframes the problem: TWAP can be viewed as VWAP after changing the time…
The document describes a strategy using 30-second bars on E-mini S&P 500 futures that performed well in backtests and walk-forward tests but lost in live simulation because small execution-price differences erased its edge. The question asks whether…
The document examines an apparent mean-reverting basket built from several foreign-exchange rates. The proposed process fits a linear regression to estimate hedge ratios, forms a spread, then applies an augmented Dickey–Fuller test. The reported significance…
The document raises a terminology question about liquidity rebates: whether they go to any trader placing a limit order or specifically to a market maker. It contrasts a general description of limit-order traders as liquidity providers with readings that…
The document answers whether a trader can obtain a low-cost, raw NASDAQ TotalView-ITCH real-time feed. Its response says that a basic single-port feed without redistribution rights costs more than the stated budget, while historical data also carries a…
This answer distinguishes designing execution methods from monitoring individual trades. It argues that quants can analyze strategies, test them, and work with programmers to implement execution algorithms, while traders or managers typically oversee live…
The document introduces tick imbalance bars, which group market ticks until the cumulative signed tick count crosses a threshold based on its expected magnitude. Tick direction is assigned by the tick rule: price upticks are buys, downticks are sells, and…
The discussion explains possible routes to real-time forex data over FIX and why access may be difficult to obtain cheaply. It describes FX as an interbank market where a firm typically connects through chosen banks, while noting that banks may offer FIX for…
The document describes a workflow for obtaining stock price data, turning timestamped records into a Pandas DataFrame, and saving the results. The intended application is to compare American depositary receipts with their ordinary-share counterparts,…
The document examines a claim about how much an insider’s private information is reflected in price in Kyle’s single-auction model. It lays out the normal-value setup, the insider’s order rule, noise trading, and the market maker’s price rule, then questions…
The question defines market impact for a market order as the price difference between the first and last shares executed. It observes that, if the order book were static, the visible sell-side depth would indicate the last price reached by a buy order. The…
The document describes a cross-exchange futures pairs strategy involving products whose prices are expected to remain close. The trader enters one leg with a limit order and the other with a market order, aiming for price neutrality. The strategy’s signal is…
The document explains how to take a short position in a synthetic instrument that can have a negative price, using spreads as examples. It lists calendar spreads, butterflies, and double butterflies, then gives a January–February calendar spread: the long…
The question asks whether limited capital can produce a larger payoff by requiring several stocks to meet a return threshold, rather than holding equal investments in each. The response proposes a different approach: if expected price moves occur at…
The document describes a calibration problem in the Guéant–Lehalle–Fernandez-Tapia market-making model. The author estimates bid- and ask-side order-arrival intensities using the last traded price as a reference, updating it at short intervals, and separates…
The document explains that the signed difference between an order’s average execution price and its arrival mid-price is usually treated as implementation shortfall. It presents an approximate model with a spread-related term and a market-impact term that…
The document describes pinging: sending small orders into a market to infer whether larger resting orders may be present. A quick fill is presented as a possible signal that deeper liquidity is behind the displayed or encountered order. The original question…
The document discusses fitting the arrival-rate parameters in the Avellaneda–Stoikov market-making model when observed fill rates do not appear exponential in spread. The author compares empirical spread buckets with candidate curves, including a…
The document discusses whether FIX Simple Binary Encoding can reduce the development effort or bandwidth costs of high-frequency trading connections compared with proprietary exchange protocols. One response stresses that firms generally must use the…
The discussion explains why a high-frequency backtest’s latency assumption should reflect both message timing and the strategy’s sensitivity to event ordering. For spread-crossing or arbitrage strategies, it suggests modeling latency as variable, potentially…
The discussion asks whether trade and order-book data can reveal when a large order was split into smaller executions. It distinguishes identifying one participant’s activity from grouping executions caused by a single marketable order. Order identifiers do…
This discussion collects risk management topics relevant to automated trading, with particular attention to high-frequency systems. It names drawdowns, runs of losses, empirical loss distributions, confidence intervals, value at risk, slippage, liquidity,…