Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IOrder

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

    IOrder

    Hi,

    Can I store information such that it will be persisted in an IOrder property after the order has been submitted?

    These are entry orders and don't use the oco property so I would like to store a small amount of information when an order is cancelled for use until I get an ack back on the cancel.

    My orders are in a list so I can't remove them prior to the ack but I need a little more information than just knowing the OrderState is PendingCancel.

    I am trying to avoid creating a wrapper class with an IOrder variable in it (or other such mechanism).

    Best Regards,
    Scott

    #2
    Hi Scott, there's isn't really a dedicated property for this custom adding of info other than perhaps quering the FromEntrySignal you assigned? For a order unique id the token could still be used, eventhough comparing for eqaulity in NT7 is enough now.

    Comment


      #3
      Bertrand,

      Thanks for getting back to me. My question really boiled down to this - can I set the oco property of an exiting order (i.e. is it read only) and if I can will that value persist?

      Best Regards,
      Scott

      Comment


        #4
        Originally posted by ScottB View Post
        Bertrand,

        Thanks for getting back to me. My question really boiled down to this - can I set the oco property of an exiting order (i.e. is it read only) and if I can will that value persist?

        Best Regards,
        Scott
        Correct Scott, it would be read only and should persist unless you nullify the associated IOrder object.

        Comment


          #5
          Thanks for the help.

          Are there any string properties that are not read only at this point in the order's life?
          Last edited by ScottB; 05-25-2011, 10:15 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          672 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          379 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          111 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          577 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          582 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X