Integration and Profit/Loss Calculation