Skip to content

01protocol/zo-arb-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

01 Python Arb bot

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!

Prerequisites

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

Running

Now you're ready to run the bot.

$ poetry shell  # If you're using poetry
$ python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published