Quote from tatsimon:
Sky,
Since you are an everyday user of OpenQuant, please answer the following questions:
In case of a broker/internet connection loss, does OQ auto re-connect?
At connection loss, does OQ sound an alarm?
At reconnection, does OQ automatically retrieve any missing price data due to the connection down time?
At reconnection, does OQ automatically synchronize positions/orders/strategy logic?
thank you
1) Ask Anton about this one
2) You can do whatever you what they have an event handler OnError which is called whenever there is an error for example
OnError
{
if error.code == 152 <--- say which is the code for connection lost
VoiceRecording1.Play();
}
I also have voice recording for order filled, order partially filled, position opened, short stock not available, and some others... you can do whatever you want because you get to use ALL the methods contained in the .net framework
3 & 4) What I currently do is I have some trades that are 4 to 5 hours. I run OpenQuant in the beginning of the day it makes the trades and then spits them out to a text file, again you can use all the classes/ methods contained in the .net framework. and then when I reconnect I read the text file. That is the way I do it... there is an easier way. There's a class called Portfolio, which contains ALL the positions you have built / add and I know that there is a feature called Persist, which is used when you log off and log back on so it's still contains all the old positions
~ really the best thing to do is sign onto
www.openquant.com and make a screen name on the forums and post the question there, and more likely than not it'll be answered, like I said support has been slow lately, however I do know they are busy with this new release. When I joined I asked millions of questions and he was very very good at answering them usually within an hour, and I have to say I definitely kept him busy. I'm RollTheDice on there