diff --git a/market-simulator/src/components/Simulator.vue b/market-simulator/src/components/Simulator.vue index 60a8e5ae..def4fc47 100644 --- a/market-simulator/src/components/Simulator.vue +++ b/market-simulator/src/components/Simulator.vue @@ -18,29 +18,33 @@ Order # - Yes bid - No Bid - Yes Weight - No Weight + Type + Bid + Weight Implied Probability - Yes Payout - No Payout - Yes Return - No Return + Payout + Return on win {{ i + 1 }} - {{ entry.yesBid || '' }} - {{ entry.noBid || '' }} - {{ entry.yesWeight.toFixed(2) || '' }} - {{ entry.noWeight.toFixed(2) || '' }} - {{ entry.prob.toFixed(2) || '' }} - {{ entry.yesPayout.value.toFixed(2) || '' }} - {{ entry.noPayout.value.toFixed(2) || '' }} - {{ (entry.yesReturn.value * 100).toFixed(2) || '' }}% - {{ (entry.noReturn.value * 100).toFixed(2) || '' }}% + + @@ -56,7 +60,7 @@ import { ref, computed } from '@vue/reactivity' import { onMounted, watch } from '@vue/runtime-core' const entries = [] as any -// Constants +// Constants. TODO: Pull these from the orders instead of hardcoding. const YES_SEED = 1 const NO_SEED = 9 // Regular variables