...
Different rate for symbols that have Exchange code of OBB or PNK (Per Execution type)
No Format |
---|
$exchangeCode = getExchangeCode($symbol, $date); if($exchangeCode$listingExchange == 'OBB' || $exchangeCode$listingExchange == 'PNK') { $fee = bcmul(bcmul($quantity, $price), '0.001'); // This is charging 10 basis pts of gross value } else $fee = bcmul($quantity, '0.001') ; // This is the per share rate for non-OBB/PNK activity return $fee; |
...