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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          67 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          36 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          59 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          62 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X