NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 07-30-2008, 10:25 AM   #1
moon_rainz
Junior Member
 
Join Date: Jul 2008
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default IB's stop trigger method

In IB's platform, I can set the default trigger method of my stop orders to be based on the mid-price (mid-point of bid/ask price).

Will this setting be reflected in NinjaTrader? For example, my strategy running in NinjaTrader place a stop loss at 1.5600. Will this stop loss be triggered based on the mid-price too?
moon_rainz is offline  
Reply With Quote
Old 07-30-2008, 10:38 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

I believe this is the case since the order is triggered at IB and not in NT itself.
NinjaTrader_Ray is offline  
Reply With Quote
Old 07-30-2008, 11:01 AM   #3
moon_rainz
Junior Member
 
Join Date: Jul 2008
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default

Suppose my strategy places a buy stop at 1.5650. Current price is 1.5600. Bid/ask goes to 1.5649/1.5651. Mid-price is 1.5650 so my buy stop is triggered at IB.

But NinjaTrader's chart is based on bid price. So bid never goes to 1.5650.

Will my strategy in NinjaTrader reflect that the buy stop is triggered?
moon_rainz is offline  
Reply With Quote
Old 07-30-2008, 11:11 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

A stop order is triggered on IB's server. If your stop is filled, IB will report this and NT will display what they report.
NinjaTrader_Ray is offline  
Reply With Quote
Old 08-05-2008, 10:18 PM   #5
MoreYummy
Senior Member
 
Join Date: Aug 2008
Posts: 325
Thanks: 0
Thanked 0 times in 0 posts
Default

How do you know the chart in NJ using bid not midpoint if data feed from IB?

Isn't the bid only be used when using other datafeed, such as forex's data?
MoreYummy is offline  
Reply With Quote
Old 08-06-2008, 01:19 AM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

NT feeds in the bid.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 08-06-2008, 01:41 AM   #7
MoreYummy
Senior Member
 
Join Date: Aug 2008
Posts: 325
Thanks: 0
Thanked 0 times in 0 posts
Default

Is it possible to add 0.5 pip to the bid? So if coming in as 100.00, the data will show 100.005?
MoreYummy is offline  
Reply With Quote
Old 08-06-2008, 01:43 AM   #8
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately this is not supported.
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Trail Stop Loss Didn't Trigger Jappenzeller ATM Strategies (Discretionary Trading) 5 03-12-2007 07:39 AM
stop price method nicko9 Strategy Development 4 02-13-2007 07:39 PM
Stop orders in DOM not triggering in IB/TWS as specified trigger type JangoFolly Miscellaneous Support 8 12-13-2006 06:59 AM
Auto Center and Trailing Stop Price Trigger pivot44 Suggestions And Feedback 4 06-08-2006 03:31 AM
auto b/e and trailing stop trigger method dave898 Miscellaneous Support 4 03-29-2006 10:03 AM


All times are GMT -6. The time now is 09:18 PM.