SystemSelf reportedCryptoPythonbinancebybitcopy-tradecryptocurrencyderivatives

binance-copy-trade-bot

A telegram copy trading bot that follows cryptocurrency derivatives trade on the binance leaderboard.

System Structure

Data Used
BinanceBybit가격/거래량 데이터
Rules / Strategy

저장소별 전략/실행 조건 확인 필요

Execution

거래소 API 기반 자동 주문 실행

Editor Summary

저장소 설명과 공개 메타데이터 기준으로 Python 기반 구현, 암호화폐 거래 봇, 거래소 API/프레임워크, TradingView 웹훅 성격의 프로젝트로 파악했습니다. 확인 근거는 README, 저장소 토픽, 저장소 설명, GitHub 지표, 파이프라인 필드이며, 주요 데이터는 Binance, Bybit, 가격/거래량 데이터입니다. 전략/실행 조건은 저장소별 문서와 코드 확인이 필요하며, 실행 방식은 "거래소 API 기반 자동 주문 실행"라고 보수적으로 기록했습니다. GitHub 지표는 별 144개, 포크 55개입니다.

Repositorytpmmthomas/binance-copy-trade-bot
Creatortpmmthomas
Stars / Forks★ 144 / 55
Last Updated2024-06-20
Snapshot Date2026-07-08 (README below is a copy from this date)

This is third-party open-source code. QuantField does not guarantee its behavior or safety. Review the code before installing or running it.

README

binance-copy-trade-bot

Running the bot on your own

This program uses web scraping to monitor the positions opened by traders sharing their positions on Binance Futures Leaderboard. We then mimic the trade in your account using the Bybit api. MongoDB is the database used in this software. Bot updated and working (Feb 2024)

Environment setup (Recommended)

Using Conda

At your target directory, execute the following:

conda create -n trading python=3.9 -y
conda activate trading
git clone https://github.com/tpmmthomas/binance-copy-trade-bot.git
cd binance-copy-trade-bot
pip install -r requirements.txt

Database Setup

Follow the instructions in https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/ to set up MongoDB on the same host where the program is run.
Follow https://www.digitalocean.com/community/tutorials/how-to-secure-mongodb-on-ubuntu-20-04 to set up username and password.

Software setup

  1. Setup a telegram bot using Botfather (details on telegram official site) and mark the access token.
  2. Setup a discord channel for urgent/alert messages, and get a webhook url. (Reason is to avoid mixing them into the telegram channel and missing out on them.)
  3. Fill in the required fields in app/data/credentials.py
  4. Run python -m app.ct_main and python -m app.tgb_main. It is suggested to set both up as a systemctl service, with restart=always and a MaxRunTime so that the program is automatically restarted from time to time.
  5. Call /addcookie to add credentials required for api end-points every 2-3 days. I will not teach you how to do so here, but you can find the information on the internet.

Using the software

After the python programs are up and running, go to your telegram bot and type /start, then follow the instructions.
It should be rather straightforward but if you encounter any uncertainties, please report it to me by raising an issue.
Refer to the file telegram-commands.txt for a list of commands you can use.
I personally suggest you go to the binance leaderboard, pick a longer timespan (e.g. monthly or all-time) and choose the top traders sharing their positions.

Disclaimer

  • Users are solely responsible for their own trading decisions and the management of their accounts. TraderCloneX is not a financial advisor, and any information provided by the bot should not be taken as financial advice. Users should conduct their own due diligence and consider seeking advice from an independent financial advisor.
  • TraderCloneX does not accept any liability for loss or damage as a result of reliance on the information contained within this bot. Please be fully informed regarding the risks and costs associated with trading the financial markets. While we strive to ensure our service is both fast and reliable, TraderCloneX cannot guarantee the uptime or data accuracy of the service. Access to the bot during the launch phase is limited to users who sign up using our Bybit referral link