Skip to content

Commit

Permalink
List balances option
Browse files Browse the repository at this point in the history
  • Loading branch information
yasinkuyu committed Jan 14, 2018
1 parent 8817571 commit d798984
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def profits(self, asset='BTC'):
try:

m = Binance()
# m.balances()

print ('1 -) Print orders')
print ('2 -) Scan profits')
print ('3 -) List balances')
print ('Enter option number: Ex: 2')

option = raw_input()
Expand All @@ -71,7 +71,9 @@ def profits(self, asset='BTC'):
# Orders
print ('%s Orders' % (symbol))
m.orders(symbol, 10)


elif option is '3':
m.balances()
else:

print ('Enter Asset (Ex: BTC, ETC, BNB, USDT)')
Expand Down

0 comments on commit d798984

Please sign in to comment.