Test
Unified formula:
Net cash flow of the combination = Σ(Premium received from sold legs) - Σ(Premium paid for purchased legs)
Premium amount for each leg = Price of that leg × Number of contracts for that leg × Contract multiplier for that leg. The price of each leg is a non-negative value and is recorded as income or expense based on the actual buy/sell direction of the trade; when closing a position, each leg is reversed individually against the original position. After calculating the total amount for the entire order based on the number of contracts in each leg, do not multiply by the number of combination groups again. The net cash flow of the combination excludes fees, which are listed separately.











