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 Rocket, Yesterday, 06:03 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by newton1, Yesterday, 09:54 AM
    2 responses
    61 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by SuperDude123, Yesterday, 08:31 AM
    3 responses
    101 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by jeliner, Yesterday, 12:58 AM
    1 response
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by ezrollin, Yesterday, 12:29 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X