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.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Stanfillirenfro, Today, 07:23 AM
    2 responses
    9 views
    0 likes
    Last Post Stanfillirenfro  
    Started by rexsole, Today, 08:39 AM
    2 responses
    6 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    6 responses
    29 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by gbourque, Today, 06:39 AM
    2 responses
    14 views
    0 likes
    Last Post gbourque  
    Started by trilliantrader, Yesterday, 03:01 PM
    3 responses
    31 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Working...
    X