nabtrade calculates average cost using the Weighted Average Price (WAP) calculation method.
Average cost is calculated by dividing the total purchase value by the total number of shares purchased.
WAP = Total Purchase Value / Total Shares Purchased.