Probability of Informed Trading
The probability of informed trading (PIN) denotes that probability that a counterparty in the trading process has superior information on the value of the asset exchanged. This is a key concept in empirical studies of market microstructure.
The parameters needed to compute the PIN are obtained from the estimation of a theoretical model of the trading process. The details are discussed in Easley et al. (1996), among others.
This package consists of a Matlab function that computes the empirical likelihood for the trading game arising from the theoretical model of asset market. The parameters that maximize this function are then used to compute the PIN.
A detailed readme file in pdf explaining the theoretical model behind the PIN is attached.
The package also presents a sample file that uses data from an actual asset market. The data file includes the number of buy-initiated and sell-initiated trades, as well as trades that cannot be classified denoted as 'no trades' for a number of trading days.
NOTE: The example uses the fminsearchbnd package for constrained objective functions. So far, I have tested with fminsearchbnd by John D'Errico, release 4 dated 7/23/06
Reference:
Easley, D., N. M. Kiefer, M. O'Hara and J. B. Paperman, 1996, "Liquidity, Information, and Infrequently Traded Stocks", Journal of Finance, 51(4), 1405-36.
Cite As
Paolo Zagaglia (2023). Probability of Informed Trading (https://www.mathworks.com/matlabcentral/fileexchange/34391-probability-of-informed-trading), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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 |