Testing of HFT GUI
                    (High Frequency Trading Graphical User Interface)




                                                    How to test it…

EXTENT Conference
April 13, 2012, Kostroma, Russia
Trading Client




  PRICE
  Price          SIZE   SIDE
Human and machine view on the picture during HFT



                                    >1000 updates per second




60Hz and 24 frame per sec           >1000 updates per second

                                     >100 M orders per day



60Hz and 24 frame per sec            >100 M orders per day


                                                               So…
There is no way to check
manually
• Trading environment
• Read data from the GUI of application

  • Terminal servers               • Video card driver
  • Windows controls               • Hooks



 No additional operations for      Need a high speed storage device;
 decoding data
                                   Need to recognize useful
 Do not guarantee the receipt of
                                   information from bitmaps;
 information on any interface;
 High load on the CPU and          Miss some parts of data;
 memory
                                   Applicable to all interfaces;

                                   Fast and reliable
• Microsoft Detours

 Detours is a library for instrumenting arbitrary Win32 functions on x86, x64, and IA64 machines.
 Detours intercepts Win32 functions by rewriting the in-memory code for target functions.
 The Detours package also contains utilities to attach arbitrary dynamic-link libraries (DLLs) and data
 segments (called payloads) to any Win32 binary.




                                                        SetDIBitsForDevice function


http://research.microsoft.com/en-us/projects/detours/
• Our algorithm
• Comparison


Log file with
  MD flow
                            Comparison

                  Orders
MD analyzer       Books
                Sequences


                  Orders
   Batch          Books
 converter      Sequences



Folder with
 screens
• Feedback from real application testing
QUESTIONS ARE
  WELCOME

Extent3 exactpro testing_of_hft_gui

  • 1.
    Testing of HFTGUI (High Frequency Trading Graphical User Interface) How to test it… EXTENT Conference April 13, 2012, Kostroma, Russia
  • 2.
    Trading Client PRICE Price SIZE SIDE
  • 3.
    Human and machineview on the picture during HFT >1000 updates per second 60Hz and 24 frame per sec >1000 updates per second >100 M orders per day 60Hz and 24 frame per sec >100 M orders per day So…
  • 4.
    There is noway to check manually
  • 5.
  • 7.
    • Read datafrom the GUI of application • Terminal servers • Video card driver • Windows controls • Hooks No additional operations for Need a high speed storage device; decoding data Need to recognize useful Do not guarantee the receipt of information from bitmaps; information on any interface; High load on the CPU and Miss some parts of data; memory Applicable to all interfaces; Fast and reliable
  • 8.
    • Microsoft Detours Detours is a library for instrumenting arbitrary Win32 functions on x86, x64, and IA64 machines. Detours intercepts Win32 functions by rewriting the in-memory code for target functions. The Detours package also contains utilities to attach arbitrary dynamic-link libraries (DLLs) and data segments (called payloads) to any Win32 binary. SetDIBitsForDevice function http://research.microsoft.com/en-us/projects/detours/
  • 9.
  • 10.
    • Comparison Log filewith MD flow Comparison Orders MD analyzer Books Sequences Orders Batch Books converter Sequences Folder with screens
  • 11.
    • Feedback fromreal application testing
  • 12.

Editor's Notes

  • #7 Вань, расставь сам аккуратнее, угу??