It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Best way to handle Gateway Timeout error
What is the best way to handle Gateway Timeout errors? How often do you face them in algo trading? I got it 5 times today during trading..
Can you please share your method of handling this exception?
thanks in advance
gateway timed out
If it is a get request then you can retry, if the request is POST, PUT or DELETE then you need to check orderbook and then retry.
If you blindly retry then you might end up placing two orders.