3
$\begingroup$

I am trying to get notified of buy walls and sell walls from a limit orderbook and I had a couple of ideas and would appreciate some insight into these

  1. Take the mean quantity and anything above the mean quantity would classify as a wall, problem would arise with extremely low price buys and high price sells
  2. Take the median quantity, anything above median would do the same as 1
  3. Divide the price range into 10% zones, compute the median in each zone and the largest quantity above the mean/median in the zones closest to the price would form a wall. This would trigger some fake walls though
  4. Measure the largest quantities in descending order within a specified proximity from current highest bid and lowest ask and have a condition where if the bid quantity > sell quantity by a threshold T we get a buy wall and vice-versa for a sell wall. Are there better algorithms that I am not considering. This seems to be a problem similar to identifying candlestick chart patterns such as head and shoulder which needs threshold values to identify the formation

Are there any better mechanisms to identify buy and sell walls from an orderbook programatically? Some direction is appreciated

UPDATE 1 I could find nothing on IEEE xplore for orderbook https://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=orderbook some direction/advice/snippet would be super appreciated

$\endgroup$
1
  • 1
    $\begingroup$ A problem I see is that the definition of a "wall" seems highly subjective, and hard to pin down. And even an apparently solid wall can "melt away" quickly when the market approaches it. $\endgroup$
    – nbbo2
    Nov 2, 2018 at 15:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.