I am not aware yet if this is happening on production account, however I get this errors when working on paper account:
01/30/2020 09:58:09 AM DEBUG: h_t_tps://paper-api.alpaca.markets:443 “GET /v2/orders/325ddffe-898c-47cc-ac49-566f00262183 HTTP/1.1” 200 695
01/30/2020 10:01:00 AM DEBUG: Resetting dropped connection: paper-api.alpaca.markets
You can see, that because of this lag I am loosing 3 seconds, when actually orders comes from my code. As a result, order does not go through because of this lag.
Another one is this:
01/30/2020 09:58:06 AM WARNING: sleep 3 seconds and retrying h_t_tps://paper-api.alpaca.markets/v2/orders/325ddffe-898c-47cc-ac49-566f00262183 3 more time(s)…
01/30/2020 09:58:09 AM DEBUG: https://paper-api.alpaca.markets:443 “GET /v2/orders/325ddffe-898c-47cc-ac49-566f00262183 HTTP/1.1” 200 695
Same thing - 3 seconds gap.
What is this and how to manage this properly. Any ideas?