Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptProdigy committed Dec 9, 2013
1 parent f0dc164 commit 1855873
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Expand Up @@ -3,13 +3,23 @@ CryptsyPythonAPI

API for Cryptsy.com Exchange utilizing completely built-in functions and utilities of Python 2.7.

Usage
Example Usage
-------------
Create buy order for dgc, market id 26, then cancels all orders you have for dgc
```python
import Cryptsy
Exchange = Cryptsy.Cryptsy('KEY HERE', 'SECRET HERE')
Exchange.createOrder(26, "Buy", 100, 0.00000001) # Buy 100 dgc at .00000001 each
Exchange.cancelMarketOrders(26) # Cancels all orders in market 26, dgc
print(Exchange.createOrder(26, "Buy", 100, 0.00000001)) # Buy 100 dgc at .00000001 each
print(Exchange.cancelMarketOrders(26)) # Cancels all orders in market 26, dgc
```



Authors Note And Contact
-------------
If you have any questions or concerns email me at matt.joseph.smith@gmail.com or skype me at scriptprodigy!

Donations ;)
-------------
Send all donations to this cryptsy trade key please! :)
7f79452abf8d345ebc8247a631dd1f1a367cb6a0

0 comments on commit 1855873

Please sign in to comment.