Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing past trades data

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

    Accessing past trades data

    Hello

    If I click Account Performance I can see the trades with each pnl generated of my strategy in the 'Trades' tab.

    I would like to access this data from my strategy.

    Is there something in the API to access past trades generated by the strategy?

    Thank you
    Michael

    #2
    Originally posted by bagira198011 View Post
    Hello

    If I click Account Performance I can see the trades with each pnl generated of my strategy in the 'Trades' tab.

    I would like to access this data from my strategy.

    Is there something in the API to access past trades generated by the strategy?

    Thank you
    Michael
    Open the NT Help, and look at the TradesCollection class.

    Comment


      #3
      Hello Michael,

      Thank you for your post.

      It would not be possible to access past trades.

      It would be possible to get the current Peformance data of a running Strategy using NinjaScript call for Performance in the script

      Let me know if I can be of further assistance
      Cal H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by WHICKED, Today, 12:45 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by samish18, Today, 01:01 PM
      0 responses
      5 views
      0 likes
      Last Post samish18  
      Started by WHICKED, Today, 12:56 PM
      0 responses
      7 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by Spiderbird, Today, 12:15 PM
      2 responses
      11 views
      0 likes
      Last Post Spiderbird  
      Started by FrazMann, Today, 11:21 AM
      2 responses
      8 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Working...
      X