[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CUSTOMER NUMBER...CODE



PureBytes Links

Trading Reference Links

Alex
Doing it that way is not very effective. Its no big deal to pass someone
your customer number giving them the code and the number allows the code to
run on any computer. I believe what needs to be done is to use the builtin
function CustomerID to retrieve from TS the customer ID and compare to a
hardcoded ID such that unless that version of TS is running on that customer
ID you will not have a match. For TS6 and TS7 that is probably fairly secure
but for TS4 and TS2k it is not as secure but slightly better than what you
proposed.

Jerry
----- Original Message ----- 
From: "Alex Matulich" <alex@xxxxxxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Thursday, August 07, 2003 4:38 PM
Subject: Re: CUSTOMER NUMBER...CODE


> Paula,
>
> >I want to write a strategy, and give it to an associate, but I want
> >to reference his "customer number" in the strategy, so that the
> >strategy will only function for him, and no one else. Knowing his
> >customer number, can I reference it in the code?
>
> For moderate security you can indeed keep a variable containing a
> customer number in your code, and save the strategy in protected
> format before giving it to your associate (be sure to save your
> original source 'cause you won't get it back once you lock it).  You
> would need an input parameter that defaults to zero, in which your
> associate would have to place his customer number.
>
> Your signal code would look something like this:
>
> ---------------------------------------------------------
> Inputs: price(close), length(21), etc... CustCode(0);
>
> vars: x(0), y(0), etc... HardCode(5654203);
>
> if CustCode = HardCode then begin
>    {your signal code here}
> end;
> ---------------------------------------------------------
>
> You'd then create a strategy and save the ELS file.
>
> This sort of scheme can be cracked, but it's almost not worth the
> trouble to figure out.
>
> -- 
>   ,|___    Alex Matulich -- alex@xxxxxxxxxxxxxx
>  // +__>   Director of Research and Development
>  //  \
>  // __)    Unicorn Research Corporation -- http://unicorn.us.com
>