Gains are calculated from the value at purchase and the value at sale. If you do not have sales in your account, no profit will be displayed.