Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using Tradestation to cancel ordersin the dome.

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

    Using Tradestation to cancel ordersin the dome.

    I place orders in the Dome manually then use a TradeStation strategy to place and then tighten a stop at pre-determined price points. However, if my Tradestation chart refreshes for any reason it restarts the strategy which places a new stop with a new unique orderid which means I now have two stops which if hit will reverse my position.

    What is the command to cancel all orders for a particular symbol for a particular account when the stop orderid is not known? If the NTcommand needs to have the correct valid orderid to work, is it possible to use a generic orderid for the stop i.e. "STOP1" or does each orderid need to be unique?



    Is it possible to use the NTcommand “cancelallorders” to only cancel all orders for a particular account and symbol by modifying the wrapper function? I have tried to do this but it still cancels all orders across all accounts for all symbols?
    Last edited by strad739; 01-28-2009, 07:57 AM. Reason: typing errors

    #2
    CancelAllOrders does what it sounds like. It will cancel all orders.

    Use NTOrders to get your orderIds. Then just use NTCancel and cancel the individual ones you do not want.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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