Hi all,
I'am now working on a project involving using the IB gateway as a server . I just don't believe the way this gateway must be ran and authenticated :
-1) only via a graphical user interface
-2) if the graphical user interface is closed then the gateway is terminated , e.g it can not go in background / daemon mode after the authentication .
That implies :
a) having a desktop environment on the trading server ( I mean the one where is being done the automated trading )
b) always keeping a session opened and always keeping the graphical user interface opened
c) manually re-authenticate when the server reboots ( that is something very likely to happen on many dedicated servers ) , e.g re-opening a session , re-launching the app , re-authenticating the app , etc...
Apparently there is no way to do something else . I am considering writing an xvfb script run as a daemon and bypass most of these steps ( I mean NOT do a remote logging ) . Do some people here have already tried to use the gateway in such a way ?
I'am now working on a project involving using the IB gateway as a server . I just don't believe the way this gateway must be ran and authenticated :
-1) only via a graphical user interface
-2) if the graphical user interface is closed then the gateway is terminated , e.g it can not go in background / daemon mode after the authentication .
That implies :
a) having a desktop environment on the trading server ( I mean the one where is being done the automated trading )
b) always keeping a session opened and always keeping the graphical user interface opened
c) manually re-authenticate when the server reboots ( that is something very likely to happen on many dedicated servers ) , e.g re-opening a session , re-launching the app , re-authenticating the app , etc...
Apparently there is no way to do something else . I am considering writing an xvfb script run as a daemon and bypass most of these steps ( I mean NOT do a remote logging ) . Do some people here have already tried to use the gateway in such a way ?