From bc5aa573195a2fe801d24d0f9e87b32cc2dc4b45 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 8 Feb 2026 22:18:54 +0100 Subject: [PATCH] 08.02.26 --- modules/purchase_trade/pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/purchase_trade/pricing.py b/modules/purchase_trade/pricing.py index c0fb8f8..fe5e5a4 100755 --- a/modules/purchase_trade/pricing.py +++ b/modules/purchase_trade/pricing.py @@ -102,7 +102,7 @@ class MtmStrategy(ModelSQL, ModelView): for comp in self.components: value = Decimal(0) - if comp.price_source_type == 'curve' and comp.price_curve: + if comp.price_source_type == 'curve' and comp.price_index: value = Decimal( comp.price_index.get_price( dt,