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

[amibroker] Variable position sizeing?



PureBytes Links

Trading Reference Links

    If I have 3 funds reprehensive of different asset classes. How do I run a PSO optimization finding the best percentage allocation for each fund. There is no buy or sell action. I need a minimum allocation of 10% in each asset class. I want to create the best allocation mix with the PSO optimization finding the best allocation. How do I get the position sizing to change as the optimization runs?
 
I was working with this piece of code:
 
PositionSize= (Name()=="fund1")*-optiA + (Name()=="fund2")
*-optiB + (Name()=="fund3")*-optiC;
 
 
Thanks,
 
Erik SKyba




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS