making portfolio loading and unloading work for multiple dates