askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.08k stars 3.93k forks source link

Gekko can't handle 400 response with "Post only mode" from coinbase #2856

Closed vqalex closed 5 years ago

vqalex commented 5 years ago

Looks like coinbase has changed response for maker orders.

Basically if we will hit the same price or higher than a market, we would get 400 response with "Post only mode" instead of reject. Historically @crypto49er had a fix for "data.reject_reason == 'post only", but now we need to find a way to handle 400:Post only mode.

Are there a way to disable post-only, i tried to set it to " this.post_only = false;" under gdax.js but seems it is not making any difference.

vqalex commented 5 years ago

Installed latest version of gekko and cant reproduce a problem since. Maybe not a problem there.