Skip to content

Commit 7ac84e9

Browse files
committed
Update README.md
Added basic usage
1 parent dd85f62 commit 7ac84e9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,13 @@ CryptsyPythonAPI
22
================
33

44
API for Cryptsy.com Exchange utilizing completely built-in functions and utilities of Python 2.7.
5+
6+
Usage
7+
-------------
8+
Create buy order for dgc, market id 26, then cancels all orders you have for dgc
9+
<pre><code>import Cryptsy
10+
Exchange = Cryptsy.Cryptsy('KEY HERE', 'SECRET HERE')
11+
Exchange.createOrder(26, "Buy", 100, 0.00000001) # Buy 100 dgc at .00000001 each
12+
Exchange.cancelMarketOrders(26) # Cancels all orders in market 26, dgc
13+
</code></pre>
14+

0 commit comments

Comments
 (0)