Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM Strategy - do something every second

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

    ATM Strategy - do something every second

    Hi,

    usually I cancel orders in OnBarUpdate() function. But when there are no ticks I can not cancel order at specific time, is there a way to cancel it on specific time. e.g. OnTimeChange() - does any body has idea?

    Thanks

    Paul

    #2
    Hello kujista,

    Thanks for your post.

    I believe this is possible by using a timer event. I am investigating and will update when i have a sample code for you.

    Comment


      #3
      Thank you, but i solve this problem to work even on replay. I mean not using pc time.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sjsj2732, Yesterday, 04:31 AM
      0 responses
      36 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      287 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      288 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      134 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      95 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X