# [ENG] Side Strategy Bybit Bot This is a simple semi-automatic trading bot working with Bybit API and written in Python. The strategy is based on the side moving of the token which crosses user input levels. On the level cross long and short orders are opened. # Install guide Bot is installed via **docker compose** file and **docker pull** command. This "guide" is made for **linux** and **docker**, but you should be able to run this bot on any system with *Python 3*. ### Installing via `docker compose`: 1) Create bot directory 2) Pull image from git: ```sh docker pull git.frik.su/eugenebee/tradingbot-with-bybitapi:latest ``` 3) Create **compose.yml** file: ```yaml services: bybit-bot: image: git.frik.su/eugenebee/tradingbot-with-bybitapi:latest container_name: bybit-bot environment: API_KEY: "bybit-API-key" API_SECRET: "bybit-secret-API-key" BOT_TOKEN: "telegram-bot-token" WHITELIST: "chat-id-1, chat-id-2" LEVERAGE: "1" # Currently not supported. Set leverage in your Bybit account TESTNET: "False" DEMOTRADING: "False" LOOPSLEEPTIME: "1" SHOWEXTRADEBUGLOGS: "False" volumes: - ./data:/app/data restart: unless-stopped ``` ### After the basic pre-setup: *It is recommended to use Bybit sub accaunt forn the bot.* 1) Get your **API** keys for the **Bybit** and **Telegram** 2) Enter those in the **compose.yml** variables and your **Telegram id** into the `WHITELIST` 2) At the **Bybit** platform turn on hedge mode foor all tokens you want the bot to trade 3) Read the milk leaves and then make ***4*** circles around the server with the bee hive in your hands 4) Everything is ready for the first start, enjoy! ### To start up the bot enter the next command: ```sh docker compose up -d ``` *If you need use the `sudo` before the command* Thank you for reafing, hope everything will work fine!