Commit Graph

817 Commits

Author SHA1 Message Date
Austin Chen
9ec58948c6 Consistently floor user.balance 2022-02-17 16:09:04 -06:00
Austin Chen
123bd1905a Revert "Stop flooring inputs into formatMoney"
This reverts commit 2f7ab18429.
2022-02-17 16:09:04 -06:00
Austin Chen
405cf2a63c Stop flooring inputs into formatMoney 2022-02-17 16:09:04 -06:00
Austin Chen
f8f35c44f0 Don't include trailing !:,.; in links 2022-02-17 16:09:04 -06:00
mantikoros
1d7d23c925 sort trades by resolved 2022-02-17 16:09:04 -06:00
James Grugett
dfc719fcfe Append answers to contract field 'answers' 2022-02-17 15:53:05 -06:00
James Grugett
72ccb72f8c User info change: also change answers 2022-02-17 15:36:07 -06:00
James Grugett
0af1fb8d4a Show bet probability change and payout when creating answer 2022-02-17 13:00:33 -06:00
James Grugett
58cec94b72 Change outcomeType to include 'MULTI' and 'FREE_RESPONSE' 2022-02-17 12:12:34 -06:00
James Grugett
445176fad2 Remove NONE resolution option 2022-02-17 01:55:29 -06:00
James Grugett
c1b6137e18 Fix type error in script 2022-02-17 01:48:05 -06:00
James Grugett
7b082cd27b Don't show resolve options after answer chosen 2022-02-17 00:43:14 -06:00
James Grugett
f1d3ac8189 Increase char limit to 10k for answers. Preserve line breaks. 2022-02-17 00:30:46 -06:00
James Grugett
f161661e7e Remove Contract and Bet type params. Use string type for outcomes. 2022-02-16 23:05:45 -06:00
James Grugett
18376f8a3f Consolidate firestore rules for subcollections 2022-02-16 22:12:52 -06:00
James Grugett
595d373fb1 Update placeholder text for description 2022-02-16 18:02:09 -06:00
James Grugett
7af4375c17 Show ante bets on new answers in the feed 2022-02-16 16:40:00 -06:00
James Grugett
d13dbd6e1a Tweaks to no answers yet, resolve button layout 2022-02-16 16:36:27 -06:00
James Grugett
a05c5dcf65 None option converted to none of the above label at bottom of list. Button to resolve none. 2022-02-16 16:26:52 -06:00
James Grugett
95a63db6ea Fix grouped bets feed for multi outcomes 2022-02-16 15:51:41 -06:00
James Grugett
9c9b328860 Fix card showing 0% for multi contracts 2022-02-16 15:04:31 -06:00
James Grugett
68428c76a7 Create answer bet has isAnte: true 2022-02-16 12:40:20 -06:00
James Grugett
78b86a7c28 Always dev mode 2022-02-16 00:09:00 -06:00
James Grugett
0f066d7e8e Tweaks for trades page 2022-02-16 00:08:05 -06:00
James Grugett
26bb872113 Merge branch 'main' into free-response 2022-02-15 23:56:57 -06:00
James Grugett
fad1c8aaea Sell bets. Various fixes 2022-02-15 23:37:16 -06:00
James Grugett
6f5ac2d1d1 Fix feed and cards for multi contracts 2022-02-15 23:02:48 -06:00
James Grugett
212f79aac9 Resolved market UI 2022-02-15 22:33:04 -06:00
James Grugett
fc954b6b4b Resolve multi market 2022-02-15 21:37:34 -06:00
James Grugett
0a178a7519 Resolve answer UI 2022-02-15 18:08:21 -06:00
James Grugett
fbdc6eacad Can bet. More layout tweaks! 2022-02-14 23:21:44 -06:00
James Grugett
f06709c20f Numbered answers. Layout & calculation tweaks 2022-02-14 22:27:15 -06:00
James Grugett
4917d4084b Break words in questions 2022-02-14 20:27:43 -06:00
James Grugett
75aa946bd0 Working betting with ante'd NONE answer 2022-02-14 18:29:34 -06:00
Austin Chen
95fbfb7db0 Tweak padding 2022-02-14 15:39:59 -08:00
Austin Chen
86b4b1a907 Use badges in Your Trades 2022-02-14 15:29:29 -08:00
James Grugett
58afde2772 Convert rest of calcuate file to generic multi contracts 2022-02-14 17:03:59 -06:00
mantikoros
443acdbcf8 beautify trades page 2022-02-14 16:00:46 -06:00
Austin Chen
97bf1049b5 Show gray probabilities for closed markets 2022-02-14 13:34:05 -08: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
a8abd4ecbb trades page: show pnl 2022-02-14 13:00:20 -06:00
James Grugett
cef9eebbdf Add lowercase tags when editing tags 2022-02-13 22:41:00 -06:00
James Grugett
467effa5ca Some UI for showing answers 2022-02-13 22:38:37 -06:00
mantikoros
800d9c6723 lower fees on sales 2022-02-13 20:24:11 -06:00
Austin Chen
0e640bf53b Show the current % instead of "MKT" in Your Trades 2022-02-13 18:20:46 -08:00
Austin Chen
e4f1fbde3f Link to each question from Admin page 2022-02-13 16:09:30 -08:00
Austin Chen
5c3370ded8 Clean up Resolve Market panel 2022-02-13 15:41:08 -08:00
James Grugett
893016a7c3 Create answer 2022-02-12 19:25:07 -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