This project was used for crypto arbitrage between CEX and DEX. All the codes in the project is based on Python. Main modules in Python: redis, web3, ccxt. In the project, we use Redis as the database, since all the data will be store in the memory, making the process of storing and reading would be quicker, which is necessary for a arbitrage programme.
Modules | Function | Figure |
---|---|---|
ccxt | API of CEX | |
web3.py | Connect with DEX | |
redis | Control Database Redis |
Program v2.0 is based on websocket method to fetch data from cex, which can reduce the delay of the process of pulling.