Commit Graph

799 Commits

Author SHA1 Message Date
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
James Grugett
f42f9d9a1a logo with white inside, transparent bg 2022-02-12 15:38:08 -06:00
James Grugett
5411401a2e Allow for non-binary contracts in contract page and related components 2022-02-12 14:46:04 -06:00
mantikoros
2d66be5208 resolve market: fix probability bounds 2022-02-12 00:19:45 -06:00
Austin Chen
7223fa38bc Automatically sort Tailwind classes with Prettier (#45)
* Add Prettier Tailwind plugin

* Autoformat Tailwind classes with Prettier
2022-02-11 22:56:45 -06:00
James Grugett
05540c9cc1 Create free answer contract 2022-02-11 22:53:13 -06:00
Austin Chen
7338bdd47a
Automatically sort Tailwind classes with Prettier (#45)
* Add Prettier Tailwind plugin

* Autoformat Tailwind classes with Prettier
2022-02-11 10:40:22 -08:00
James Grugett
34607262f3 Answer datatype and MULTI outcome type for Contract 2022-02-11 01:10:59 -06:00
James Grugett
dc0c9cf1d4 Filter undefined contracts 2022-02-10 17:06:27 -06:00
James Grugett
d02611a37a Add id field to markets api endpoint 2022-02-10 16:35:20 -06:00
James Grugett
4150479aa3 Break words and linkify fold about text 2022-02-10 14:57:41 -06:00
James Grugett
00fbe711e5 Only show leaderboard scores that round up to M$ 1 or more 2022-02-10 14:51:14 -06:00
James Grugett
9b50d67313 Render graph with bets from static props immediately 2022-02-10 14:36:19 -06:00
Austin Chen
bcc011c1fd Allow admins to edit questions 2022-02-09 10:58:33 -08:00
James Grugett
b0a1da62d2 Add sort options for /trades. Can sort by
profit or newest!
2022-02-08 23:28:20 -06:00
James Grugett
e66564cd1f Add current prob to trades items 2022-02-08 22:52:09 -06:00
James Grugett
6214b6e425 Truncate leaderboard name 2022-02-08 22:45:02 -06:00
Austin Chen
66624ff92c Send a welcome email to new users 2022-02-08 03:26:33 -08:00
James Grugett
096ac8f512 Put profile underneath bet popup 2022-02-08 00:57:34 -06:00