whittlem / pycryptobot

Python Crypto Bot (PyCryptoBot)
Apache License 2.0
1.96k stars 739 forks source link

Issue with Coinbase API grabbing Quote Currency #832

Open zahlernick opened 10 months ago

zahlernick commented 10 months ago

Hi all, I recently was using Coinbase Pro API and tried to switch over to the regular Coinbase API (Coinbase Advanced) and it appears to take the price of whatever crypto I'm trying to buy/sell, divide that by the funds in my Coinbase wallet, then tell me whatever the result is as my actual. (for example, $200 in wallet, with ETH $1600 per token, it will tell me that 200/1600 = 0.125 is my actual, and that my minimum is $200 when it's set to something else).

Is this because they updated the API? Is there a fix to this?

ahmedrabii commented 8 months ago

Coinbase API (Coinbase Advanced) is just not working it needs to be fixed :

With AppState.py line 223 is getting the min as the total (your case) fixed by replacing the line with base_min = float(0) the app seems to work but guess what no order is being fulfilled it tells you that an order has been made but nothing actually happened with "live": 1,

Basically I listed all bugs that i found in the hope that they will be fixed soon 😄