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

[amibroker] Re: Variable position sizeing?



PureBytes Links

Trading Reference Links

You can't do any flavor of optimization w/o optimization statements.

--- In amibroker@xxxxxxxxxxxxxxx, "Erik Skyba" <eskyba@xxxx> wrote:
>
>     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
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/