Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Determining Original Risk

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

    Determining Original Risk

    Is it possible to see what the original Stop that was entered for a trade when using an AT strategy? I can see what the stop was executed for, but that stop may have moved due to the strategy.

    I'm just trying to calculate the original risk for the trade to calculate the R Multiple, but after looking through the tables in the database, I don't see that those stops are recorded anywhere.

    If they are not recorded anywhere, is there a way that I can save them in the database somewhere to run a report later?

    #2
    Hello bobcat70,

    Unfortunately it is not supported to save data in the database manually.

    You could check the log file to see at what price the stop order was submitted at initially. Navigate to the time when the stop order was submitted and check what price is listed. You can find log files at (My) Documents-->NinjaTrader 6.5-->log.
    JasonNinjaTrader Customer Service

    Comment


      #3
      I did find the original order in the NT_ORDERHISTORY table. If I link the NT_EXECUTION.EXECUTIONID=NT_ORDERHISTORY.OCO fields together, then I can get the stop prices. If I just take the first one, then I will have my original stop.

      For Strategy Analyzer though, what I might do is see if I can just create a file through Ninja Script, and write out a comma delimited file of the trades when they occur - that way, they can be imported into Excel.
      Last edited by bobcat70; 07-23-2010, 10:41 AM.

      Comment


        #4
        Unfortunately this is not supported - it is not supported to modify/configure data in the database manually. If you like to proceed this way, unfortunately we cannot provide assistance.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Oh, wasn't suggesting modifying the database, just reading the tables to generate reports from.

          Thanks, still believe I will need to do this in NinjaScript.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          5 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          13 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Yesterday, 08:42 PM
          0 responses
          11 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Yesterday, 07:51 PM
          0 responses
          13 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,982 views
          3 likes
          Last Post jhudas88  
          Working...
          X