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.
$ pip install -r requirements.txt
$ sudo python setup.py install
Create file keys.txt
in the main directory with the following syntax:
public key
private key
[insert newline here]
Ensure you have at least 0.01 BTC in your exchange wallet
The scripts are configured for this wallet and not your trading wallet
/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
)
In using this software, you take full responsibility of the results.
Hard forked from jndok