Giter Club home page Giter Club logo

bybitai's Introduction

BybitAI

BybitAI is a high-frequency trading bot for the Bybit derivatives exchange. It uses a simple machine learning model to make trading decisions based on real-time market data.

Features

  • Fetches real-time market data from Bybit
  • Generates trading signals using a simple machine learning model
  • Places market orders based on the trading signals
  • Implements dynamic risk management
  • Logs all trading activities and sends them to a Telegram chat

Installation

  1. Clone this repository:
git clone https://github.com/0xRichy/BybitAI.git
cd BybitAI
  1. Install the required Python packages:
pip install ccxt numpy keras python-dotenv python-telegram-bot
  1. Create a .env file in the root directory of the project and add your Bybit API keys and Telegram Bot API token and chat_id:
BYBIT_API_KEY=your_api_key
BYBIT_SECRET_KEY=your_secret_key
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id

Usage

  1. Run the main script:
python main.py

The bot will start fetching real-time market data, generating trading signals, and placing market orders based on the signals. All trading activities will be logged and sent to the specified Telegram chat.

Disclaimer

This bot is for educational purposes only. Do not risk money which you are afraid to lose. USE THE BOT AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.


Please note that this is a rough sketch and you'll need to fill in the details yourself. Also, remember to replace the placeholders in the .env file with your actual API keys and other environment variables.

bybitai's People

Contributors

0xrichy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.