danpaquin / coinbasepro-python

The unofficial Python client for the Coinbase Pro API
MIT License
1.82k stars 732 forks source link

Minimum buy via api is higher than that of gdax #281

Closed devneal closed 6 years ago

devneal commented 6 years ago

Using the sandbox website, the following buy fails:

auth_client.buy(price='9145',
                size='0.001',
                product_id='BTC-USD')

however, this one succeeds:

auth_client.buy(price='9145',
                size='0.01',
                product_id='BTC-USD')

It seems like the api is enforcing a higher minimum than 0.001 BTC, which is the minimum for gdax.

mcardillo55 commented 6 years ago

The sandbox may be running outdated versions. Regardless, sounds like a GDAX API issue. Does the buy failure relate to gdax-python? Or does it return a failure from the API?

devneal commented 6 years ago

Turns out it's a problem on the gdax side. Closing.