paolodelia99 / spread-option-pricing

Pricing spread option where the underlying as following a GBM using the margrabe formula and MC methods.
0 stars 0 forks source link

usage of unique_ptr in SpreadMarketData #14

Closed paolodelia99 closed 2 weeks ago

paolodelia99 commented 3 weeks ago

Using unique_prt instead of raw pointers in the SpreadMarket struct for safety reasons, and making it only move constructable instead of copy constructable