Manifold Markets: A market for every question
Go to file
James Grugett ed5f69db7a
Sell shares panel (#69)
* Split BuyAmountInput out of AmountInput

* Buy and sell tabs. Compute some sell info

* In progress

* BuyPanel & SellPanel with banner above that shows current shares and toggle button

* Remove "Remaining balance"

* Bring back 'Place a trade'. Tweaks

* Sell shares cloud function.

* Sell all shares by default. Switch back to buy if sell all your shares.

* Cache your shares in local storage so sell banner doesn't flicker.

* Compute sale value of shares with binary search to keep k constant.

* Update bets table to show BUY or SELL

* Fixes from Stephen's review

* Don't allow selling more than max shares in cloud function

* Use modal for sell shares on desktop.

* Handle floating point precision in max shares you can sell.
2022-03-29 14:56:56 -05:00
common Sell shares panel (#69) 2022-03-29 14:56:56 -05:00
functions Sell shares panel (#69) 2022-03-29 14:56:56 -05:00
og-image Update SEO for non-binary markets 2022-02-17 18:34:17 -06:00
web Sell shares panel (#69) 2022-03-29 14:56:56 -05:00
.firebaserc Allow admins to see private-users info 2022-01-24 00:48:10 -06:00
.gitignore Add yarn.lock for root 2022-02-01 15:38:35 -06:00
.prettierrc move prettier config to top level 2022-01-10 17:44:42 -06:00
firebase.json Reapply Manifold for Teams config changes (#54) 2022-02-26 23:29:33 -08:00
firestore.indexes.json Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
firestore.rules Allow editing the close time 2022-02-20 22:04:00 -06:00
package.json Yarn workspaces (#42) 2022-02-01 15:25:51 -06:00
README.md Rename to Manifold Markets! (#19) 2022-01-06 12:48:30 -06:00
yarn.lock Generate a sitemap with next-sitemap 2022-03-24 09:28:36 -07:00

mantic

Manifold Markets