Page 1 of 1

How to set the minimum % requirement in holding stock within portfolio?

Posted: Thu Mar 26, 2015 7:29 am
by oem7110
I would like to know on how to set the minimum % requirement in holding stock within portfolio, for example, if I should hold 0.56% of stock ABC within my portfolio, then I would ignore it and hold cash instead.

Does anyone have any suggestions on how to determine this minimum percentage?
Thanks in advance for any suggestions

Re: How to set the minimum % requirement in holding stock within portfolio?

Posted: Thu Mar 26, 2015 9:36 am
by stamo
Something like:

Code: Select all

	IF ( (quantity*order.fillPrice/test.totalEquity) < minPctPortParam) THEN order.Reject( "Order < Than minPctPort" )
should work