API for Cryptsy.com Exchange utilizing completely built-in functions and utilities of Python 2.7.
This API wrapper is a fork of ScriptProdigy's CryptsyPythonAPI.
Create buy order for dgc, market id 26, then cancels all orders you have for dgc
import Cryptsy
Exchange = Cryptsy.Cryptsy('KEY HERE', 'SECRET HERE')
print(Exchange.createOrder(26, "Buy", 100, 0.00000001)) # Buy 100 dgc at .00000001 each
print(Exchange.cancelMarketOrders(26)) # Cancels all orders in market 26, dgcIf you want to run the tests, first create a virtualenv and install all requirements.
virtualenv .env
. .env/bin/activate
pip install -r requirements.txt
Then, using pytest, run the tests:
py.test test_cryptsy.py
Development is done in the obviously named develop branch. If you want to contribute, please do your commits in that branch so merging them isn't a pain.
Support development by tipping me a beer (because programming with beer is
inherently better than programming without)!
This piece of software is licensed under the GPL2 license, see license.
