Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get commission?

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

    How to get commission?

    Hello,

    I have the following code to get commission, sometimes it gets it, sometimes not.

    How can I reliably get the commission?

    Many Thanks, Caesar.

    Code:
                            Trade LastTrade;
    
                            // Get comission
                            if (SystemPerformance.AllTrades.Count > 0)
                            {
                                LastTrade = SystemPerformance.AllTrades[SystemPerformance.AllTrades.Count - 1];
                                Commission = LastTrade.Commission * 2;
                            }
    ​

    #2
    Hello Skechers,

    That would be the way to get the commission for a specific trade. Are you seeing the correct commission reported in the strategies performance report?

    Comment


      #3
      Hi Jesse,

      The strategy performanve report shows $0.00 as the commission.

      Is there a configuration setting I need to set?

      Many Thanks, Caesar.

      Comment


        #4
        Never mind, I had just reinstalled NT and the commission setting was blank ... all is well.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        15 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        59 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        42 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        47 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        38 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X