Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NTcommand function capabilities...

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

    NTcommand function capabilities...

    Hello,

    I'm using the NT DLL method. Can I use the NTcommand function and the "PLACE" string input to place a new buy order, and then use the PLACE string in the NTcommand function to place a SELL order at the same time, so i would then have an open buy 1 at market position open, and a sell 1 market position open too, OR, do I have to use the "CLOSEPOSITION" input within the NTcommand function to close the open buy position first, and then i can open a new sell position?

    Thank you.

    Regards

    Rod

    #2
    Hello Rod,

    Yes, this is possible. You will need to call the NTCommand() twice - one for each order.

    Subsequently you want to ensure that the OCO parameter in both NTCommand() use the same OCO ID.
    http://www.ninjatrader-support.com/H...arameters.html
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by MonteK, Yesterday, 09:31 PM
    0 responses
    25 views
    0 likes
    Last Post MonteK
    by MonteK
     
    Started by nkhoi, Yesterday, 09:27 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by SuperDude123, Yesterday, 03:52 PM
    4 responses
    26 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by ErikY, Yesterday, 01:16 PM
    1 response
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by BullyWig Trader, Yesterday, 12:42 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X