https://github.com/memsjava/arb-in-binance
Binance Crypto arbitrage
https://github.com/memsjava/arb-in-binance
Last synced: 5 months ago
JSON representation
Binance Crypto arbitrage
- Host: GitHub
- URL: https://github.com/memsjava/arb-in-binance
- Owner: memsjava
- License: gpl-3.0
- Created: 2022-04-16T08:11:18.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T11:08:45.000Z (almost 4 years ago)
- Last Synced: 2025-04-19T21:14:22.039Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 6
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arb-in-binance
Crypto arbitrage only in binance
## Installation
1. clone this repo
```bash
git clone 'https://github.com/memsjava/arb-in-binance.git'
```
2. install requirement.
```bash
pip install -r requirements.txt
```
3. sign up and get your api key in binance exchange
4. update the json setting file
- "API_PUBLIC": "", // your api key
- "API_SECRET": "", // your secret api key
- "start_coin": "USDT", // base coin
- "interest": 0.3, // minimum interest per arb. Sometimes there is dust
- "live_trade": true, // true or false
- "sell_dust": true, // true or false after the last trade in the current arb
- "capital": "" // "" if you want to use balance of base coin above, or put any amount.
5. run
```bash
python main.py
start: USDT 50.0
DEXEUSDT : 8.53846153846154 @ 5.85
DEXEBUSD : 50.1559476923077 @ 5.88
USDT : 50.10078116544093 @ 0.9999
way2: 0.20156233088185616%
```
## Output:
The output will be 2 ways :
1- way1: buy -> buy -> sell
2- way2: buy -> sell -> sell
example:
Buy DEXE from USDT =>
sell DEXE to BUSD =>
sell BSUD to USDT
begin with 50usdt and end with 50.1 usdt. You get 0.2% of your 50 usdt. Enjoy :)
the order will wait as we use limit order so be carefull.