Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Woo X Market Maker Sample

A simple Woo X Market Making Bot for handling and managing orders.

Requirements

  • Python 3.7 or newer
  • An account with Woo X with API keys available

Installation

It's recommended to use a virtual environment (venv) for running this project to isolate the dependencies.

Clone this repository and navigate into the project directory, then install the necessary libraries:

git clone git@github.com:ignimbrite/sample-market-maker.git
cd sample-market-maker
pip install -r requirements.txt

Usage

To use the bot, simply run the main script:

python main.py

Parameters like offset, refresh time, base size, size step, grid size, grid step, API keys, and network are configured in the settings.py file.

Configuration

Configuration parameters are found in settings.py.

Modify the parameters as per your requirements:

symbol = "PERP_BTC_USDT"
offset_bps = 100
refresh_time = 30000
step_bps = 100
grid_size = 5
base_size = 0.01
size_step = 0.01

api_public_key = 'your_api_public_key'
api_secret_key = 'your_api_secret_key'
application_id = 'your_application_id'
network = 'testnet'

Remember to replace 'your_api_public_key', 'your_api_secret_key', and 'your_application_id' with your actual API public key, API secret key, and application ID from Woo X. For the network setting, choose 'testnet' for testing or 'mainnet' for real trading.

Disclaimer

Woo X and the authors of this code are not responsible for any losses that may occur as a result of using this code. This code is provided for educational and illustrative purposes only, and is not intended for use in live trading operations unless the user fully understands its function and potential drawbacks.

This is not a sophisticated market making bot. It's designed to demonstrate the fundamental aspects of market making, while handling some of the routine tasks of interacting with the Woo X API. It doesn't make complex trading decisions and is likely to incur financial loss.

About

Sample WooX Market Making Bot

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages