How do HFT strategies combat slippage

Discussion in 'Strategy Building' started by traderzhang, Dec 9, 2023.

  1. Lol. That is my average round trip slippage. Go figure.
     
    #11     Dec 10, 2023
    fan27 likes this.
  2. HFT firms have their servers running in the exchange and pay a lot of money for that benefit. They also develop trading FPGA boards to shave off microseconds from the reaction time. It's quite a different ballgame :D
     
    #12     Dec 10, 2023
  3. Snuskpelle

    Snuskpelle

    If your limit orders don't have a limit price that make them immediately execute, then you will get garbage backtest results if you in your sim assume they always get filled and/or instantly. Furthermore, adverse selection is a thing. Modelling limit order execution is pretty complicated and in most cases I would just recommend going with market orders and accepting the slippage. Of course, if you're intending to do HFT then you have to go into those complications.
     
    Last edited: Dec 10, 2023
    #13     Dec 10, 2023
    MarkBrown likes this.
  4. R1234

    R1234

    I trade multiple intraday strategies with holding periods of a few minutes. I only do S&P500 stocks, only market orders, long and short. Position sizes are $25k.

    When I total my daily total return, some days it underperforms theoretical and some days it out performs theoretical. When averaged over a longer term, the slippage averages out to about zero.

    You have to look at long term averages because there can be one off bad fills or good fills every day. And even within the S&P500 there is a wide liquidity range - for example super liquid like NVDA vs not too liquid like FICO.
     
    #14     Dec 10, 2023
    birdman and murray t turtle like this.
  5. Sprout

    Sprout

    Don't hear much about FPGA. Any references you could point me to, I'd appreciate.

    My current mind mapping that is associated with the subject;

    upload_2023-12-10_8-38-6.png
     
    #15     Dec 10, 2023
  6. I'm no expect so take this with a grain of salt, but with FPGA you implement the trading algos straight in the hardware, with the main idea of lowering the latency caused by the network hardware and software TCP/IP stack to shave off micro-/nanoseconds. You can get these FPGA development boards for something like $1000 though I don't know what's actually the best fit for HFT. The programming is done with a hardware description language (HDL) like Verilog/VHDL, which are C-like languages for hardware programming. Anyway, if you are not already running your servers glued to the exchange servers with sub-ms latencies, developing for FPGA is a moot point (the benefits are lost in the network latency).
     
    #16     Dec 10, 2023
    Bad_Badness, beginner66 and Sprout like this.
  7. 2rosy

    2rosy

    You can look at xilinx for info. Chipscope. I remember impulse C was used years ago
     
    #17     Dec 10, 2023
    Sprout likes this.
  8. Zwaen

    Zwaen

    Don't they have Robin hood accounts? They would also pay no commissions.
     
    #18     Dec 10, 2023
  9. if you use mkt order, how could it be that your average slippage is zero? With mkt order, you will pay the ask-bid spread for each trade.
     
    #19     Dec 10, 2023
  10. Robert Morse

    Robert Morse Sponsor

    Slippage is not defined as the mid point. Slippage refers to the difference between the expected price of a trade and the price at which the trade is actually executed. If you expect to pay the ASK and you do, your fill was not slippage. I also find it hard to believe that 100% of the trades are executed that way at any broker especially with free routes.
     
    #20     Dec 10, 2023