Strategy : Disconnected

Moderator: admin

Strategy : Disconnected

Postby LeTigre30 » Wed Jun 21, 2017 2:20 pm

Hello to the Dev Team,

I've several strategies running on one TS2 at the same time...
My PC ic linked to the house net via a cable of 1 Gb/sec with the internet router...
Sometimes the internet connection crashes, and when I wake up in the morning, the TS2 shows a message as the connection is failed, and I must manually reconnect the TS2 to the price server.

It is easily understanding that, during the time where the PC and TS2 is disconnected, many prices occur, and positions which are opended by the strategies cannot close, etc...

Does it exist a way to control the connection to the price server that I could write in the strategy script which will reconnect automatically the TS2 to the price server ?

Thanks for help !!!

LeTigre30
User avatar
LeTigre30
FXCodeBase: Initiate
 
Posts: 171
Joined: Sun Dec 19, 2010 5:10 am
Location: Nimes (France)

Re: Strategy : Disconnected

Postby Apprentice » Thu Jun 22, 2017 5:58 am

Will investigate.
I do not know for one.
For now make sure you have a backup internet connection.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17398
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator Development

Who is online

Users browsing this forum: seunboi4u and 3 guests