सभी किताबें

पेशेवर

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 · शब्दावली

Window function क्या है?

Definition 10.6 Research, Data and Risk Platforms · अध्याय 10 — Dataframes

A window function computes, for each row, a value over a set of related rows — the rows of the same group, ordered, possibly limited to a frame such as the last nn rows — without collapsing the rows as an aggregation does: a rolling mean per symbol, a rank within a minute, the previous row’s value (a lag).

उदाहरण

Example 10.8 (Two sets of bars)

On one symbol-day of synthetic trades (375 trades, stamped to the second as some vendors deliver them), five-minute bars labelled and closed on the left and on the right differ in volume in 4 of the 74 intervals: two trades fall exactly on a five-minute boundary, and each moves its volume, 600 shares in all, from one bar to the next. The two sets also carry labels five minutes apart for the same interval. Filling empty bars adds 4 bars to the 74, and the day’s bar returns become 77 instead of 73: a return computed across a dropped bar spans ten minutes and is compared, in a rolling window, with five-minute returns.

अध्याय में पढ़ें →