Derivative Pricing with Python
In the chapter 3 function update_ttm, the timestamp is 18 digits unix type timestamp, pls refer to https://www.epochconverter.com/ldap To get the days between two 18 digits timestamp, first, convert the 18 digits timestamp to int and divide them by 864e10.