DeviaVir / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
8.23k stars 2.04k forks source link

Unable to buy because funds on hold #181

Closed lxwang closed 7 years ago

lxwang commented 7 years ago

I'm using the zenbot buy function (by itself) on gdax, and it can't execute the buy even when there is plenty of money available

./zenbot.sh buy --size=10 --markup_pct=1 --order_adjust_time=60000 gdax.ETH-USD

buy delayed: +64.8% of funds (3236.50 USD USD) on hold

I have existing buy orders but that should not affect the zenbot function here.

nedievas commented 7 years ago

I also noticed this on Bitfinex. If I cancel existing orders, bot executes buy.

DeviaVir commented 7 years ago

This is by design, you cannot use the same funds for different orders.