This repo serves as a guide on how to use the Python SDK to run an arb on 01 and FTX.
This repo SERVES ONLY AS A GUIDE and should not be run without using a burner wallet and understanding the associated risks.
Please make sure you have read the code before running it as this code comes with no guarantees -- use at your own risk!
This is a Python 3.10 bot, with a couple dependencies.
They can be installed with
$ pip install numpy zo-sdk ftx solana python-dotenv
Alternatively, if you use poetry, you can simply use
$ poetry install
The code imports many env variables, all of which are defined in .env.example
.
All of these should be defined to run the bot, which can be done as so:
$ cp .env.example .env # And fill out the fields
Now you're ready to run the bot.
$ poetry shell # If you're using poetry
$ python main.py