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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        66 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        141 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        46 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        51 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X