<p>Wouldn't it be much better to fix this by ensuring that the <code>tradePrice</code> property can never be non-positive? Negative or zero values don't make any sense whatsoever and might cause even bigger problems somewhere else in the code...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/2926?email_source=notifications&email_token=AJFFTNV6IMHR3YKXRUAOLBDP4VD2JA5CNFSM4H35JWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYUL3A#issuecomment-506545644">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWTSUMBYYVPUEN5ZEDP4VD2JANCNFSM4H35JWQQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNW3I3726YII6DU3M2TP4VD2JA5CNFSM4H35JWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYUL3A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/2926?email_source=notifications\u0026email_token=AJFFTNV6IMHR3YKXRUAOLBDP4VD2JA5CNFSM4H35JWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYUL3A#issuecomment-506545644",
"url": "https://github.com/bisq-network/bisq/pull/2926?email_source=notifications\u0026email_token=AJFFTNV6IMHR3YKXRUAOLBDP4VD2JA5CNFSM4H35JWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYUL3A#issuecomment-506545644",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>