Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Protection of strategies

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

    Protection of strategies

    I am looking into the idea of leasing a strategy, I have seen the protection functionality when exporting a strategy, however is it possible to put a time limit on a strategy so that it becomes locked / unusable after a set period of time so that someone leasing my strategy is only able to do so for the agreed period?

    Thanks

    #2
    Hello maninjapan,
    If you sign up for a 3rd party vendor then you can use the inbuilt licensing feature to do it. Please let me know if you wish to sign up as a 3rd party vendor and I will forward your request to our business dev team.

    Otherwise you can also further custom code your strategy to do it. Please refer to this sample code which demonstrates such idea
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thanks for the reply. I dont think I am quite ready to sign up as a vendor ( unless I am allowed to simply to access this functionality).

      I took a look at the link but it was regarding the topic "Using a time filter to limit trading hours"

      Is this the link you intended to post?

      Thanks,

      Comment


        #4
        Hello maninjapan,
        Yes, you can get an idea on to simply disable the code from executing using a time filter.

        A sample code will be like
        Code:
        protected override void OnBarUpdate()
        {
               if (ToDay(Time[0]) == 20130131) return;  //code will not work afterr 31st January 2013
               //rest of the codes
        }
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by The_Sec, Yesterday, 03:37 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by vecnopus, Today, 06:15 AM
        0 responses
        1 view
        0 likes
        Last Post vecnopus  
        Started by Aviram Y, Today, 05:29 AM
        0 responses
        5 views
        0 likes
        Last Post Aviram Y  
        Started by quantismo, 04-17-2024, 05:13 PM
        3 responses
        27 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by ScottWalsh, 04-16-2024, 04:29 PM
        7 responses
        36 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X