diff --git a/prediction_market_agent_tooling/markets/data_models.py b/prediction_market_agent_tooling/markets/data_models.py index 47160913..51141947 100644 --- a/prediction_market_agent_tooling/markets/data_models.py +++ b/prediction_market_agent_tooling/markets/data_models.py @@ -236,7 +236,7 @@ class ManifoldBetFees(BaseModel): creatorFee: Decimal def get_total(self) -> Decimal: - return sum([self.platformFee, self.liquidityFee, self.creatorFee]) + return Decimal(sum([self.platformFee, self.liquidityFee, self.creatorFee])) class ManifoldBet(BaseModel):