Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to query the "to" time

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

    How to query the "to" time

    Hi,
    In backtesting parameter window in Time Frame section is "to" parameter.
    How in a strategy I can get its value?

    Baruch

    #2
    Unfortunately you cannot.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,
      This is not the answer I hoped to.
      I don't understand. I can query and set: session, slippage, min. bars.. I think all other parameters, just not the "to"?

      If I want to write to an external file some data at the end of back test run, how can I do it? How do I know its the END?

      Baruch

      Comment


        #4
        Baruch,

        It is not supported. There is no method or property exposed that tells you its the end of the backtest.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cshox, Yesterday, 11:11 AM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by ETFVoyageur, Today, 02:15 AM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by lorem, 04-25-2024, 09:18 AM
        21 responses
        90 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by mlprice12, 12-21-2021, 04:55 PM
        5 responses
        309 views
        0 likes
        Last Post paypachaysa  
        Started by Human#102, 05-08-2024, 09:54 AM
        4 responses
        18 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X