Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization

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

    Optimization

    Hi,

    Does a strategy validate a vendor license for an indicator once during backtesting/optimization or every execution?

    Best Regards,
    Scott

    #2
    Hello ScottB,

    Thank your your post.

    A Strategy's vendor license is verified any time the initialize() method is called, which holds the VendorLicense check method.

    You can expect the license to be checked during real-time execution and in backtesting as well.

    Please let me know if you have additional questions.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Matthew,

      It is my understanding we can only put the license check in Initialize(); it would seem making the call to your servers during an exhaustive optimization would create a lot of server traffic and have many other implications.

      Is there any way around this situation?

      Best Regards,
      Scott

      Comment


        #4
        Scott,

        Initialize is called once on a backtest and I am not aware of any workarounds to the licensing concerns during a backtest.

        Perhaps another developer can share their experiences here.
        MatthewNinjaTrader Product Management

        Comment


          #5
          Matthew, to clarify; for backtesting/optimization, is that once per iteration or just once?

          Comment


            #6
            Hello Scott,

            This would be once per iteration of the backtest.
            MatthewNinjaTrader Product Management

            Comment


              #7
              Thanks for the clarification

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CaptainJack, 05-29-2026, 05:09 AM
              0 responses
              264 views
              0 likes
              Last Post CaptainJack  
              Started by CaptainJack, 05-29-2026, 12:02 AM
              0 responses
              168 views
              0 likes
              Last Post CaptainJack  
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              171 views
              1 like
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              257 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              209 views
              0 likes
              Last Post CarlTrading  
              Working...
              X