Versions Compared

Key

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

...

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

Different rate for Select Symbols (Fee Rules)

No Format
symbol=AA,BAC,C,MSFT,QQQ => 0.001
=> 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.

...