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 SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          50 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          22 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          16 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          22 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          23 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X