Resuming trading after any interruption
We have clarified in the
Quick Start that all
computation of G-Bot are "self-contained" and
no information is used from the
actual account for trading.
In case, read again that section of the Quick Start.
This design allows the Robot to be completely independent, so that at any time
it can save its whole state
and resume trading from that point at any
later time.
This means that, for instance, if you trade from sunday to friday and you do not wish keeping the computer turned on over the weekend or you wish to do some maintenance, you can close G-Bot, saving the session, and then, on sunday, when market opens again you can resume the session.
Session is simply saved in a file (a .ses file). When you close G-BOT
it will save the
a copy of the current session on your desktop
(unless you disable copy session saving).
This file is just a copy of the
"original" work file which is in a temporary folder within your "Documents" folder. The location of the
session file is displayed on G-Bot "Start live trading" page.
Then, when you restart, you just resume the trading session by using this file, and the session will continue from where it left (with a time gap).
Resuming from unexpected power outage
This should not happen because you are supposed to be trading with UPS or batteries, so that you would always be able to save the current session, to resume when the power is restored.
Anyway, if this happen you will find a copy of the session file in the
application folder (see the G-Bot temporary folder
in your "Documents" folder).
This is the same as the copy that would be saved on your
desktop when you close gracefully.
The most unlikely event that might occur is that the power interruption
occurred (a battery will prevent that) just at the very instant when this file was open for writing, in which
case it would be corrupted and unusable. In such event you need to deal manually with positions either through the TWS or
G-Bot (manual mode).
IB help service: http://www.interactivebrokers.com/en/p.php?f=customerService&ib_entity=llc
During paper trading it may be helpful to simulate interruptions, just to be mentally prepared to this event (impossible things do happen in real life!).
The G-Bot temporary folders in "Documents" can be deleted at any time, even and especially while G-Bot is running, as it saves periodically the current session. (Clearly, you will not want to remove a temporary folder if it contains a session file that you wish to resume.)