Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 00:03:11 +0000



Flatten order sending (to IB) when opening chartbook

View Count: 674

[2019-02-14 15:28:22]
User988954 - Posts: 13
I created a new chart book (integrated with Interactive Brokers) that basically just has a flatten condition when the criteria is met (no formulas in the BUY and SELL columns).
I manually buy the position in SC, and just want the spreadsheet to get me out automatically.
What I have noticed with this new chartbook is that if I am in a position, it sends a market sell based on the Flatten cell when opening the chartbook, but the condition on the cell is not true.
I've attached a screen shot of the sell order going through based on the flatten cell condition.
If I buy again and leave the chartbook open, it does not flatten (as the condition is not true), it only does it when you open the chartbook.

I have also attached 2 logs;
The first log is when the chartbook was opened after hours. You can see that there is a entry that the trade is 'Outside Regular Trading Hours' (which is expected), then places the order to be processed when markets open.
In the second log, the chartbook was opened during market hours. Again there is a message trade is 'Outside Regular Trading Hours' (but markets were opened at the time; 9:55am), then the market order was processed.
Private File
Private File
Private File
[2019-02-15 07:01:36]
Sierra Chart Engineering - Posts: 104368
We are testing this
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
[2019-02-15 07:15:48]
Sierra Chart Engineering - Posts: 104368
We had a look at this. Definitely the Flatten and Cancel cell must have been true momentarily when the Chartbook was opened and the calculation was done.

This really is not relevant to the issue at all:

Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 1371.


What we recommend you do is enable this option:
Trade >>Disable Auto Trading On Startup

And also make sure auto trading is just disabled when you open a Chartbook.
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: 2019-02-15 07:16:43
[2019-02-15 11:28:13]
User988954 - Posts: 13
Thanks for the response.

You indicated "And also make sure auto trading is just disabled when you open a Chartbook.", is there a separate setting on a chartbook level?
[2019-02-16 17:32:55]
Sierra Chart Engineering - Posts: 104368
You can disable auto trading for a specific chart. Refer to:
Trade Menu: Auto Trading Enabled - Chart (Trade menu)

So you would want to make sure that is disabled for the chart before you close the Chartbook.
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: 2019-02-16 17:34:24

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

Login

Login Page - Create Account