Skip to content

Python price bot for a single pair on CEX (=exchanges) and DEX (=swaps).

License

Notifications You must be signed in to change notification settings

0xfffangel/cex_vs_dex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEX vs DEX

Python price bot for a single pair on CEX (=exchanges) and DEX (=swaps).

Based on ccxt and multidex-python.

Install

python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Example

python main.py -e binance -p GLMRBUSD -d stellaswap -t 0xa649325aa7c5093d12d6f98eb4378deae68ce23f
binance ask:  5.8917
binance bid:  5.8744
binance last:  5.8842
stellaswap reserve_ratio:  5.888175633083993
stellaswap price:  5.870494361488615

About

Python price bot for a single pair on CEX (=exchanges) and DEX (=swaps).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages