I've been using NinjaTrader for a while now, with some success - I enjoy the fact that I can pick an entry and exit and then sit on a stock for days or weeks, waiting for the stock to hit my price, knowing that the Ninjas will jump into action when it does hit.
This morning, unfortunately, I hit a relatively large problem (similar to my previous problems). As you know, IB automatically logs out on a daily basis, and so every morning, I need to reconnect. Usually, this is not a problem. I start up IB, wait, start up Ninja, wait, and then connect - all is usually OK.
However, if the connection doesn't happen exactly as required, ALL position strategies are dumped. This is very frustrating, as I have to spend the next half hour or so setting them up again from scratch - in addition, those stocks in IB which already have stops/limits have new stops/limits put in - meaning I have to close the existing ones.
I tried closing both programs again and then re-starting them as before, but once the dump happened, all strategies seem to be unrecoverable.
Any advice on either how to avoid this, or how to get the strategies back once they have been dumped (i.e. how to do some kind of rollback?).
Thanks,
Pete
Comment