Python QuantLib datecount ActualActual basis vs Matlab daycount basis
I am translating a code from MATLAB to Python and I need to find equivalent setting to MATLAB’s day-count basis of 0 = actual / actual. My MATLAB code uses date2time
function to determine the length of period (measured in years) between two dates, with the default setting for the Basis parameter set to “0”.