Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Latest commit

 

History

History
44 lines (27 loc) · 1.29 KB

File metadata and controls

44 lines (27 loc) · 1.29 KB

Bitfinex

Python scripts for the Bitfinex exchange. Use this to learn about algorithmic trading on the Bitcoin market.

⚠️ Searching for co-owners on this project. Bitfinex is no longer available to US residents and I cannot execute the code on my account any longer. Please open an issue to help.

Install

$ pip install -r requirements.txt
$ sudo python setup.py install

Keys

Create file keys.txt in the main directory with the following syntax:

public key
private key
[insert newline here]

Funds

Ensure you have at least 0.01 BTC in your exchange wallet
The scripts are configured for this wallet and not your trading wallet

Contents

/examples/putTake.py places a put and take on each side of the market value.
/examples/cancelAll.py cancels all orders in your exchange account.
/examples/showPastTrades.py creates a visualization of past trades. Below is a screenshot.

Here is a vis of my trade history on Bitfinex. (The smallest dots were performed by execution of /examples/putTake.py)


screenshot

In using this software, you take full responsibility of the results.

Hard forked from jndok