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 burtoninlondon, Today, 12:38 AM
    0 responses
    9 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    13 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,983 views
    3 likes
    Last Post jhudas88  
    Working...
    X