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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          52 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          142 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          160 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          96 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          276 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X