Closed js931 closed 5 years ago
Additional note: If i try to pass an argument to the function, an error occurs.
trades = conn.showMyTrades(type='buy')
Error message:
WARNING:btcde:API Error Code: 1 WARNING:btcde:API Error Message: Wrong format for header: X-API-KEY {} WARNING:btcde:API Error URL: https://api.bitcoin.de/v2/trades?type=buy
I found a way to make it work, you have to pass the "state" argument: state=1 It is described as "optional" in the API docs, but if you actually want to receive some data, you have to pass it to the function!
Hi,
if i try to retrieve the trades i made, the function "showMyTrades" just returns an empty response. There are many trades in my account and all other functions work fine. So it is not a problem with my account or API keys.
My code:
The response:
Any help will be greatly appreciated, thanks!
Best regards Jan