Hide the Code and limit date for demo versión.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #140637 quote
    Fran55
    Participant
    Veteran

    How to hide the code of  a strategy for clients, and give It a límited validity date for demo versión???

    I need Code… Thanks!!!

    #140639 quote
    robertogozzi
    Moderator
    Master

    This is a strategy that expires on Dec. 31st 2020:

    Cond = close CROSSES OVER Average[20]
    If Date > 20201231 Then
       Cond = 0
    Endif
    If Cond and Not OnMarket Then
       Buy 1 contract at Market
    Endif
    But strategies cannot be protected from being read, modified or duplicated.

    Indicators can, instead. That’s why the workaround is to let an indicator do the setup and set conditions, so that a strategy only has to CALL it to know whether to enter at market or not. This allows anyone to read the strategy (which actually does nothing but buying and selling), while the core (the idea behind the strategy) is protected within the indicator.

    The indicator (named MyIndicator), to be later protected, out of the above strategy is:

    Cond = close CROSSES OVER Average[20]
    If Date > 20201231 Then
       Cond = 0
    Endif
    Return Cond
    The strategy will simply be:
    Cond = CALL MyIndicator
    If Cond and Not OnMarket Then
       Buy 1 contract at Market
    Endif
    To protect the indicator you have to export it to an ITF file that cannot be modified (it’s an option when exporting it). You can also let it be imported an unlimited number of times or just once.
    GraHal, Nicolas, Dow Jones and Midlanddave thanked this post
    #140654 quote
    Fran55
    Participant
    Veteran
    But there are fundamental parte within the strategy that must be hidden, such as Money management, or hours of operations, and others… not just indicators.
    #140657 quote
    robertogozzi
    Moderator
    Master
    Currently only indicators can be protected. It is rumored that PRT are working on some improvements about protection and licensing.
    #140658 quote
    Fran55
    Participant
    Veteran
    Many things are rumored, but None comes. No prt with ig, no market place, nothing at all. Everything is todo basic… And if you program by hand everything is problems. No wonder PRT os losing clients. It Will soon desappear.
    #140695 quote
    Nicolas
    Keymaster
    Master
    You will certainly disappear before PRT, thanks for your time here 😉
    Francesco and Razz thanked this post
    #140734 quote
    Dow Jones
    Participant
    Veteran
    Just to be sure, if I wasn’t wrong, I think the market place is more than just a rumor, rumor for me is nothing committed, no plan, no future, and you hear it from side channel. But marketplace as I follow, Nicolas already worked on it, I think he explained also due to Covid-19, some delays may happen. Probably we just need to give more time and patience to the development team. I would rather wait to be sure than sorry in such financial world 🙂
    #140795 quote
    Fran55
    Participant
    Veteran
    Truth?
    #162437 quote
    Monobrow
    Participant
    Senior
    To protect the indicator you have to export it to an ITF file that cannot be modified (it’s an option when exporting it). You can also let it be imported an unlimited number of times or just once.
    Quick question on this… if someone gives you an .itf with expiry, can you tell when it expires? / how long is left? Thanks!
    #162438 quote
    robertogozzi
    Moderator
    Master
    No, only the coder and his client do! If you received it from the client he could tell you.
    #162442 quote
    Monobrow
    Participant
    Senior
    If you received it from the client he could tell you.
    Ah ok, so he can tell us but we cant confirm? My thinking is if I pay for an algo that has 5 year life, I would like to check it has 5 years and not 5 months,,,,. new feature request maybe?
    #162454 quote
    robertogozzi
    Moderator
    Master
    Suggestions can be posted here https://www.prorealcode.com/topic/centralization-of-queries-and-suggestions-on-prorealtime/, or here https://www.prorealtime.com/it/contatto?suggestion=1  (page IT should be automatically redirected to your country).
    #162459 quote
    Nicolas
    Keymaster
    Master
    It has nothing to do with tha platform, if it is embedded in a code, no one can tell you when it will expire. Once the marketplace will be fully operational (one day I swear 😉 ) you will get that info directly in the platform (see attached picture). Of course the product must have been purchased through the marketplace.
    #162480 quote
    Monobrow
    Participant
    Senior
    you will get that info directly in the platform
    That is very cool, and a nice USP for marketplace. Thanks!
    #253866 quote
    Aragorna
    Participant
    Junior
    Hi Roberto,   sorry for asking a question about a sol old topic but I need to understand a couple of things about selling strategies on marketplace. Everytimy I make a strategy I incoporate the indicator because I see there are less or zero error working this way. I f I want to sell a strategy but I want to hide it, I necessarily use the indicators. and that’s where something goes wrong, at least with me. For some reason, strategy always differ when I use Function Call and I don’t understand why. So I’m thinking to use a different approach; I need to know if variables put in its separete menu and not indicated numerically in the strategies are visible to che customers or not. Because If I put every number of the strategy like a variable and then they are not visible, it will be hidden anyway, we can say, because variable are too many to be identified in the whole picture. Am I correct? thanks in advance for your kind answer.   Alessio
Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.

Hide the Code and limit date for demo versión.


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Fran55 @fran55 Participant
Summary

This topic contains 15 replies,
has 6 voices, and was last updated by Aragorna
2 months, 2 weeks ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/02/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...