Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Querying Account Performance.

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

    Querying Account Performance.

    Is there a way I can query Account Performance (say based on an account name and a date-range) within a strategy. I'd like to programatically access Account Performance (as seen within the NT ui) when I receive execution notifications of a trade.

    thanks!
    jon

    #2
    Hello,

    This link may help:

    Try this one too:
    DenNinjaTrader Customer Service

    Comment


      #3
      NT_Ben,

      Thank you for the response. I am looking for a way to find trade performance data based on account information (for example by using an accountname, etc) and by limiting that data based on a date-range. I don't see how that is possible using the links you provided. Is there a way to do this (there must be since the NT UI contains all of this information)?

      thanks-
      jon

      Comment


        #4
        Hello,

        Your options are listed in the links I provided. Your only other option is to record the fill price in a variable and check the profit againsted the most recent price etc. within your program. Sorry!
        DenNinjaTrader Customer Service

        Comment


          #5
          Is there a way to query this information from the local computer that NT is running on (instead of per-se the NT database..)?

          regards

          Comment


            #6
            Hi there, unfortunately accessing the data presented in the UI is unsupported.

            You could try building your own database and saving all the relevant information. Every IExecution and IOrder update includes a time property.

            In addition, the methods in the post Ben referred you to (Trade Class (entry and exit specifically), and Trade Collection Class) return time properties (via IExecutions). You might have to build your own time filter though.
            Last edited by NinjaTrader_Austin; 07-28-2009, 01:36 PM.
            AustinNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            649 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            370 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            109 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            574 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            576 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X