nunoloureiro / birdtradebot

Cryptocurrency Bot that receives trading advice and performs transactions (manages wallets)
MIT License
13 stars 3 forks source link

Order size is too small #1

Closed nunoloureiro closed 6 years ago

nunoloureiro commented 6 years ago

Where there's some change left on a currency, bot still tries to make a transaction:

2018-01-18 09:40:19,798 - __init__ - INFO - Placing order: {'product_id': 'ETH-BTC', 'price': '0.09', 'side': 'buy', 'type': 'limit', 'siz
e': '0.00005717'}
2018-01-18 09:40:19,872 - __init__ - INFO - Order placed. Server reply: {'message': 'Order size is too small. Minimum size is 0.01'}
poupas commented 6 years ago

This should be fixed in the latest version. The bot will always attempt at least once. If the server replies with the "order size too small" message, then no further attempts to place an order will be made.