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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        54 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        72 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X