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 CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        58 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        34 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        195 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        359 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        281 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X