Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing past trades data

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

  • NinjaTrader_CalH
    replied
    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

    Leave a comment:


  • koganam
    replied
    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.

    Leave a comment:


  • bagira198011
    started a topic Accessing past trades data

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by markpk1, Today, 11:54 AM
2 responses
6 views
0 likes
Last Post markpk1
by markpk1
 
Started by Carlos19, Today, 10:15 AM
3 responses
11 views
0 likes
Last Post NinjaTrader_Erick  
Started by Marty125, Today, 11:14 AM
4 responses
17 views
0 likes
Last Post Marty125  
Started by markdshark, 04-16-2023, 09:29 AM
6 responses
232 views
0 likes
Last Post NinjaTrader_Jesse  
Started by siddhugaddi, Today, 10:31 AM
2 responses
15 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X