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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    94 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    49 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    31 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    70 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X