Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connection NT to IB TWS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_Joydeep
    replied
    Hello Renejm,
    Are you referring to the Order id etc. If so then I would suggest looking into the IOrder object from our help guide

    Leave a comment:


  • Renejm
    replied
    Thanks for the reply. Any possibilities for additional extended order attributes like the order ref field of IB?

    Leave a comment:


  • NinjaTrader_Joydeep
    replied
    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)

    Leave a comment:


  • Renejm
    replied
    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

    Leave a comment:


  • NinjaTrader_Joydeep
    replied
    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).

    Leave a comment:


  • Renejm
    replied
    There are several extended order attributes available to set for the IB API like OCA Group (Once cancell all), Order ref and Trail Stop Price for example.

    Leave a comment:


  • NinjaTrader_Joydeep
    replied
    Hello Renejm,
    Thanks for your note.

    To assist you further can you please further elaborate what do you mean by extended attributes. Are you referring to the order types etc.

    I look forward to assisting you further.

    Leave a comment:


  • Renejm
    started a topic Connection NT to IB TWS

    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?

Latest Posts

Collapse

Topics Statistics Last Post
Started by wzgy0920, 04-20-2024, 06:09 PM
2 responses
27 views
0 likes
Last Post wzgy0920  
Started by wzgy0920, 02-22-2024, 01:11 AM
5 responses
32 views
0 likes
Last Post wzgy0920  
Started by wzgy0920, 04-23-2024, 09:53 PM
2 responses
49 views
0 likes
Last Post wzgy0920  
Started by Kensonprib, 04-28-2021, 10:11 AM
5 responses
193 views
0 likes
Last Post Hasadafa  
Started by GussJ, 03-04-2020, 03:11 PM
11 responses
3,235 views
0 likes
Last Post xiinteractive  
Working...
X