Commit Graph

19 Commits

Author SHA1 Message Date
James Grugett
f161661e7e Remove Contract and Bet type params. Use string type for outcomes. 2022-02-16 23:05:45 -06:00
James Grugett
fc954b6b4b Resolve multi market 2022-02-15 21:37:34 -06:00
James Grugett
f06709c20f Numbered answers. Layout & calculation tweaks 2022-02-14 22:27:15 -06:00
James Grugett
75aa946bd0 Working betting with ante'd NONE answer 2022-02-14 18:29:34 -06:00
James Grugett
58afde2772 Convert rest of calcuate file to generic multi contracts 2022-02-14 17:03:59 -06:00
James Grugett
26717295b8 Merge branch 'main' into free-response 2022-02-14 14:23:19 -06:00
James Grugett
b9248499c9 Answer bet panel 2022-02-14 14:14:02 -06:00
mantikoros
800d9c6723 lower fees on sales 2022-02-13 20:24:11 -06:00
mantikoros
e2de257372
Simple dpm (#46)
* simpler payout mechanism; lower phantom ante to $1

* deductFees

* reduce phantom ante to 0.01

* PHANTOM_ANTE = 0.001

* payouts: pay back winner losses with fees

* simplify payouts
2022-02-12 19:19:17 -06:00
mantikoros
4294481b5b change fee structure 2022-02-03 16:59:59 -06:00
mantikoros
f06ca8305c
Resolve prob (#41)
* rename MKT to PROB; show resolved probability; move format utilities to common

* ProbabilitySelector

* resolve to PROB

* prob and mkt labels
2022-01-30 15:51:30 -06:00
mantikoros
a0be5b6394 calculateMoneyRatio 2022-01-15 00:11:27 -06:00
mantikoros
3805adff58 calculateMoneyRatio: use share value amount 2022-01-14 11:35:32 -06:00
mantikoros
6d536c4e16 change fee structure (paid only on winnings); calculateMoneyRatio 2022-01-14 11:11:01 -06:00
mantikoros
3cffccdd3f calculateMoneyRatio 2022-01-13 20:52:03 -06:00
mantikoros
bc454e89ba calculateMoneyRatio 2022-01-12 23:43:07 -06:00
mantikoros
9d5490cf9a
Switch to new dpm mechanism (#26)
* initial commit

* antes

* rename path, compute to contractPath, contractMetrics

* merge

* Include antes as bets; more calculations

* fees on estimated winnings

* mkt payout calculation

* contract: remove startPool, add phantomShares

* Merge branch 'main' into new-dpm

* dpm migration script

* my service account
2022-01-12 13:01:04 -06:00
mantikoros
9a834526c0 formatting 2022-01-10 17:52:03 -06:00
mantikoros
b97a65cf2c refactor data structures, calculations to common directory 2022-01-10 15:07:57 -06:00