Giter Club home page Giter Club logo

binanceleaderboardcopier's Introduction

binanceleaderboardcopier

Binance Leaderboard Copier


Automated cryptocurrency trading bot


Using this bot you can copy trades from the highest performing traders from across Binance Futures.
This bot can be highly profitable in case you choose the correct trader to follow (I coded it and I am already using it but I have a very tight capital)

What is Binance Futures Leaderboard?


Binance Futures leaderboard is the showcase of the best performing traders from across binance futures.
https://www.binance.com/en/futures-activity/leaderboard
Some Traders are sharing their positions so the role of this bot is to mirror a choosen trader.

How to use the robot?


I coded this robot using pure PHP,MYSQL and PHP CCXT library for binance
I also used an attractive and free bootstrap template SB Admin 2
This bot can run 24/7 on a windows vps

Setting Up the bot on a windows VPS


Install XAMPP on the VPS XAMPP for windows
Then Install MYSQL Query Browser
Then Turn on Apache and mysql Modules.
Open MYSQL query browser
Server host : localhost
username : root
password: blank
Create a database called "binancefutures"
import the db file database.sql into binancefutures schema. Under c >> XAMPP >> HTDOCS >>cryptofutures paste the entire files.

Running The bot in chrome


Bot will not work without the insert of this command in the run command:
chrome.exe --disable-site-isolation-trials --disable-web-security --user-data-dir="C:\temp"
This Command will disable the cross origin issue because a popup is used to collect the trades.
Enter this url : http://localhost/cryptofutures/admin/
username : admin
pass: hello_world_01

There 2 modes for the bots : admin mode and vps mode.
First you have to configure some params in the admin mode.
3 things need to be configured : Tradable pairs,Create API and global parameters

1.Tradable Pairs
I have already added 118 coins (The full tradable coins under the futures section)
In case binance listed new coins for the futures section
You can add the coin abbr : ex ETH,BTC,XRP,ADA (Make sure its uppercase)
Coin Name : The coin full name
Coin Digits : The decimal place
and you can also upload coin image ( optional)

2.Create API
Creating API KEY and SECRET KEY
Log into your Binance account and go to the account settings -> API Management page where you can create a new API key.
make sure you enable 'Enable Trading', and 'Enable Futures' are enabled.
Once your keys are created, make a note of the API Key and Secret Key.
Transfer some USDT balance from spot to futures.

Click on add API and KEY :
client email (enter your email or username here)
client pass(enter your password here)
binance api key : paste the api key here
binance secret key : paste the secret key here
binance leverage : enter the leverage here ( I recommend 2)
Binance lot amout per trade : input here your capital divided per 10
keep the last field 1 (this mean enable futures yes (1) no (0))

3.Global Parameters (The most import section)
param_maxtrades : set the max number of trades the robot take ( I recommend 10)

param_copyingsrc : set the id of the trader you want to copy trades
https://www.binance.com/en/futures-activity/leaderboard
Then click USD-M Futures
Check User sharing position
Time interval : All (recommended) Click on any trader you like url will look like this :
https://www.binance.com/en/futures-activity/leaderboard?type=myProfile&tradeType=PERPETUAL&encryptedUid=9745A111F31F836D6D2E9F758DA3A07B
I really like this trader and I am mirroring it on my own account (65% growth in 3 months only)
paste the string after "encryptedUid=" into param_copyingsrc
param_max_loss_percentage : I recommend the default I set which is 5
param_max_profit_percentage : I recommend the default I set which is 7
param_on_profit_freeze_hours : 2(default)
param_on_loss_freeze_hours: 4(default)
param_on_client_close_all_trades_freeze_hours : 2 (default)

NB: robot will freeze x hours when SL or TP are hitten
Make sure that in binance platform (mobile app mainly) under Features >> Preferences : Position Mode Setting is set to One Way mode not Hedge Mode

After the setup of the admin panel , you can logout and then login and choose the vps mode
Enable to show popup at to right of chrome so bot will start copying the positions , and leave the vps mode running on vps.

I also recommend to use this extension : Easy auto refresh
Enable it and set the refresh time to 600 seconds.


Any donation is accepted ๐Ÿ™
It really taked a lot of time to code this Bot .
You can also use my referral ID (If not already registred on binance) :
https://accounts.binance.com/en/register?ref=39750507
ADA address:
DdzFFzCqrhsnce5Ufx3VEoh5pUrEFssxGc81LHDVLtNcj5CzDc39Z7dRkjugoQMP9NvYMVAQnWuUn7uzpwvmijVv8XBu9X9PSoYRbJWG
BTC address:
1KxiArHuQ2xT2eQRhwd3kKkfr4vY8oyuD
DOT address:
14oXb3bLRZEdqgbxvhiSuCb4Jjkc78FuX9yhj3s6pPw53aWZ
ETH address:
0xd35a8505c6b9750913ebef8f158baa83ab51df57
I really apperciate any donation ๐Ÿ˜˜

binanceleaderboardcopier's People

Contributors

cryptodudy 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.