ibkr
ibkr copied to clipboard
add option to prevent process from exiting immediately on disconnect
https://github.com/stoqey/ibkr/blob/665072e4df483bf8639a6ba9eb3d4b4555ca03da/src/connection/IBKRConnection.ts#L135
The process will currently exit on a disconnect event which is not desirable for my use-case. Not sure what the best approach would be but the main one that comes to mind is to leave this as the default behavior and allow an option on initialization to change this behavior.
@mistakia Thank you for pointing that out have you tried using the stoqey/ib library instead ?
I have not — I will try that instead. Thanks for the tip.