Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

$0.50/1000 (Per Execution)

No Format
$quantity * 0.0005;

$0.50 / 1000, $1 minimum per ticket (Per Order)

No Format
max(1, $quantity * 0.0005);

$0.50 / 1000, $10 maximum per ticket (Per Order)

No Format
min(10, $quantity * 0.0005);

$0.50 / 1000, $1 minimum, $10 maximum per ticket (Per Order)

No Format
max(1, min(10, $quantity * 0.0005));

$1 per execution (Per Execution)

No Format
return 1;

$2.95 per ticket (Per Order)

No Format
return 2.95;

$0.50 / 1000 Equities, 1.65 / contract options (Per Execution)

No Format
$instrumentType = getInstrumentType($symbol);
if($instrumentType == INSTRUMENT_TYPE_OPTION) {
   return $quantity * 1.65;
} else {
   return $quantity * 0.0005;
}

Different rate for Select Symbols (Per Execution type)

No Format
if(in_array($symbol, array('AA','BAC','C','MSFT','QQQ'))) {
   return bcmul($quantity, '0.001');
   } else return bcmul($quantity, '0.0015');

$1.50 fee Per Symbol per side, plus 0.00005 per share  (Per Symbol type)

No Format
$sellSide = 1.50 + ($quantitySold * 0.00005);
$buySide = 1.50 + ($quantityBought * 0.00005);
return ($quantityBought > 0 ? $buySide : 0) + ($quantitySold > 0 ? $sellSide : 0);

Tiered Plans

(warning) Important: currently the $monthlyVolume variable in the formulas below includes volume across ALL types of securities (e.g. equities, options and futures volume would be combined).  This means that the formula will probably not function as intended if more than one type of security is traded in an account.

Non-Regressive Tiered Plan (Per Execution)

The formula below will assess 0.0015 / share the first 500,000 shares traded in a month, 0.001 / share for shares 500,001 - 1,000,000 and 0.0006 / share for share 1,000,001 and up.

No Format
return computeTieredFee($quantity, $monthlyVolume, array(
    500000 => '0.0015',
    1000000 => '0.001',
    '' => '0.0006'), false);

Regressive Tiered Plan (Per Execution)

The formula below will assess 0.0015 / share for the first 500,000 shares traded in a month. If the next tier is reached, the trader will receive a 0.0005 * 500,000 ($250) rebate and subsequent shares are assessed a rate of 0.001 / share. The rebate is credited on the execution that crosses the tier.

No Format
return computeTieredFee($quantity, $monthlyVolume, array(
    500000 => '0.0015',
    1000000 => '0.001',
    '' => '0.0006'), true);

Non-Regressive Tiered Plan (Per Order w/ $2 tkt)

No Format
return bcadd(computeTieredFee($quantity, $monthlyVolume, array(
    1000000 => '0.001',
    '' => '0.00075'), false), 2);

Order Quantity Tiered Plan (Per Order)

This plan is designed to charge a fee based on the filled quantity of a single order and therefore does not reference the $monthlyVolume variable.

No Format
if($quantity < 301) {
    return $quantity * 0.00001;
} elseif ($quantity < 601)  {    
    return $quantity * 0.00002;
} elseif ($quantity < 1001)  {    
    return $quantity * 0.00003;
} elseif ($quantity < 1301)  {    
    return $quantity * 0.00004;
} elseif ($quantity < 1601)  {    
    return $quantity * 0.00005;
} elseif ($quantity < 2001)  {    
    return $quantity * 0.00006;
} else {    
    return $quantity * 0.00007;
}