An extremely wide and versatile collection of Bybit bots for beginners to use, take apart, and repurpose. For free!
Donations are welcome ♥
TON - kushnarenko.ton
/ UQByJu13PhBBRkgtdv3nPlzRwKOQ5y1YeQok3JGI-A_Kolya
Ethereum, MNT and other tokens - kolya5544.eth
/ 0x27c5De49e72257c426D92b22f830Ed0b2BF2dcc0
Bybit ID for direct transfers of any coin: 118027304
There are different categories of bots presented in this repository.
Directory | Description | Complexity level |
---|---|---|
simplest_examples |
Simple examples on how to get authenticated, make simple requests, request information from the market, place orders and so on | 🔥 - Very simple |
ws_examples |
Simple examples on WebSocket: authentication, simple trading, etc. | 🔥 - Very simple |
dca_examples |
Examples of DCA (Dollar Cost Averaging) bots | 🔥🔥 - Simple |
martingale_examples |
Examples of linear short & long futures Martingale bots | 🔥🔥🔥 - Intermediate |
grid_examples |
Examples of linear short & long futures Grid bots | 🔥🔥🔥 - Intermediate |
indicator_examples |
Examples of bots that report information on different indicators, and trade accordingly | 🔥🔥🔥🔥 - Advanced |
liquidity_provider_examples |
[TODO] Simple High-Frequency Liquidity Provider bot for perpetual pairs. You will likely need at least MM 1 level to turn this into a profitable strategy. | 🔥🔥🔥🔥🔥 - Professional |
amm_examples |
[TODO] Examples of Automated Market Maker bots, CFMMs/CPMMs | 🔥🔥🔥🔥🔥 - Professional |
price_arbitrage_examples |
[TODO] Examples of bots that arbitrage the difference between spot and futures on a single exchange | 🔥🔥🔥🔥🔥 - Professional |
funding_arbitrage_examples |
[TODO] Examples of bots that arbitrage funding rate by utilizing spot and futures | 🔥🔥🔥🔥🔥 - Professional |
Each category will have examples in some of available languages. You can check out the libraries below.
Complexity level refers to the difficulty for beginners to grasp the concepts and understand the code behind each interaction, as well as how complex code is in terms of algorithms used. It's a subjective metric.
I don't plan on including any raw REST API bots, so for every language there'll be a specific library/SDK used to make things easier for everyone.
Language | Library | Installation | Environment |
---|---|---|---|
C# | Bybit.Net by JKorf | dotnet add package Bybit.Net |
.NET 8 |
Python | pybit by Dexter Dickinson | pip install pybit |
Python 3.10 |
Interface used is Bybit V5 API
. Unified Trading account is REQUIRED!! Standard Accounts are not supported.
Here is the list of articles you'll likely find useful if you're working on Trading Bots. The order of articles attempts to represent the order you'll want to read them in.
Topic | URL |
---|---|
Creating an API key | How to Create Your API Key? @ Bybit Help Center |
Introduction to API trading and documentation | Introduction @ Bybit API Docs |
WebSocket Public & Private | WebSocket Connect @ Bybit API Docs |
WebSocket Trade | Websocket Trade Guideline @ Bybit API Docs |
Introduction to DCA bots | Introduction to DCA Trading on Bybit @ Bybit Help Center |
Introduction to Martingale bots | Introduction to Futures Martingale Bot @ Bybit Help Center |
Introduction to Grid bots | Introduction to Futures Grid Bot on Bybit @ Bybit Help Center |
Need professional help in building a trading bot that will last you until retirement? I have a wide portfolio of different trading bots and TradingView strategies implemented into C# and Python applications. I can provide you with a cheap hosting place for your bots, help backtest your strategies. You can always find me here:
TG: @kolya5544
Discord: @kolya5544
WEB: https://nk.ax/
Rate is discussable
I do not accept any big contributions or major code changes. Feel free to use GitHub Issues to report bugs and request features to be implemented.
MIT