Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Activating licensing on TickReplay kills CPU

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

    Activating licensing on TickReplay kills CPU

    Hi,

    I am trying to apply licensing to an indicator working in tick replay mode.
    I added a license call in State==State.SetDefaults.

    On 15 days of CL bars, without licensing load time is 4 seconds, with licensing it's 1 minute.

    Am I doing something wrong ?

    #2
    It might be helpful if you could determine whether the problem is invariant, or changes over time. In other words, retest at different times of day, and on different days, using different instruments and bar types/periods.

    Comment


      #3
      It has this behaviour on an nearly empty indy.
      Just add a vendor check and try any indicator on a tick replay data series, and see how goes.
      Doesn't work here..

      Comment


        #4
        How are you doing your license check?

        I tested with the following and did not observe any difference in load time:

        VendorLicense("Your vendor name", "Your Module", "www.your-url.com", "[email protected]",null);

        Were you doing anything within the doVerify function?

        May I also ask, if you move the license check to the Indicators constuctor, do you find the same problems?

        Code:
        	public class TickReplayVendor : Indicator
        	{
        		public TickReplayVendor()
        		{
        			VendorLicense("Your vendor name", "Your Module", "www.your-url.com", "[email protected]",null);
        		}
                 }
        MatthewNinjaTrader Product Management

        Comment


          #5
          Did you try with an actual vendor ID and a defined Module ID ?
          Yes with "Your vendor name", "Your Module" it's ok, but with a real vendorid and real moduleid it's not .
          1 day of CL replay loads on my computer in 1 seconds with the data series in normal mode, and 13 seconds in tick replay mode. And the indicator is empty except the call to licence in contructor like you did.

          Comment


            #6
            Thanks for bringing this to my attention, I can reproduce consistently as well. I've reported this to development using ID #9115
            MatthewNinjaTrader Product Management

            Comment


              #7
              Hi,

              It seems this has not been corrected in NT8B7. My indicators loads in 1.5 seconds without the vendor licence, 25 seconds when I add Vendor licensing.

              Comment


                #8
                My notes show that we resolved and shipped fixes in B7 for this and explicitly tested. Perhaps a use case slipped through? Can you please email me your script to [email protected] so that I could debug and check into why your still running into problem.

                Comment


                  #9
                  ok it's done

                  Comment


                    #10
                    Thanks got it. Matthew will look into tomorrow and get back.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by SantoshXX, Today, 03:09 AM
                    0 responses
                    6 views
                    0 likes
                    Last Post SantoshXX  
                    Started by DanielTynera, Today, 01:14 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post DanielTynera  
                    Started by yertle, 04-18-2024, 08:38 AM
                    9 responses
                    41 views
                    0 likes
                    Last Post yertle
                    by yertle
                     
                    Started by techgetgame, Yesterday, 11:42 PM
                    0 responses
                    12 views
                    0 likes
                    Last Post techgetgame  
                    Started by sephichapdson, Yesterday, 11:36 PM
                    0 responses
                    2 views
                    0 likes
                    Last Post sephichapdson  
                    Working...
                    X