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 CarlTrading, 03-31-2026, 09:41 PM
              1 response
              67 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              36 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              61 views
              1 like
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              62 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              53 views
              0 likes
              Last Post CarlTrading  
              Working...
              X