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

[amibroker] Re: Backtest: How can I limit the contract number?



PureBytes Links

Trading Reference Links

Hi Mike,

thanks for your answer.

I  tried it already in the past with this code (SetOption
("MaxOpenPositions",1)), but this code limits only the number of open 
trades at the same time and not the contract number in a trade. :(

There must be an other solution....

Greetings 

Beate


--- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> wrote:
>
> Beate,
> 
> See Max Open Positions setting.
> http://www.amibroker.com/guide/h_portfolio.html
> 
> Mike
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "beateclermont" <beateclermont@> 
> wrote:
> >
> > Hallo @ all,
> > 
> > at the moment I'm backtesting different strategies with 
historical 
> data 
> > e.g. S&P. Now I'm lokking for settings where for hole test the 
> number 
> > of contracts is limited to 1, equal how big is the initial equity 
or 
> > how my "virtual account" has developed.
> > 
> > Example: The S&P has developed from 400 points in 1990 to 1600 in 
> 2000 
> > and 2007 and is now at 800 points. If I want to test all 
quotations 
> at 
> > once and I has a start initial equity of 1600 (for the high in 
2000) 
> > the system starts trading with 4 contracts ....
> > 
> > Is there any solution how to limit contract number in settings 
for 
> > backtesting?
> > 
> > Many thanks for your help.
> > 
> > Greetings 
> > Beate
> >
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/