Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to know the result of last trade?

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

    How to know the result of last trade?

    Hello,

    How can I know the result of the last trade (profits, if it was long or short, etc).

    Thank you.

    #2
    soyjesus, you could access trade performance information for all or realtime taken trades via the Performance class in NinjaScript - http://www.ninjatrader-support.com/H...rformance.html
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Ok, thank you but is there any function that say if the last trade was short or long?

      Comment


        #4
        You would need to access this info the IExecution object in the Performance / Trade Class - http://www.ninjatrader-support.com/H...radeClass.html
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by GussJ, 03-04-2020, 03:11 PM
        11 responses
        3,223 views
        0 likes
        Last Post xiinteractive  
        Started by andrewtrades, Today, 04:57 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        7 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        438 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        10 views
        0 likes
        Last Post FAQtrader  
        Working...
        X