Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Protection of strategies
Collapse
X
-
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?
ThanksTags: None
-
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
-
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
-
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 owen5819, Yesterday, 11:42 AM
|
4 responses
23 views
0 likes
|
Last Post
![]()
by owen5819
Today, 11:12 AM
|
||
Started by bobby34, 02-07-2025, 06:21 AM
|
6 responses
51 views
0 likes
|
Last Post
![]()
by MiCe1999
Today, 10:54 AM
|
||
Started by reynoldsn, Today, 09:37 AM
|
3 responses
13 views
0 likes
|
Last Post
|
||
Started by -=Edge=-, 02-02-2025, 10:36 AM
|
13 responses
124 views
0 likes
|
Last Post
|
||
Started by trgui7883, 07-31-2024, 10:05 AM
|
10 responses
1,069 views
0 likes
|
Last Post
![]()
by trgui7883
Today, 10:20 AM
|
Comment