OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Archives
OmniTrader 2018 Technical Support
Stop orders executed as market
Last Activity 5/11/2020 10:43 AM
3 replies, 1015 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
LSJ

Legend
500
Posts: 515

Joined: 8/17/2006
Location: Citrus Springs, FL

User Profile
 
Subject : Stop orders executed as market
Posted : 5/16/2018 12:40 PM
Post #44693

Stop orders are being executed as market using brokerage connection to IB.

This order was placed as a stop order but was filled as a market as seen in the light grey. The loss and profit were added later manually in IB. This is the second occurrence of a stop being executed as a market - can we find out why?


[Edited by LSJ on 5/16/2018 12:44 PM]

Attached file : STX.png (8KB - 467 downloads)

^ Top
jpb

Veteran
1002525
Posts: 168

Joined: 5/11/2005
Location: Brown Deer, WI

User Profile
 
Subject : RE: Stop orders executed as market
Posted : 5/16/2018 2:12 PM
Post #44694 - In reply to #44693

I had something similar running Pre-2M and the RTM7 strategy when manually entering positions using that TradePlan when the signal was generated. However, I have not observed the same Stop becoming a market when the trades are issued by AutoTrade and AT instructs the strategy to apply the SL per the trade plan.

So, for me, I've observed the same SL becoming a Mkt order against IB (GXT) when manually trading signals, but not when AT is in control.
^ Top
tradermike

Veteran
100
Posts: 116

Joined: 12/21/2004
Location: Folsom

User Profile
 
Subject : RE: Stop orders executed as market
Posted : 5/16/2018 5:18 PM
Post #44695 - In reply to #44693

FYI...not sure how you executed and managed the trade in general, but, if you were using a Trade Plan(?), then bear in mind there are nuances here - such as "Virtual" stops and "Broker" stops.

Virtual stops are not transmitted to the broker. But rather, they are processed by OT/VT as new data comes in. If/when your stop level is triggered inside a Trade Plan, OT will THEN transmit a market order to the broker. That is because your virtual condition is now true, and you want to take action now. (In this regard, there is no order sitting at the broker.)

On the other hand, IF you want to park an actual STOP order at the broker, then you must use that order type.
^ Top
LSJ

Legend
500
Posts: 515

Joined: 8/17/2006
Location: Citrus Springs, FL

User Profile
 
Subject : RE: Stop orders executed as market
Posted : 5/16/2018 7:49 PM
Post #44698 - In reply to #44693

I used the trade manager to place a trade with a stop buy, a stop market loss stop and a limit profit stop using the appropriate condition for each. The trade places as it should in the OT paper acct. The very same trade, with the stop loss as a broker stop transmits to IB and shows the stop buy order and the accompanying broker stop loss order. Within a few seconds IB cancels the order and OT gives the error message that I can't short in an IRA. Somehow in the translation IB is not seeing this as a stop to a long trade and sees it as a short and rightfully cancels since this is an IRA.

I've tried with using no conditions and just fixed price levels and with the appropiate fixed loss and fixed profit conditions and the problem is the same.
Whether I use a trade plan or the trade manager something is haywire and I can't figure what it is.

In the previous example I placed a single trade with the trade manager with no stops or limits and it executed except for executing at market and not at the stop.

It seems to me there is something wrong with the way the brokerage connection is working (or not).

What steps can be taken to isolate or troubleshoot this situation?

(TraderMike - thanks for the suggestions but yes, I am aware of that.)

[Edited by LSJ on 5/16/2018 7:51 PM]

Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.