Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Managed Approach Unique signalName Limit

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

    Managed Approach Unique signalName Limit

    Where strategies generate entry and/or exit orders based on various different conditions the orders can of course can be submitted with identifying name strings like "SMA Cross Entry", "SMA Cross Exit", "5-Minute Exit", or whatever. However, I am developing a strategy where I would like to name each order with a unique name that is never reused. For example, something like:

    "LongEntry-1",
    "LongEntry-2",
    "LongEntry-3",
    etc.

    The number of names therefore will grow over time without limit. I have no way to know exactly how the Managed Approach code keeps track of signal names or matches entry and exit orders associated with each other by names. My question is merely whether there will be significant resource or performance issues if the number unique names becomes large.

    #2
    Hello caveat_lector,

    The order names themselves are stored with the order and wouldn't be any larger or smaller if unique or the same.

    You may want to store these unique names in a List (or other type of collection) which would take up size with the more elements added to the list.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    51 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    127 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X