Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing order type without changing IOrder name

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

    Changing order type without changing IOrder name

    HI,

    If I have a limit order assigned to an IOrder name in a bar like:

    MyOrder = ExitLongLimit();

    And I want to switch to a market order the next bar without changing the IOrder name like:

    MyOrder = ExitLong();

    I have to Cancel previously the order: CancelOrder(MyOrder)

    or I can do it directly?

    #2
    guillembm,

    You would need to CancelOrder on the Limit and place a new order as Market. It would not be possible to convert an order directly from limit to market.

    Please let me know if you have additional questions.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gemify, 11-11-2022, 11:52 AM
    6 responses
    803 views
    2 likes
    Last Post ultls
    by ultls
     
    Started by ScottWalsh, Today, 04:52 PM
    0 responses
    3 views
    0 likes
    Last Post ScottWalsh  
    Started by ScottWalsh, Today, 04:29 PM
    0 responses
    7 views
    0 likes
    Last Post ScottWalsh  
    Started by rtwave, 04-12-2024, 09:30 AM
    2 responses
    22 views
    0 likes
    Last Post rtwave
    by rtwave
     
    Started by tsantospinto, 04-12-2024, 07:04 PM
    5 responses
    70 views
    0 likes
    Last Post tsantospinto  
    Working...
    X