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

[amibroker] Individual Position Sizing



PureBytes Links

Trading Reference Links


In doing a portfolio backtest, is it possible to assign a different 
position sizing to one group and a different one to another?  I want to 
see the combined performance of a basket of stocks and a basket of 
futures on one equity curve so I figured I would just combine the list 
being tested.  This being possible because I am using the same trading 
system for both.  However, I want have a different position size for 
both groups.  I would assume it would look something like this except 
needing to place an "OR" for each stock, etc.:

iif(security == "ticker",positionsize = 5000, positionsize = 10000);

But I am not sure how to reference the security the backtester is 
currently testing.  I tried looking in the manual but I am not exactly 
sure what I would be asking to search.

David

P.S.:  I appreciate all the help found in this forum.  It is an amazing 
resource.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/