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

RE Optimization



PureBytes Links

Trading Reference Links

>i wish to run an optimization for this, but cant really figure out
>the code. can someone help me write this optimization code to
>figure out
>( 01 ) "NO OF CONTRACTS TO EXIT", and,
>( 02 ) "THE RESPECTIVE PERCENTAGES".

You can wrie something like.

INPUT:A(0),B(0);
buy 100 contracts at ......
exitlong A contracts at....
exitlong B contracts at ....
ETC,

then optimize for A and B.

Tom.



--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.