dmalopsy / Publications
Forum
Inconsistent OrderSend behavior during ERR_NO_CONNECTION
Hi, I have observed a case where 'OrderSend' function returned a non positive int indicating it had failed; and GetLastError() returned 6 indicating ERR_NO_CONNECTION, however it had actually submitted the order. My code assumed ERR=6 as a temp failure and retried an OrderSend, and succeeded, and