Commit 4ddd3f70 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Vincent A

[cragr] fetch obj_diff for Predica life insurances

parent ccd96d69
......@@ -725,6 +725,12 @@ class PredicaInvestmentsPage(LoggedPage, JsonPage):
return Eval(float_to_decimal, quantity)(self)
return NotAvailable
def obj_diff(self):
diff = Dict('mtpmvspt', default=None)(self)
if diff is not None:
return Eval(float_to_decimal, diff)(self)
return NotAvailable
def obj_code(self):
code = Dict('cdsptisn')(self)
if is_isin_valid(code):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment