Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

order

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

    order

    Hi:
    some limit order automatically canceled in 1 second ,why ? here is the log
    2024/2/5 8:17:23 2024/2/6 8:17 Order='7fc8c3bcb5b14098bfa02507be55f5d6/Sim101' Name='L2' New state='Cancelled' Instrument='CHEA' Action='Buy' Limit price=15.98 Stop price=0 Quantity=63 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
    2024/2/5 8:17:23 Order Order='7fc8c3bcb5b14098bfa02507be55f5d6/Sim101' Name='L2' New state='Cancel submitted' Instrument='CHEA' Action='Buy' Limit price=15.98 Stop price=0 Quantity=63 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
    2024/2/5 8:17:23 Order Order='7fc8c3bcb5b14098bfa02507be55f5d6/Sim101' Name='L2' New state='Working' Instrument='CHEA' Action='Buy' Limit price=15.98 Stop price=0 Quantity=63 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
    2024/2/5 8:17:23 Order Order='7fc8c3bcb5b14098bfa02507be55f5d6/Sim101' Name='L2' New state='Accepted' Instrument='CHEA' Action='Buy' Limit price=15.98 Stop price=0 Quantity=63 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
    2024/2/5 8:17:23 Order Order='7fc8c3bcb5b14098bfa02507be55f5d6/Sim101' Name='L2' New state='Submitted' Instrument='CHEA' Action='Buy' Limit price=15.98 Stop price=0 Quantity=63 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
    2024/2/5 8:17:23 NinjaScript NinjaScript strategy 'M1K001/318594248' submitting order
    Attached Files
    Last edited by bill2023; 02-05-2024, 07:51 AM.

    #2
    Hello bill2023,

    If that is an order that was submitted as non liveuntilcancelled and you are using a series with that granularity like 1 second or tick then that would be expected, orders expire after 1 bar update. You can see if that is happening by using TraceOrders.

    Comment


      #3
      i use this strategy on 1 minute chart

      Comment


        #4
        Hello bill2023,

        Did you try using TraceOrders to check if the order was expired? The order could still be expired after 1 second on a minute chart if you are using OnEachTick or OnPriceChange calculation mode.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        173 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        90 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        129 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        208 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        186 views
        0 likes
        Last Post CarlTrading  
        Working...
        X