I use 0.01 for stock commissions, because its buy+sell, so its 2*0.005. When you buy less than 100 stocks you must increase the commission so the position has at least $1 commission:

if(Lots < 100) Commission = 1./Lots;