From d3fdd4cd1f1fb32882940b2a631b1c0e710b6822 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Thu, 17 Feb 2022 16:49:00 -0600 Subject: [PATCH] bets list: comment out expectation --- web/components/bets-list.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index 631cd945..caa38891 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -283,9 +283,8 @@ export function MyBetsSummary(props: { calculatePayout(contract, bet, 'NO') ) - const p = getProbability(contract.totalShares) - - const expectation = p * yesWinnings + (1 - p) * noWinnings + // const p = getProbability(contract.totalShares) + // const expectation = p * yesWinnings + (1 - p) * noWinnings const marketWinnings = _.sumBy(excludeSales, (bet) => calculatePayout(contract, bet, 'MKT') @@ -337,14 +336,14 @@ export function MyBetsSummary(props: { payoutCol ) : ( <> - + {/*
Expectation
{formatMoney(expectation)}
- + */}
Payout if