Versions Compared

Key

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

...

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

Tiered Plans

(warning) Please note: 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)

...