Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 01:50:55 +0000



Question on behavior when placing an open order back down from moving

View Count: 574

[2020-09-22 17:03:26]
TeeJay - Posts: 123
Hello,

there is some new behavior since one of the last updates that could not be right.
When I move an order on the chart, as long as I move it around the order quantity read out is ok.
As soon as placing the order back on the chart for one cycle you switch the order quantity to zero. This leads to permanent alerts here as I check the order quantity against the position data.
And this was not like this before.

I have a screenshot attached where you see a permanent log of the quantities while the order is 'up' and moving, and then when placing it it goes to zero for one run through and then back to normal value. Can this please be fixed shortly as this leads to permanent alerts here

Thanks
image2020-09-22_SierraChart_64-108.jpg / V - Attached On 2020-09-22 17:02:54 UTC - Size: 243.11 KB - 186 views
[2020-09-25 07:03:35]
TeeJay - Posts: 123
Hello,

is there some news to this? This was definitely introduced in one of the last versions according to my testing logs. As this is in the millisecond range you would not even notice it without the debug messages. But it is enough to trigger a false alert now (of course when checking the order quantity which is zero in this case where it never wasn't)

Thanks
[2020-09-25 07:42:01]
Sierra Chart Engineering - Posts: 104368
No there is no news here. There is definitely no bug and we are not going to spend time on this. There is nothing wrong. Check your code. This is where the problem is . It is in your code.

We cannot spend time just because someone claims there is a bug. There simply is not. It is not even possible.

It can also be a problem with Interactive Brokers TWS.
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
Date Time Of Last Edit: 2020-09-25 07:44:00
[2020-09-25 09:30:53]
TeeJay - Posts: 123
I am sorry on that you were offended a bit. It is definitely not the code, I removed all studies and so all code logic, and applied just a logging of the order id every cycle. You can see it is only on one cycle, exactly when putting the order back down.
Cannot reproduce it in Sim, so it has to be a change in the IB API, which seems likely because there are other problems since, it seems, the same time I mentioned here.

Orders getting cancelled and new ones open at login
[2020-09-25 09:53:49]
TeeJay - Posts: 123
The strange thing is the order is open all the time, which it should be of course, otherwise it would not log it. And it seems when sending it to IB the moment placing it down it has a quantity of zero for a very very short time. And if IB delivers that zero or it is set to zero while waiting for an acknowledge or whatever from IB I cannot see of course. I can only prove that it is like that and it was no offense
Date Time Of Last Edit: 2020-09-25 09:56:08
[2020-09-25 10:09:43]
TeeJay - Posts: 123
I think the code is simply too quick sometimes for the IB server and response, I will try to address that with more detailed checking of OrderStatus. Am programming several projects at a time, sorry for the hassle on that.

Thanks
Date Time Of Last Edit: 2020-09-25 10:15:26
[2020-09-28 09:28:39]
Sierra Chart Engineering - Posts: 104368
We could filter out an order quantity of zero from TWS assuming an order quantity of zero means it is just not given.
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
[2020-09-28 12:06:44]
TeeJay - Posts: 123
I made some amendments regarding PENDINGMODIFY and see if that fixes it. I only test in production anymore for IB because with paper is even more hassle. I think it will work out, if not I will give a message here.

Many thanks
[2020-09-30 05:20:13]
Sierra_Chart Engineering - Posts: 14001
You should also change the subject of this thread. There is no bug here and never was.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-09-30 07:30:48]
TeeJay - Posts: 123
so did I :)

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account