Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Connection NT to IB TWS
Collapse
X
-
Connection NT to IB TWS
Hello, I have connected NT to IB TWS. That works fine. I can send in orders. IB has the possibility to use extended order attributes for the orders sent in by using the API. Now I want to preset one or two of those extended attributes (always the same value). Is there any possibility to accomplish that?Tags: None
-
Hello Renejm,
NinjaTrader does supports OCO (one cancels other), trial stop orders.
You can take advantage of the ATM strategy templates to use the advanced functionalities. Please refer to our help guide to know more about it.
You can also access the features using automated strategies too (via NinjaScript coding).JoydeepNinjaTrader Customer Service
Comment
-
Thnaks for the fast reply. I am using an automated strategy with NT coding. Is there somewhere a description of the syntax to be used for setting those extended attributes? So far I haven't found doeumentation for that to use those attributes for the connection to IB
Comment
-
Hello Renejm,
If you are using the managed approach to submit the orders then the stop / targets are already OCO'ed it. For example if you enter a long position and placed a stop and target order (via the Set or the Exit methods) then the stop will automatically get cancelled if the target gets filled.
On the other hand if you are submitting the orders via the Unmanaged approach then you have to specifically refer the OCO string while submitting the orders.
SubmitOrder(int barsInProgressIndex, OrderAction orderAction, OrderType orderType, int quantity, double limitPrice, double stopPrice, string ocoId, string signalName)JoydeepNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
2 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
6 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
Comment