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 lorem, Today, 09:18 AM
    0 responses
    2 views
    0 likes
    Last Post lorem
    by lorem
     
    Started by hazylizard, Today, 08:38 AM
    4 responses
    11 views
    0 likes
    Last Post hazylizard  
    Started by geddyisodin, Today, 05:20 AM
    2 responses
    19 views
    0 likes
    Last Post geddyisodin  
    Started by Max238, Today, 01:28 AM
    5 responses
    47 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by giulyko00, Yesterday, 12:03 PM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X