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
    http://ninjatrader.com/support/forum...ead.php?t=3226
    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
        }
        http://www.ninjatrader.com/support/h...html?today.htm
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by MonteK, Yesterday, 09:31 PM
        0 responses
        23 views
        0 likes
        Last Post MonteK
        by MonteK
         
        Started by nkhoi, Yesterday, 09:27 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by SuperDude123, Yesterday, 03:52 PM
        4 responses
        26 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by ErikY, Yesterday, 01:16 PM
        1 response
        25 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by BullyWig Trader, Yesterday, 12:42 PM
        1 response
        16 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X