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 kujista, Today, 06:23 AM
    0 responses
    1 view
    0 likes
    Last Post kujista
    by kujista
     
    Started by traderqz, Yesterday, 04:32 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by f.saeidi, Today, 05:56 AM
    1 response
    4 views
    0 likes
    Last Post Jltarrau  
    Started by Jltarrau, Today, 05:57 AM
    0 responses
    4 views
    0 likes
    Last Post Jltarrau  
    Started by Stanfillirenfro, Yesterday, 09:19 AM
    7 responses
    53 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X