'Calculates the cash flow from executing the given transaction'

@staticmethod
def _calculate_execution_cash_flow(txn):

    if isinstance(txn.asset, Future):
        return 0.0
    return (((-1) * txn.price) * txn.amount)
