https://github.com/dawsbot/bitfinex
Bitcoin trading scripts written in Python
https://github.com/dawsbot/bitfinex
Last synced: 8 months ago
JSON representation
Bitcoin trading scripts written in Python
- Host: GitHub
- URL: https://github.com/dawsbot/bitfinex
- Owner: dawsbot
- Created: 2014-11-25T06:33:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-04-06T18:19:21.000Z (about 4 years ago)
- Last Synced: 2025-04-03T21:36:07.814Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 105
- Watchers: 17
- Forks: 38
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitfinex
Python scripts for the [Bitfinex](https://www.Bitfinex.com/) 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
```sh
$ 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```)

In using this software, you take full responsibility of the results.
Hard forked from [jndok](http://jndok.net/bitfinexapi.html)