Currently only python script which regulary checks what is the cut off swap rate, and updates position accordingly so your position earns as much money as possible.
Python 2.7. At the moment only one external dependency simplejson
. You should be able to install it using easy_install
:
easy_install simplejson
Before running you need to rename config.json.example
to config.json
and fill correctly api keys from bitmarket.pl.
There's also convenience script for running script with nohup
.
TODOs:
- detect failure when opening swap (probably due to incorrect amount + earnings calculation exceeding real balance) and fallback to amount without earnings. Now it will just hang and wait for position to show up.