This repository contains Python 3 API trading scripts for Bullish cryptocurrency exchange. This set of scripts can be used out of the box. API traders can use these scripts as a starting point.
Bullish Trading API documentation: https://api.exchange.bullish.com/docs/api/rest/#overview
pip3 install -r requirements.txt
Inside the .env
file, override the default variables with your JWT token
and API key:
export BX_JWT=< your credential >
export BX_PUBLIC_KEY=< your credential >
export BX_PRIVATE_KEY=< your credential >
export BX_API_METADATA=< your credential >
export BX_AUTHORIZER=< your credential >
For a full walk-through on the usage of these scripts, start here.
- Generate a JWT token
- Create an order
- Cancel an order
- Read orders