• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can I use the UserData property of class Order?

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

  • gurko
    started a topic Can I use the UserData property of class Order?

    Can I use the UserData property of class Order?

    Hi,

    two questions, please:

    I see an undocumented property named UserData in the Order class. The name seems to suggest I could use it to attach arbitrary data to an order. Is that so?

    Also, there is an OnBehalfOf property (also undocumented). What is the purpose of this property?

    Kind regards,
    Stefan.

  • gurko
    replied
    Thank you Chelsea,

    fine, I will leave the undocumented fields alone. I can store my order-related data in other ways.

    Kind regards,
    Stefan.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Stefan,

    Our development has given me a response.

    The Order.UserData collection is not indented for use with NinjaScripts and is used for internal tracking from the core of NinjaTrader.

    Modifying this collection can result in unintended behavior.

    Further, the OnBehalfOf property is also used internally, is not intended for use with NinjaScripts and they are not providing information on how this is used internally.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Stefan,

    I've inquiries with our development about these properties.

    Once I have more information I will update this thread.

    We appreciate your patience.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by swcooke, Today, 12:33 PM
0 responses
3 views
0 likes
Last Post swcooke
by swcooke
 
Started by NinjaCustomer, Today, 12:10 PM
1 response
5 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by KINGKODA, Today, 11:48 AM
0 responses
3 views
0 likes
Last Post KINGKODA  
Started by mlarocco, Today, 10:52 AM
5 responses
16 views
0 likes
Last Post NinjaTrader_Jesse  
Started by Eros Lima, Today, 09:45 AM
2 responses
5 views
0 likes
Last Post NinjaTrader_ChrisL  
Working...
X