JTOOLS HFT HOTPOTATO JTools Table of Contents Project Location: \JTools_HFTHotPotato Since the Flash Crash of May 6, 2010, we have continued to research and investigate strange market phenomena. During this time I have personally developed dozens of applications to screen for such activity and using tools such as the QTSequencer, one can easily visualize the activity on a sub-second (tick) level. However, randomly poking about times in various stocks will yield little valuable results, what is needed is something to screen through the universe of stocks in real time and display the results. The HotPotato application is a conglomeration of three filters I continue to use on a daily basis - High Quote Rates, Wide NBBO Spreads and Explode/Implode (mini-crash) filters. While The HotPotato monitor produces results one would expect and is very accurate, there is nothing magical about the filters themselves and the math behind them is extremely simple. The true magic is NxCore, enabling you to filter through the entire universe of stocks in real time (or using historical tapes). The application also demonstrates how to implement a separate data array (which will contains data for each issue) and use the UserData1 element to properly index into the array for each individual issue, providing fast whole market analysis.
Notes regarding specific filters: Raw Quote Rates: This filter scans for quote rates higher than a set threshold. My personal preference on this filter is by seconds. In many cases stocks will run with very high rates for a few seconds and will become obscured when averaged into a minute timeframe. The minute timeframe can be useful but my preference is by seconds. NBBO Wide Spreads: This filter scans for quotes were the NBBO is extremely wide (as a percentage of price). For this filter my preference is by minutes. While timing by second will also yield valuable results, by minute allows you see more of an over-all view of the wide spread amounts. Explode/Implode: This filter scans for sudden price swings in a stock. My preference for this filter is also by seconds. By minute will almost always generate the same stocks as by second timing, but by second timing will produce more results and these "mini-crashes" often happen in 1 second or less. See examples of using HotPotato here. JTools Table of Contents |