Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to check the order status of the last order in a strategy

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

    How to check the order status of the last order in a strategy

    Hello!

    By operating a strategy in real time, the program could be closed or the Internet turned off. So when I start it I would like to know the status of the last registered order of that strategy to be able to define the next action.

    I wish to do this in the strategy, could you help me? Thanks!

    #2
    Hello 7robert, thanks for your post.

    See the "On connection loss" and Handling setting on this page. There are several options for what your strategy will do if it gets disconnected.

    There is also the OnConnectionStatusUpdate() method. This event will be called on connection changes. It can be used to gather info on orders if you get a disconnect.

    Best regards.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X