'Pay commission based on dollar value of shares.'

def calculate(self, order, transaction):

    cost_per_share = (transaction.price * self.cost_per_dollar)
    return (abs(transaction.amount) * cost_per_share)
