Today I noticed between 15:24 CET and 16:50 CET that connection between IB Gateway and IB API server was lost. Usually this happens on Saturdays or early in the morning (IB system reset times). My logs show that this can also happen on market hours (very rarely). IB API client connection was working fine, Account number and Net liquidation value was retrieved, however portfolio positions were not retrieved! What if an automated system wants to send an order and this happens? Does an order go to pending state or something else? Does it even work, since you cannot retrieve portfolio positions? @globalarbtrader do you have any tips/tricks on this?