Limits on the number of contracts

Discussions about the testing and simulation of mechanical trading systems using historical data and other methods. Trading Blox Customers should post Trading Blox specific questions in the Customer Support forum.
Post Reply
Coffee
Roundtable Knight
Roundtable Knight
Posts: 113
Joined: Fri Jun 06, 2003 1:06 pm

Limits on the number of contracts

Post by Coffee »

Hello,

As a good rule of thumb, what would be the maximum number of contracts to put on in a single commodity (or currency) so as to not affect the liquidity of the trade. I understand that number might change from grouping to grouping. The reason I ask this is because the system I'm developing will eagerly purchase as many contracts as it can (within the limits of the MM). When the equity is low, it will purchase for example 1-5 contracts per unit, but when equity gets high, it wants to purchase 100k + contracts. I arbitrarily put a "maximum" of 300 contracts per unit for all commodities, but since I've not actually traded yet, I'm not even sure if that value is too high to affect liquidity of the trades...

Thank you in advance,

Chuck
Ted Annemann
Roundtable Knight
Roundtable Knight
Posts: 118
Joined: Tue Apr 15, 2003 7:44 pm
Location: Arizona

Post by Ted Annemann »

Why not use (gasp!) builtin functions?

a = Average(Volume, 20);
b = Average(OpenInterest, 20);
c = Min(a,b);
enough = c / 10 ;
.... all the rest of your calculations ....
d = your calculated number of contracts
If (d < enough) then trade d contracts else trade enough contracts


Take the 20 day moving average of volume and the 20 day moving average of open interest. Whichever of these is smallest, divide it by ten (or your favorite number) and don't trade more than that many contracts. Otherwise you will be more than ten percent of the market!!
Vince
Roundtable Fellow
Roundtable Fellow
Posts: 61
Joined: Wed Jun 11, 2003 12:40 pm

Post by Vince »

Thanks! Thats an issue I will need to deal with when I roll out the commodity version of my system.
Coffee
Roundtable Knight
Roundtable Knight
Posts: 113
Joined: Fri Jun 06, 2003 1:06 pm

Post by Coffee »

Thanks! I will test this tonight after I put the kids to bed!

Chuck
Post Reply