https://au.mathworks.com/help/datafeed/krg.liquidityfactor.html
liquidityFactor - Estimate and compare liquidation costs across stocks - MATLAB
This MATLAB function returns the ratio of liquidation costs due to liquidity demand by stock for an equal investment value, or liquidity factor.
estimatecompareliquidationcostsacross