ibkr icon indicating copy to clipboard operation
ibkr copied to clipboard

add option to prevent process from exiting immediately on disconnect

Open mistakia opened this issue 1 year ago • 2 comments

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 avatar Apr 27 '23 16:04 mistakia

@mistakia Thank you for pointing that out have you tried using the stoqey/ib library instead ?

ceddybi avatar Apr 27 '23 16:04 ceddybi

I have not — I will try that instead. Thanks for the tip.

mistakia avatar Apr 27 '23 16:04 mistakia