Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 07:04:48 +0000



Post From: Flatten order sending (to IB) when opening chartbook

[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