Code Monkey home page Code Monkey logo

binance-trader-bot's Introduction

Binance Trader Bot

A bot that tracks the leadboard on Binance and sends updates to a Discord channel via webhook, built with Rust.

Table of Contents

Introduction

The Binance Trader Bot is a tool for keeping track of the top traders of your choose on Binance and sending updates to a Discord channel. This allows traders to stay informed about the performance of the top traders and make informed decisions about their own trading strategies.

Features

  • Tracks the leadboard on Binance in real-time.
  • Sends updates to a Discord channel via webhook.
  • Easy to configure.
  • Built with the high-performance Rust programming language.

Requirements

  • Rust if not install follow Install rust
  • A Discord webhook set up for the channel you want to receive updates in.

Installation

git clone https://github.com/waxdred/Binance-Trader-Bot
cd Binance-Trader-Bot

configure

configure file ./config/config.json

Usage

  • Execute programme:
make
  • Command make:
make build
make run
make clean
make re

Custom

  • webhook: The URL for the Discord webhook.
  • delai: The delay in seconds between send webhook.
  • url: An array of URLs for the leadboard pages on Binance that you want to track.
  • custom: An object that contains custom fields for the Discord webhook payload.
  • whitelist: array of symbol you want trade if whitelist is set bot will show you only the symbol from whitelist
  • blacklist: array of symbol you don't want trade
Example of custom
in custom value set at "" take the value of the trader
{
    "webhook": "<URL WEBHOOK>",
    "delai": 2,
    "url": [
           "https://www.binance.com/en/futures-activity/leaderboard/user/um?encryptedUid=<ID TRADER>",
            "https://www.binance.com/en/futures-activity/leaderboard/user/um?encryptedUid=<ID TRADER>",
            "https://www.binance.com/en/futures-activity/leaderboard/user/um?encryptedUid=<ID TRADER>",
            "https://www.binance.com/en/futures-activity/leaderboard/user/um?encryptedUid=<ID TRADER>",
            "https://www.binance.com/en/futures-activity/leaderboard/user?encryptedUid=<ID TRADER>"],
    "custom" : {
        "title": "",
        "description": "",
        "username": "",
        "thumbnailUrl": "",
        "avatar_url": "",
        "author": "",
        "content": ""
    },
    "whitelist":[
    ],
    "blacklist":[
        "BNBUSDT",
        "CROUSDT"
    ]
}

Contributing

Contributions to this project are welcome. If you'd like to contribute, please fork the repository and make your changes. Then, open a pull request and I'll review your changes.

License

This project is licensed under the MIT License.

binance-trader-bot's People

Contributors

waxdred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

binance-trader-bot's Issues

Webhooks not sending to the channel

I am trying out the code you provided I've installed everything and did setup the config with some uids and the webhook and when I run the code with ( make ) or ( make run ) I could se the requests to binance is successful and the positions in consol but nothing is sent to the discord server pls help!

Ip blocked by Binance

Hello, is there any way how to adjust delay between every api request? When using multiple ids Binance block ip adress.

Thank you

Need your help

I've run app after few hours, app hang not send notification to discord. Please help! I think something wrong with proxy or IP banned (I restart many time but it doesn't run, when I restart modem, it run about 1 hour and stuck :)). I changed time sleep from 3 to 120 but still hang

Thanks

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.