Skip to content

Commit

Permalink
Add comments about withdraws and quick start example
Browse files Browse the repository at this point in the history
  • Loading branch information
sammchardy committed Oct 28, 2017
1 parent 26aa81e commit 3ae3989
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions PYPIREADME.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Features
- Response exception handling
- Websocket handling
- Symbol Depth Cache
- Withdraw functionality
- Order parameter validation based on Trade Rules

Quick Start
Expand Down Expand Up @@ -66,6 +67,15 @@ Quick Start
# get all symbol prices
prices = client.get_all_tickers()
# withdraw 100 ETH
result = client.withdraw(
asset='ETH',
address='<eth_address>',
amount=100)
# fetch list of withdrawals
withdraws = client.get_withdraw_history()
# start trade websocket
def process_message(msg):
print("message type:" + msg[e])
Expand Down
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Features
- Response exception handling
- Websocket handling
- Symbol Depth Cache
- Withdraw functionality
- Order parameter validation based on Trade Rules

Quick Start
Expand Down Expand Up @@ -66,6 +67,15 @@ Quick Start
# get all symbol prices
prices = client.get_all_tickers()
# withdraw 100 ETH
result = client.withdraw(
asset='ETH',
address='<eth_address>',
amount=100)
# fetch list of withdrawals
withdraws = client.get_withdraw_history()
# start trade websocket
def process_message(msg):
print("message type:" + msg[e])
Expand Down

0 comments on commit 3ae3989

Please sign in to comment.