
Get the code from GitHub per this article
Learn to manage exchange and volatility risk in crypto arbitrage by using fiat-pegged assets like usdt, trading perpetual contracts on bybit, and applying careful position sizing to protect profits.
Explore statistical arbitrage and cointegration, including correlation versus cointegration, z-scores, and hedge ratios guiding mean-reverting crypto pair trading.
Connect to a web socket for streaming market data and subscriptions. Learn when to use web sockets vs REST for public and private data, and respect rate limits.
Demonstrates testing a crypto statistical arbitrage bot in Python: running trades, printing order states and z-scores, verifying remaining capital and position logic, and debugging for reliable mean-reversion trades.
Restore the bot to its intended config by fixing the kill switch logic, ensuring trades close and reopen on z-score signals, and updating api settings for Matic and SGX.
As requested by the Crypto Wizards community, this course provides you with:
An intuitive understanding of trading principles in crypto (and other) markets
Optimal calculations for risk, position sizing and entry/exit signals
Everything you need to know to practically get started in Statistical Arbitrage
How to find edge in multiple places and stack as many odds in your favour as possible
Pairs trading concepts which can profit in upwards, sideways and downwards (all) market conditions
An understand of Statistical Arbitrage and associated metrics
An understand on how trading works on a Crypto Exchange
How to tap into exchange price information at lightening speed via WebSockets and REST API
Python code and walkthrough (line-by-line) for finding your own co-integrated statistical arbitrage trading pairs
Python code and walkthrough (line-by-line) for developing your own trading bot
Most retail traders never learn some of what you will come across here, either because those who understand the concepts have not taken the time to break this down so that anyone can follow, or because there is so much nonsense existing today that filtering through the noise can be challenging.
In this course, we aim to break down barriers so that absolutely ANYONE can understand and tap into the advantages that these techniques can provide. The lecturer, Shaun McDonogh, himself admits that he is not a math wiz, nor needs to be. Once you understand these principles, you can apply them anywhere.
We will be using the ByBit exchange (taking advantage of one major benefit offered by the exchange) to build and test our bot. At no point do we use real money for testing. Rather, we use the testate funds provided by the exchange for ensuring forward testing in a "live" testate environment.
IMPORTANT: This course is for educational purposes only. Nothing you learn in this course is promising favourable or adverse results. You will be learning known methods for calculating statistical arbitrage and building trading bots. How you test and implement this knowledge is up to you.