A Trade Classification Algorithm from Market Quotes
This routine uses bid and ask quotes sample intradaily at a uniform frequency to classify the implied origin of market trading activity. It computes the implied number of sell-initiated, buy-initiated trades, and trades with no discernible sign (denoted as 'no trades'). The classification algorithm used here follows Lee and Ready (1996).
A pdf file with an outline of the trade classification algorithm is also included.
Reference:
Lee, C. M. C., and M. J. Ready (1991), "Inferring Trade Direction from Intraday Data", Journal of Finance, 46 (2), 733-746.
Cite As
Paolo Zagaglia (2024). A Trade Classification Algorithm from Market Quotes (https://www.mathworks.com/matlabcentral/fileexchange/34376-a-trade-classification-algorithm-from-market-quotes), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Computational Finance > Financial Toolbox >
- Computational Finance > Datafeed Toolbox > Financial Data > Transaction Cost Analysis >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |