Updates price ticker APIs of exchanges by executing small orders at 1 USD if the NBT price temporarily deviates too much from 1 USD.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
exchanges.py
stabilizer.py

README.md

nubit-stabilizer

This tool automatically updates price ticker APIs of exchanges by executing small orders at 1 USD if the NBT price temporarily deviates too much from 1 USD. Orders are only placed if they establish the desired price.

In order to run it, you have to specify the API keys and secrets of any supported exchange you want to use in a file called "secrets.json" with the following format:

{ "bter" : { "key" : "XXXXX", "secret" : "xxx" }, "ccedk" : { "key" : "XXXX", "secret" : "xxxx"}, }

The currently supported exchanges are: bter, ccedk, excoin

On the top of stabilizer.py you will find two variables _currencies and _tolerance. The former allows you to specify the coins that should be tracked and the latter defines how much the current price may deviate from the actual price.

IMPORTANT: You can lose serious money when you are using this software without caution. Don't use this software on accounts that contain large funds.