FOREX Contract Sizes in Portfolio BackTester

Questions about MultiCharts and user contributed studies.
pschriber2
Posts: 36
Joined: 24 Apr 2012
Has thanked: 6 times
Been thanked: 2 times

FOREX Contract Sizes in Portfolio BackTester

Postby pschriber2 » 03 May 2012

Hi,

I was running a backtest for a strategy based on a data stream from Interactive Brokers. However, when I run the backtest and look at the performance report it gives me a large value for number of contracts (>4000) even though the maximum capital I have allocated for trade is $5000. Since ForEx contracts are usually larger than 1 unit how would I change this? Also, I get a account size required value of under $500 for this trade without using margins. Does anyone know why this would be?

Any help will be greatly appreciated.

Thanks,

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: FOREX Contract Sizes in Portfolio BackTester

Postby Henry MultiСharts » 04 May 2012

You need to specify the amount of contracts you want to buy in Porfolio Backtester.
Please make a right click on the strategy name in the Portfolio Tree at the left-> select Show properties.

Once you specify the proper amount or contracts according to your lot size and backtest it - account size required will be recalculated.

pschriber2
Posts: 36
Joined: 24 Apr 2012
Has thanked: 6 times
Been thanked: 2 times

Re: FOREX Contract Sizes in Portfolio BackTester

Postby pschriber2 » 04 May 2012

Hi Henry,

When I change the contracts to say 1000, I still only get a cash requirement of around $500. The performance report says it bought 1000 contracts at a price of 1.44485 each, so I can't figure out why it is giving me such a low cash requirment when I'm not leveraging my position.

Thanks

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: FOREX Contract Sizes in Portfolio BackTester

Postby Henry MultiСharts » 07 May 2012

Account size requirement is the amount of money you need to have on your account (besides the initial trading capital) to compensate the drawdown. It is the warranty provision to avoid margin call. The calculation is simple: abs(MinCloseToCloseDrawDown).


Return to “MultiCharts”