Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing order from Limit to Market failed.

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

    Changing order from Limit to Market failed.

    Below is the log from an order and a request to change from Limit to Maket that failed. The order was kept as a limit although I sent a change command for it to be a market order. The NT "Control Center" Order panel shows the order as working with a Limit.

    NT log:
    Date Category Message
    12/14/2007 14:10 Order Order='45d95c39071546bbbf46efa605757603/Sim101' Name='' New State=Working Instrument='ECA' Action=Buy Limit price=67.78 Stop price=0 Quantity=200 Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
    12/14/2007 14:10 Order Order='45d95c39071546bbbf46efa605757603/Sim101' Name='' New State=Accepted Instrument='ECA' Action=Buy Limit price=67.78 Stop price=0 Quantity=200 Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
    12/14/2007 14:10 Order Order='45d95c39071546bbbf46efa605757603/Sim101' Name='' New State=PendingChange Instrument='ECA' Action=Buy Limit price=67.78 Stop price=0 Quantity=200 Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
    12/14/2007 14:10 ATI AT 'CHANGE;;ECA;;200;;0;0;;;ECA-1071213-1106-1;;' processing
    12/14/2007 14:10 Order Order='45d95c39071546bbbf46efa605757603/Sim101' Name='' New State=Accepted Instrument='ECA' Action=Buy Limit price=67.78 Stop price=0 Quantity=200 Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
    12/14/2007 14:10 Order Order='45d95c39071546bbbf46efa605757603/Sim101' Name='' New State=Working Instrument='ECA' Action=Buy Limit price=67.78 Stop price=0 Quantity=200 Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
    12/14/2007 14:10 Order Order='45d95c39071546bbbf46efa605757603/Sim101' Name='' New State=PendingSubmit Instrument='ECA' Action=Buy Limit price=67.78 Stop price=0 Quantity=200 Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
    12/14/2007 14:10 Order Submitting order without strategy...
    12/14/2007 14:10 ATI AT 'PLACE;Sim101;ECA;BUY;200;LIMIT;67.7827083333333;0 ;DAY;;ECA-1071213-1106-1;;' processing


    This is my logging statments I produce from TradeStation EL code:
    Date, Time ComputerTime, OrderText, OrderId, ....
    12/14/2007,1411 ,2:10:00 PM,PLACE,Sim101,BUY,200,LIMIT,67.78,0.00,,ECA-1071213-1106-1,,0,0
    12/14/2007,1411 ,2:10:02 PM, Change order to market, ECA-1071213-1106-1,BUY0.0067.78200.00,1,0
    12/14/2007,1411 ,2:10:02 PM,CHANGE,,200,0.00,0.00,,ECA-1071213-1106-1,,1,0

    Moscu.

    #2
    Unfortunately NinjaTrader does not support changing the order type. A limit order always stays a limit order. You would need to cancel it out and place a market instead.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X