Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Request to make IsTerminalState() supported

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

    Request to make IsTerminalState() supported

    I assume that Order.IsTerminalState was written to make code inside SubmitOrderManaged() more concise and readable. Well the same thing applies to user code, so please make it supported.

    Example supported code
    Code:
    if (entryOrder.OrderState==OrderState.Cancelled || entryOrder.OrderState==OrderState.Filled || entryOrder.OrderState==OrderState.Rejected || entryOrder.OrderState==OrderState.Unknown)
    can be replaced with the much clearer (but currently unsupported)
    Code:
    if(Order.IsTerminalState(entryOrder.OrderState))

    #2
    Hello,

    Thank you for the post.

    I will forward this to development as a feature request.

    I look forward to being of further assistance.

    Comment


      #3
      I see IsTerminalState has been added to the documentation. Thanks to whoever did that.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      24 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      14 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      20 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      19 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      135 views
      0 likes
      Last Post SalmaTrader  
      Working...
      X