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 NullPointStrategies, Today, 05:17 AM
    0 responses
    52 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
    70 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