Support Board
Date/Time: Wed, 27 Nov 2024 08:47:06 +0000
Trade Simulation Mode turned on without my intervention
View Count: 1491
[2014-07-28 15:10:21] |
User33803 - Posts: 40 |
Today, in the middle of the session (around 09:46 EST), I have suffered a disconnection from the CQG data feed (CQG Trading: Websocket closed. | 2014-07-28 15:46:34) after 5 seconds the connection was restored but, at that time, the system started to send simulated trades instead of real trades and sending error messages (because it couldn't cancel real orders when in "Trade Simulation Mode"). When I saw this behavior, I realized that the system changed from "Trade Simulation Mode On" disabled to enabled by its own (without my intervention). |
[2014-07-28 15:36:56] |
Sierra Chart Engineering - Posts: 104368 |
This is not possible. Also, you will be prompted when Trade Simulation Mode is being enabled asking you to confirm this. There is always a prompt. If you start a chart replay, Trade Simulation Mode will be enabled but you will be prompted. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2014-07-28 15:49:02] |
User33803 - Posts: 40 |
This happened, believe me. I was not even near the computer and I started to receive alerts for simulated orders being filled. Before disconnection time the Alerts were for Real orders being filled. When I checked the system (30 minutes after the CQG disconnection) I saw alerts stating that "real orders could not be cancelled when in Simulation Mode". This has happened previously but I did not pay much attention as I always realized that Simulation Mode was On when I started the system and I always thought that was something I did in the previous session (In fact I very, very seldom turn the Simulation Mode On). Now I am sure that it Turned On alone and it happened at the same time of the data feed disconnection. Date Time Of Last Edit: 2014-07-28 15:49:51
|
[2014-07-28 16:00:05] |
Sierra Chart Engineering - Posts: 104368 |
We know how Sierra Chart is designed. We cannot be convinced of something that we know cannot happen automatically. Even restarting Sierra Chart will not cause Trade Simulation Mode to be enabled. You will definitely be prompted to confirm when Trade Simulation Mode is enabled. Or even disabled. The only conceivable way this can happen on its own is if memory were corrupted and the variable which holds the state has been changed due to the memory corruption. However, if this were the case, Sierra Chart would become unstable and would end up shutting down either immediately or shortly after. What we are going to do is add to the Trade Activity Log entries which indicate when Trade Simulation Mode is enabled or disabled. This will also include the date and time. This will be out in the next release. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2014-07-28 16:16:43] |
User33803 - Posts: 40 |
OK, if you include that feature, and it happens again, I will resume this thread. I am not able to reproduce it on purpose, but it happened several times.
|
[2014-07-28 16:41:23] |
Sierra Chart Engineering - Posts: 104368 |
The logging has now been added. This is what will show up in the Trade Activity Log: ActivityType DateTime Symbol OrderActionSource InternalOrderID ServiceOrderID OrderType Quantity BuySell Price Price2 OrderStatus PositionQuantity FillPrice FilledQuantity TradeAccount OpenClose ParentInternalOrderID FillExecutionServiceID
We have reviewed the code again, and the only case where Trade Simulation Mode would be enabled without user intervention is when Sierra Chart is started and the flag is sent to enable it but this is something that is not currently being used.
Order 2014-07-28 16:39:04.000 Trade Simulation Mode is being enabled Unspecified None Order 2014-07-28 16:39:06.000 Trade Simulation Mode is being disabled Unspecified None Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2014-07-28 16:45:34] |
User33803 - Posts: 40 |
Maybe you can also include a message stating that the user has confirmed the prompt. |
[2014-07-28 17:00:53] |
Sierra Chart Engineering - Posts: 104368 |
This message will only be logged in the case where Trade Simulation Mode has been enabled or disabled after being prompted.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2014-08-14 15:54:45] |
User33803 - Posts: 40 |
I am resuming this thread because I know how to reproduce the problem, and yes, there is a problem with this issue. This is when this problem happens: If you are trading with the "Trade Simulation Mode On" disabled (so you are in Real Trade Mode) and a disconnection occurs (Ethernet or WiFi down, Manual disconnection, server down, etc) then, if you try to enter an order, the system automatically enables the "Trade Simulation Mode On" and assumes that the order you have just entered is a Simulated order. Then, even if the connection is restored, the "Trade Simulation Mode On" is still enabled until you, manually, turns it Off. And yes, in this case the "Trade Simulation Mode On" turns automatically from Disabled to Enabled without my intervention and without any prompt or warning sign. You can reproduce this behaviour as many times as you want as it always happens this way. If you do not submit any order during the "disconnection period" then, when the connection is restored, the system will not have enabled the "Trade Simulation Mode On" and the trading continues as usual. |
[2014-08-14 16:54:52] |
Sierra Chart Engineering - Posts: 104368 |
We are aware of this case, but it does not apply to when Sierra Chart is set to use the trading service which you are. However, we do see the scenario in which this does occur when using CQG and that will be fixed in the next release. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2014-08-14 17:43:49] |
User33803 - Posts: 40 |
I use CQG FIX
Date Time Of Last Edit: 2014-08-14 17:44:02
|
To post a message in this thread, you need to log in with your Sierra Chart account: