Yes, Alpha Insights works dynamically which means it performs calculations on your past orders according to your current settings.
Alpha Insights also begins to save your product cost of goods to each order as an order is being placed, this means that if your cost of goods change for a product over time, the cost of goods at the time of ordering will remain the same.