Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order ID for dictionary

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

    Order ID for dictionary

    Hello,

    I want to save a Order in the dictionary.

    (This topic has probably been discussed here several times.)


    Now I'm wondering which value would be best suited as a key?​

    #2
    Hello 1001111,

    If you are using a strategy the ID is not relevant to the strategy and may change depending on the connecting being used. Strategies track orders by the signal name that you give them.

    Comment


      #3
      Hmm. Should you also use the signal name as a key?

      Comment


        #4
        Hello 1001111
        ​,
        If you are making some kind of custom dictionary then likely yes. You can use custom singal names for each trade so you can differentiate specific trades and locate them in the strategies performance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        30 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        47 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X