﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>RightEdge Forums / Trading / Order Execution  / Filling orders outside of RTH / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>RightEdge Forums</description><link>http://www.rightedgesystems.com/forums/</link><webMaster>rightedge@yyesoftware.com</webMaster><lastBuildDate>Wed, 08 Feb 2012 15:40:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>Just an update - checking the RTH checkbox in TWS plugin settings worked! My orders are now being executed only after the market open. Thanks again!</description><pubDate>Fri, 08 May 2009 12:16:09 GMT</pubDate><dc:creator>Zora</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>Great, thanks everyone for the updates.</description><pubDate>Wed, 06 May 2009 15:45:22 GMT</pubDate><dc:creator>Zora</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>The RTH only checkbox is what you want.  Under RE2008 Edition 2, the label has been changed to "Restrict orders and downloaded bars to regular trading hours (RTH)", but it looks like we didn't change the label in Edition 1.  It should still set the flag that tells TWS only to fill orders during regular trading hours in Edition 1, though.&lt;/P&gt;&lt;P&gt;Daniel</description><pubDate>Tue, 05 May 2009 23:38:56 GMT</pubDate><dc:creator>dplaisted</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>See&lt;br&gt;http://www.rightedgesystems.com/forums/Topic6917-7-1.aspx&lt;br&gt;&lt;br&gt;Now I'm confused and can't remember where did I pick up info about b381</description><pubDate>Tue, 05 May 2009 19:47:14 GMT</pubDate><dc:creator>lksf</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>I remember discussing the issue with Daniel and, after looking at the Krs code, figuring out that there are two different flags to achieve this and that one wasn't working but Daniel said that the other one did.&lt;br&gt;I believe he mentioned that this is fixed in b381, however until that was resolved I had already implemented the "building a pool of orders" and I'm submitting them with a timer at market open. I actually have on my plate the task to stop using this workaround and revert my code back to submitting the orders at any time while making sure they will not be filled outside of RTH, but I have not found the time to do that. It's interesting to hear that it doesn't work for you.&lt;br&gt;&lt;br&gt;BTW, Note that Market orders are not supposed to be execute outside of RTH, only limit, so if you submit Market orders you should be fine.</description><pubDate>Tue, 05 May 2009 19:39:26 GMT</pubDate><dc:creator>lksf</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>Ah, I see. Looking at the TWS plugin and "Other Settings..." I see a "Retrieve RTH data only" checkbox and "Ignore last historical bar" checkbox, neither of which seem appropriate (and both are unchecked.) This is build 384 btw.</description><pubDate>Tue, 05 May 2009 16:06:10 GMT</pubDate><dc:creator>Zora</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>Daniel's referring to the setting in the TWS plugin in RightEdge, not TWS itself.&lt;br&gt;&lt;br&gt;[quote][b]Zora (5/5/2009)[/b][hr]The only setting I was able to find in TWS is under Configuration-&gt;Presets-&gt;Stocks, there are two checkboxes, one "Allow orders to be activated, triggered, or filled outside of regular trading hours", the other "Allow orders to be routed and executed during pre-open session." Both of these were unchecked. Anywhere else I should look? When you place limit buy orders through the API, do you use the rth only property (I read about it on another forum...)? What is its default value?&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;&lt;br&gt;[quote][b]dplaisted (5/5/2009)[/b][hr]The TWS plugin does have an option to only allow orders to be filled during RTH. Have you tried enabling that setting and submitting your orders before the market opens? I'm not sure whether TWS will reject the orders or wait until the market opens to fill them.&lt;br&gt;&lt;br&gt;Daniel[/quote][/quote]</description><pubDate>Tue, 05 May 2009 15:54:09 GMT</pubDate><dc:creator>billb</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>The only setting I was able to find in TWS is under Configuration-&gt;Presets-&gt;Stocks, there are two checkboxes, one "Allow orders to be activated, triggered, or filled outside of regular trading hours", the other "Allow orders to be routed and executed during pre-open session." Both of these were unchecked. Anywhere else I should look? When you place limit buy orders through the API, do you use the rth only property (I read about it on another forum...)? What is its default value?&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;&lt;br&gt;[quote][b]dplaisted (5/5/2009)[/b][hr]The TWS plugin does have an option to only allow orders to be filled during RTH. Have you tried enabling that setting and submitting your orders before the market opens? I'm not sure whether TWS will reject the orders or wait until the market opens to fill them.&lt;br&gt;&lt;br&gt;Daniel[/quote]</description><pubDate>Tue, 05 May 2009 15:46:09 GMT</pubDate><dc:creator>Zora</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>The thing is, I want orders to be placed before market open to maximize the chances of buying close to the opening price. In my experiments, placing hundreds of buy orders at 9:30 can take seconds or tens of seconds, which is precious time lost, especially if the prices are fluctuating a lot.&lt;br&gt;&lt;br&gt;[quote][b]billb (5/5/2009)[/b][hr]Well, the answer is 'no' as to whether or not the plugin does this.  However, what's stopping you from simply building a collection of orders pre-market and then sending them off when the bell rings?&lt;br&gt;&lt;br&gt;[quote][b]Zora (5/5/2009)[/b][hr]I suspect I know the answer to my question ("no"), but nonetheless: is there a way to set the "Allow orders to be filled outside of RTH" to false when my system places pre-market orders with TWS? The idea is to place orders before market open, but have them execute during RTH (regular trading hours).&lt;br&gt;&lt;br&gt;Thanks![/quote][/quote]</description><pubDate>Tue, 05 May 2009 15:04:36 GMT</pubDate><dc:creator>Zora</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>The TWS plugin does have an option to only allow orders to be filled during RTH.  Have you tried enabling that setting and submitting your orders before the market opens?  I'm not sure whether TWS will reject the orders or wait until the market opens to fill them.&lt;/P&gt;&lt;P&gt;Daniel</description><pubDate>Tue, 05 May 2009 10:22:32 GMT</pubDate><dc:creator>dplaisted</dc:creator></item><item><title>RE: Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>Well, the answer is 'no' as to whether or not the plugin does this.  However, what's stopping you from simply building a collection of orders pre-market and then sending them off when the bell rings?&lt;br&gt;&lt;br&gt;[quote][b]Zora (5/5/2009)[/b][hr]I suspect I know the answer to my question ("no"), but nonetheless: is there a way to set the "Allow orders to be filled outside of RTH" to false when my system places pre-market orders with TWS? The idea is to place orders before market open, but have them execute during RTH (regular trading hours).&lt;br&gt;&lt;br&gt;Thanks![/quote]</description><pubDate>Tue, 05 May 2009 08:52:04 GMT</pubDate><dc:creator>billb</dc:creator></item><item><title>Filling orders outside of RTH</title><link>http://www.rightedgesystems.com/forums/Topic8324-11-1.aspx</link><description>I suspect I know the answer to my question ("no"), but nonetheless: is there a way to set the "Allow orders to be filled outside of RTH" to false when my system places pre-market orders with TWS? The idea is to place orders before market open, but have them execute during RTH (regular trading hours).&lt;br&gt;&lt;br&gt;Thanks!</description><pubDate>Tue, 05 May 2009 08:22:16 GMT</pubDate><dc:creator>Zora</dc:creator></item></channel></rss>
