The discussion investigates why Yahoo Finance showed a daily trading-volume figure that did not match the sum of its hourly figures for a Japanese-listed stock. The explanation is that the daily number represented volume on the primary exchange, while the…
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 challenges a claim that a high-frequency trading bot can detect a large cryptocurrency order, infer its hidden maximum price, buy available coins first, and resell them at that limit. The answers explain that a marketable order generally…
The discussion distinguishes short holding periods from true high-frequency trading. It describes HFT as requiring rapid market-data processing and order execution, often on microsecond timescales, while commenters report that Interactive Brokers’ API…
The discussion considers how to choose when to buy a required quantity of an asset whose price follows an Ornstein–Uhlenbeck mean-reverting process, given a finite deadline. One response frames this as an execution problem: wait for prices to move favorably…
The document explains how to construct periodic open, high, low, and close values from a stream of market prices. Its central rule is to choose one price series first—such as bids, asks, or last trades—and compute the bar from that series alone. For…
The document examines whether a completed trade can have positive market impact. Its example describes an illiquid market where the displayed price is 100, while a buyer has hidden willingness to pay up to 105. A seller offers at 102, the buyer trades, and…
For puts with the same underlying and expiry, the displayed bid and ask quotes generally increase as strike prices rise. The question arose because some last-traded prices appeared to violate that pattern, leading the answers to distinguish current quotes…
The document explains how a trading system can update position quantity, cost basis, average price, and realized and unrealized profit and loss incrementally as fills arrive. Under average-cost accounting, the update uses the prior position and cost, plus…
The note describes two uses of algorithms by bond market makers. A system can maintain required bid and ask quotes across bonds that a desk may not actively want to trade, adjusting them as the best market quotes move. It can also generate indicative prices…
The discussion frames hedge selection as choosing weights on available instruments to reduce the combined portfolio’s PnL variance. A simple example shows that when matching instruments exist, the method should recover offsetting positions; with imperfect…
The discussion asks how to combine robust optimization, fixed transaction costs, and discrete portfolio constraints such as limits on the number of selected assets. It points to work on robust second-order cone formulations and a heuristic for portfolio…
The document considers a funded equity collar for a shareholder seeking cash against an existing stock position. The proposed structure combines a margin loan secured by pledged shares, a purchased put, and a written call with a nearby strike. The bank would…
The note explains why fractional shares offered by brokers do not fully replace stock splits as a way to adjust a share’s trading price. On exchanges, orders generally trade in whole shares, while brokers can aggregate customers’ fractional orders to execute…
The document surveys commercial suites that combine market data, backtesting, event processing, and automated trading. It asks about leading vendors, practical tradeoffs, integration costs, customization, and typical users, but provides only a partial…
The document compares the apparent cost of commission-free brokerage apps with flat-fee brokers. It explains that a zero commission does not make a trade costless: execution at a less favorable price can create an implicit cost through the bid–ask spread or…
The discussion considers whether an investor can hedge an intraday position in a financial-sector fund such as XLF with an inverse leveraged fund such as FAZ. It explains that a nominal three-times inverse exposure could provide a close intraday offset if…
The document explains how an incoming order that is large relative to the visible book interacts with resting orders. A market order generally consumes available liquidity across price levels until its requested size is filled or no executable liquidity…
The document surveys ways to measure market liquidity and explains why trading volume alone can be an incomplete proxy. Quote-based measures include the bid-ask spread, top-of-book size, and depth across the order book or venues; spreads indicate trading…
This discussion considers whether investors’ month-end trades tracking the Bloomberg Barclays Agency MBS Index can be anticipated. It explains that index replication in agency mortgage-backed securities often uses TBA contracts rather than the underlying…
The document addresses which option maturities to use when replicating a variance swap whose observation period runs from the next day through a later end date. It says the option strip used for static replication should expire on the same date as the…
The document explains how to infer the bid and ask for the reciprocal of a foreign exchange quote. Given a bid and ask for AUD/USD, the implied USD/AUD bid is the reciprocal of the original ask, while the implied USD/AUD ask is the reciprocal of the original…
The document explains how exchanges form prices from resting limit orders and incoming orders. A matching engine executes marketable orders against the best available quotes, while the best bid is the highest buying price and the best ask is the lowest…
The document explains what happens when a trader sells a futures contract after previously buying one. It clarifies that a closing sale offsets the trader’s existing long position, leaving the trader with no open position in that contract. The exchange…
The discussion concerns differences between futures option quotes shown in a broker's trading platform and those delivered through its Excel interface. A user reports that the displayed ES quote can diverge from the API feed and then align again after…