I have read Damon's answer in another post about "Ignore gateway down". However, I still don't quite understand what he said as below.
"However, enabling this setting will not allow the algorithm to continue running if the Algo SE server is restarted.Note: A time-based logic may need to be introduced into the algorithm to suppress Order Blocks from routing orders to a disconnected TTGateway. Routing to a disconnected gateway will likely result in an order timeout, causing the algorithm to pause. - See more at: https://community.tradingtechnologies.com/questio... "
Damon, if you see my question, can you please explain a bit more details.
1) "However, enabling this setting will not allow the algorithm to continue running if the Algo SE server is restarted."
For this situation, may I confirm what will happen when Algo SE server is restarted? Algo just pause or algo was deleted during the Algo SE restart? If algo is paused, will it work as normal after Resume?
2) "A time-based logic may need to be introduced into the algorithm to suppress Order Blocks from routing orders to a disconnected TTGateway. "
Can you please give an example how to do that? Is this a "has to be done" thing to make "Ignore gateway down" function work correctly.
3) "Routing to a disconnected gateway will likely result in an order timeout, causing the algorithm to pause"
Again, will Resume after this pause will make the algo work properly as normal, or I have to run the algo again, for example,start algo from algo dashboard?
Can any one please teach me if you know about this. Many Thanks.
Answer by Damon · Apr 06 at 08:16 PM
Here is a bit more
explanation for your questions…..
1) If the Algo SE server is Rebooted (normal operation on weekends) your algo will be DELETED. If the Algo SE server happens to crash… this will also DELETE all algos running on the server. If an algo is PASUED for whatever reason…and your Algo SE server is still up and running. When you click RESUME your algo will go back to a running state. But also remember here…. The Market State must be in OPEN status for this to happen. Unless you click “Ignore Market State”…then it will resume regardless of the actual market state.
2) A time based logic condition is where you create the Boolean Condition TRUE / FALSE to input to the ON/OFF input of the Order Block to submit or delete working child orders based on a specific time setting with using the Clock Block, or the Market State Block.
One link for some ideas on this:
3) Yes…if you route an order via a particular gateway that may be down or disconnected. You will get a REJECT for your order actions. And yes…RESUME will put the algo back into a running status as long as there is a connection to that gateway from your Algo SE server.