Cost_tax calculation (buy/sell)