CyberPunkMetalHead/gateio-crypto-trading-bot-binance-announcements-new-coins
소개
Binance 공지 페이지에서 신규 코인을 검색하고 Gateio에서 거래를 실행하는 암호화폐 거래 봇입니다.
비즈니스 및 금융측정된 스타 증가
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- 0
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalgateio-trading-bot-binance-announcements
This Gateio x Binance cryptocurrency trading bot scans the Binance Announcements page and picks up on new coin listings. It then goes to Gateio and places a buy order on the coin that's due to be listed on Binance. It comes with trailing stop loss, take profit and a test mode.
The idea behind this open source crypto trading algorithm to take advantage of the price spike of new coins as they are being announced for listing on Binance. As Gateio seems to list many of these coins before Binance does, this exchange is a good place to start. It comes with a live and test mode so naturally, use at your own risk.
HOW TO RUN IT
1. Create venv (recommended to use python>=3.8, check with python --version)
python3 -m venv env
2 Activate venv
Linux:
source env/bin/activate
Windows:
env\Scripts\activate.bat
3. Install program requirements
python -m pip install -r requirements.txt
This contains the requirements for the program itself. You may now run the script using python main.py. No additional steps needed for simply running the tool, you may stop here.
4. Install dev requirements
python -m pip install -r dev_requirements.txt
This is necessary make verifying of the code easier and formats the code automatically to match the coding style.
5. Install pre-commit hooks
pre-commit install
This installs the pre-commit git hooks for the project and makes it possible to run the pre-commit script automatically when committing.
6. Run Tests and pre-commit scripts manually
pre-commit checks
To manually run the pre-commit script:
pre-commit run --all-files
Tox
Make sure you enabled the virtual environment. Tox tests the code for multiple environments (3.8, 3.9) and checks code with flake8 and mypy (only on Python Version 3.8). To run Tox:
tox
PyTest
Make sure you enabled the virtual environment. PyTest runs the unit tests for the code. To run PyTest:
python -m pytest
Flake8
Make sure you enabled the virtual environment. Flake8 checks the code for errors and warnings. To run Flake8:
flake8 src
Black
Make sure you enabled the virtual environment. Black formats the code to match the coding style. To run Black:
black src
For a step-by-step guide on how to set it up and configure please see the guide here: Binance new coin trading bot guide
The new coins crypto trading bot explained in more detail.
See the video linked below for an explanation and rationale behind the bot.
Want to talk trading bots? Join the discord https://discord.gg/Ga56KXUUNn
관련 프로젝트 살펴보기
불러오는 중…
