Inferring the Aggressor using Options Data

Поділитися
Вставка
  • Опубліковано 12 чер 2023
  • We will be implementing the bulk volume classification algorithm to attempt to discern information from tick by tick trade data. We will be using ThetaData's API which provides both Historical and Real-time Streaming of Options Tick Level Data!
    We first explore what algorithms have been used previously to attempt to infer the aggressor (the trader who initiates the trade), which would classify every trade as either a buy or sell initiated trade. In todays world of high frequency and complex execution algorithms that can split orders up into multiple child order and distribute across exchanges, the two papers we discuss argue that these traditional classification algorithms are not so relevant.
    Therefor we implement the Bulk Volume Classification algorithm that looks at aggregated trades, and therefore captures market makers response to trade flow over trade periods. We have completed this analysis using only Historical trades data, however in the next video we will implement this algorithm with Real-time Streaming.
    Online written tutorial: quantpy.com.au/options-data/i...
    ★ ★ Code Available on GitHub ★ ★
    GitHub: github.com/TheQuantPy
    Specific Tutorial Link: github.com/TheQuantPy/youtube...
    ★ ★ QuantPy GitHub ★ ★
    Collection of resources used on QuantPy UA-cam channel. github.com/thequantpy
    ★ ★ Discord Community ★ ★
    Join a small niche community of like-minded quants on discord. / discord
    ★ ★ Support our Patreon Community ★ ★
    Get access to Jupyter Notebooks that can run in the browser without downloading python.
    / quantpy
    ★ ★ ThetaData API ★ ★
    ThetaData's API provides both realtime and historical options data for end-of-day, and intraday trades and quotes. Use coupon 'QPY1' to receive 20% off on your first month.
    www.thetadata.net/
    ★ ★ Online Quant Tutorials ★ ★
    WEBSITE: quantpy.com.au
    ★ ★ Contact Us ★ ★
    EMAIL: pythonforquants@gmail.com
    Disclaimer: All ideas, opinions, recommendations and/or forecasts, expressed or implied in this content, are for informational and educational purposes only and should not be construed as financial product advice or an inducement or instruction to invest, trade, and/or speculate in the markets. Any action or refraining from action; investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied in this content, are committed at your own risk an consequence, financial or otherwise. As an affiliate of ThetaData, QuantPy Pty Ltd is compensated for any purchases made through the link provided in this description.

КОМЕНТАРІ • 17

  • @JecJT
    @JecJT 11 місяців тому

    fantastic video, looking forward to the next one absolutely

  • @Smarttradingchannel
    @Smarttradingchannel Рік тому +2

    Yesss a new videooooo !
    We missed you
    You are top 💜💜

  • @jorgeih
    @jorgeih 10 місяців тому +2

    Siqueira et al. calculated the VPIN using real data to compare with the performance of the Tick Rule (TR) and BVC models in classifying assets traded on the Brazilian stock exchange (B3). In conclusion, TR algorithm shows much better performance than BVC when compared to the real data. ("Analysis of the Tick Rule and Bulk Volume Classification Algorithms in the Brazilian Stock Market").

  • @themorleyc
    @themorleyc 3 місяці тому

    I understand the quotes soukd be fragmented across muktiple venues the synchronization is impossible to quotes to orders. But how about ES futures which have a single exchange?

  • @xXchakirosXxKiller
    @xXchakirosXxKiller 10 місяців тому

    Hello, why don't you make a video please about forward variance model? ( Bergomi model for ex )

  • @sebastianpirzada2170
    @sebastianpirzada2170 10 місяців тому +1

    The market priced this in

  • @cole6167
    @cole6167 11 місяців тому +1

    how would we model "net exposure change" across products and markets? For example, if we detect aggressive buying in asset XYZ (eg, using bulk volume classification) and simultaneously aggressive selling in short-dated call options on XYZ (or even on another asset with high correlation, etc), it could be helpful to know that the net delta exposure in XYZ by aggressors may not be changing much due to observed activity in this period (but obviously this could reflect opinions on volatility pricing, interest rates, liquidity, etc, etc).
    Would it be plausible to add a column for "net delta exposure" (where 100 shares = 100 and an option computed for that point-in-time as delta 0.20 = 20) and then sum this as the volume?
    Anyway, the history and implementation overview were really well-placed here. another great video!

  • @stevenstumpo2748
    @stevenstumpo2748 9 місяців тому

    can you code a garch volatility model in python?

    • @QuantPy
      @QuantPy  9 місяців тому +1

      Volatility videos coming very soon

  • @valueray
    @valueray Рік тому

    You sure its not hindsight biased?

  • @telifhakki8745
    @telifhakki8745 10 місяців тому

    In my oppion can be for crypto trade bro

  • @amanchhabra5564
    @amanchhabra5564 11 місяців тому

    Bro u r overcomplicating..... It's far more simpler in real life....
    I wonder if u trade at all?

    • @goodlack9093
      @goodlack9093 10 місяців тому +3

      lol what? what exactly is simpler in real life?

    • @NCF80M3
      @NCF80M3 7 місяців тому +1

      This is deep knowledge beyond your skill level. Get a degree in math and you will realize there is much much more at play and far more to be explored using these fundamentals as a basis.

    • @themorleyc
      @themorleyc 3 місяці тому

      ​​@@NCF80M3agree well said

  • @putanginamojepoydizon5936
    @putanginamojepoydizon5936 Рік тому

    He's back, time to get back to work, boys