Open JamesMcMurran opened 6 years ago
Any progress on this one. I am seeing sell orders fail also.
The two main theories I have on this are.
That the program has exceeded the max messages to the server 5 per second(they say burst to 10 but IDK). I am still trying to think of a way to do this but not miss trades. Any suggestions on this?
Or that GDax has a bug with microseconds and registering the money is now on your account. to overcome the second one I just keep holder coins and money on my account so that there is no time where I do not have a coin or the money to buy a coin.
I think my issue probably has to deal with your first theory as I have plenty of coin and money in the account. I am getting the following vague response from the gdax websocket.
22:55:17 - error: The websocket feed to wss://ws-feed.gdax.com (authenticated) has reported an error. If necessary, we will reconnect.
I am going to put some delays in just to see if this resolves the problem.
Any luck? I am thinking of playing with Wireshark and this to see if I can capture the problem.
For some reason, fully valid orders will sometimes fail.
Error: A GDAX API request failed. Bad Request.