सभी किताबें

पेशेवर

1 Markets I: The Ecosystem and Exchange-Traded Marketsबाज़ार ऑनलाइन 2 Markets II: Rates, FX and Creditबाज़ार ऑनलाइन 3 Markets III: Commodities, Energy and Cryptoबाज़ार ऑनलाइन 4 Quantitative Methodsविधियाँ ऑनलाइन 5 Derivatives and Volatilityडेरिवेटिव्स ऑनलाइन 6 Rates, Credit, XVA and Riskब्याज दरें, क्रेडिट और जोखिम ऑनलाइन 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosअनुसंधान ऑनलाइन 8 Strategies I: Equities and Futuresरणनीतियाँ ऑनलाइन 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksरणनीतियाँ ऑनलाइन 10 Microstructure and Executionनिष्पादन ऑनलाइन 11 Market Making and High-Frequency Tradingमार्केट मेकिंग ऑनलाइन 12 Machine Learning for Marketsमशीन लर्निंग ऑनलाइन 13 Low-Latency Softwareतकनीक ऑनलाइन 14 Networks, Hardware and Trading Infrastructureतकनीक ऑनलाइन 15 Research, Data and Risk Platformsतकनीक ऑनलाइन 16 The Desk and the Firmफ़र्म ऑनलाइन 17 The Industry: Firms, Roles and Careersकरियर ऑनलाइन 18 Interviews I: Maths, Probability and Speedकरियर ऑनलाइन 19 Interviews II: Markets, Trading Games and the Final Roundकरियर ऑनलाइन 20 Interviews III: Codeकरियर ऑनलाइन
ऐप्स परिचय Coach लॉग इन पढ़ना शुरू करें

Quantitative Finance · शब्दावली

In-flight order, cancel–fill race क्या है?

अन्य नाम: in-flight order · cancel--fill race

Definition 21.2 Low-Latency Software · अध्याय 21 — Order Gateway and Order Management

An in-flight order is an order in a pending state: a request about it has been sent and its answer has not arrived, so the order may have changed at the venue in ways the firm does not know yet. A cancel–fill race occurs when a fill and a request to cancel or replace the same order cross: the fill happens at the venue before the request arrives there, and its report reaches the firm after the request was sent.

A cancel–fill race. The cancel leaves at c and arrives L later; a fill at the venue between c - d and c + L is reported after the cancel was sent. The gateway, in the state pending cancel, applies the fill and then the “too late” answer, and ends in filled.
Figure 21.2. A cancel–fill race. The cancel leaves at cc and arrives LL later; a fill at the venue between c−dc - d and c+Lc + L is reported after the cancel was sent. The gateway, in the state pending cancel, applies the fill and then the “too late” answer, and ends in filled.
Cancel–fill races against the latency of the cancel, with fills at = 200 per second and reports delayed d = 20\, µ s. The points are the Python gateway against Book 10’s matching engine (two seeded runs of 2 000 orders each per point); the solid curve is the exact probability for orders held 1\, m s on average, the dashed one the formula for orders that have rested at least L + d when cancelled. Data: fig_races.py (deterministic).
Figure 21.3. Cancel–fill races against the latency of the cancel, with fills at λ=200\lambda = 200 per second and reports delayed d=20 µsd = 20\,\text{µ}\mathrm{s}. The points are the Python gateway against Book 10’s matching engine (two seeded runs of 2 000 orders each per point); the solid curve is the exact probability for orders held 1 ms1\,\mathrm{m}\mathrm{s} on average, the dashed one the formula for orders that have rested at least L+dL + d when cancelled. Data: fig_races.py (deterministic).
अध्याय में पढ़ें →