The unit price of capital cost is based on transaction price plus transaction cost. For the same fund, if there are buying and selling operations at the same time, the system will calculate cumulatively. Specific calculation formula (the formula is for reference only, and the cost price does not affect the actual profit and loss of the account):
Without dividends: cost price = (total purchase amount-total sale amount+transaction cost)/fund share;
Dividend: cost price = (total purchase-total sale+transaction cost-dividend)/fund share.