diff --git a/market-simulator/src/components/Simulator.vue b/market-simulator/src/components/Simulator.vue index 8d61dee8..cc03c082 100644 --- a/market-simulator/src/components/Simulator.vue +++ b/market-simulator/src/components/Simulator.vue @@ -21,8 +21,8 @@ {{ entry.yesWeight || '' }} {{ entry.noWeight || '' }} {{ entry.prob }} - {{ entry.yesPayout }} - {{ entry.noPayout }} + {{ entry.yesPayout.value.toFixed(2) }} + {{ entry.noPayout.value.toFixed(2) }} @@ -31,14 +31,22 @@ diff --git a/market-simulator/src/components/orders.ts b/market-simulator/src/components/orders.ts index 8ef39962..547e6dce 100644 --- a/market-simulator/src/components/orders.ts +++ b/market-simulator/src/components/orders.ts @@ -43,7 +43,8 @@ const data = `1,9 10, ,10 10, -,10` +,10 +10,` // Parse data into Yes/No orders // E.g. `8,\n,1\n1,` =>