![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
|
Is it possible to send out OCO orders using NT DLL? I am able to send out stop loss and taking profit orders independently without any problem. Why are these orders not shown up in NT if I set the oco fields of these two orders to the same non-null string? I am using Interactivebrokers paper trading account as testing account. They are also not shown when using Sim101 as the default account.
- Clearpicks |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
This is not supported.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
|
Why is this not supported? Is there any technical difficulty?
- Clearpicks |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
|
I just found out that OCO is actually supported. The reason the orders did not show up was because I passed wrong order types to the DLL calls.
- Clearpicks |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
My fault...yes of course they are suppported if you using the NTCommand() function. Sorry for the misinformation.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
|
Ray,
In which situation it is not supported? Did you mean using the file interface? - Clearpicks |
|
|
|
|
|
#7 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
It is supported, that's what I was saying about misinformation.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
When using NT DLL, is it possible to send a limit buy order with stop loss and profit target orders attached at the same time which only become active when the limit buy order is executed? - Clearpicks |
|
|
|
|
|
#9 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
This is not supported.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I send an email from NinjaScript? | NinjaTrader_Ray | General Programming | 5 | 01-19-2012 09:21 PM |
| send many orders in one instrument | dantes | Strategy Development | 6 | 04-23-2008 10:16 AM |
| Send OCO bracket to position without ATM strategy | bboyle1234 | ATM Strategies (Discretionary Trading) | 1 | 03-12-2008 06:34 AM |
| Send Signal from DLL or COM and Have NT Conditionally Execute | davemabe | Automated Trading | 5 | 01-10-2008 02:28 PM |
| How to Send an MOC order from TradeStation | AJNIN | Automated Trading | 1 | 11-20-2007 02:39 AM |