Commit Graph

349 Commits

Author SHA1 Message Date
tjs 822daf2f9f check that form values are numbers 2022-12-14 13:48:13 -05:00
tjs 749992573c fix unsettled trades table 2022-12-14 11:54:42 -05:00
Adrian Brzeziński e12707acc6 Merge commit '4875c77c530978a69defb89ace7e3446971e8641' into edit-orders 2022-12-14 17:48:44 +01:00
tjs 4875c77c53 ooops 2022-12-14 11:42:07 -05:00
tjs 0df4b365eb fix perp form error when projecting health 2022-12-14 11:40:43 -05:00
Adrian Brzeziński 7eb0e777eb Merge branch 'main' into edit-orders 2022-12-14 17:02:18 +01:00
Adrian Brzeziński e82b4af188 modify perp wip 2022-12-14 17:01:45 +01:00
Adrian Brzeziński 82379e8165 modify perp wip 2022-12-14 15:20:51 +01:00
saml33 01f1d6d95a update quote size on orderbook click and market order 2022-12-14 14:53:06 +11:00
saml33 0013266d3a fix spacing 2022-12-14 13:23:01 +11:00
saml33 55a8604717 edit open orders ui 2022-12-13 16:00:31 +11:00
saml33 e6acc3f37f add circle to sol logo 2022-12-12 21:56:06 +11:00
tjs 9e22329cf8 wip: debug errors 2022-12-12 02:20:28 -05:00
tjs f4db12fe38 fix orderbook unsubscribe 2022-12-12 01:36:30 -05:00
tjs 06ccb7c3c2 only show in unsettled if perp position has pnl 2022-12-12 01:01:49 -05:00
tjs b3a494fae1 don't show base on unsettled table 2022-12-12 00:37:49 -05:00
saml33 07e8b1a62a round oracle price to tick size 2022-12-12 15:38:52 +11:00
saml33 56dcf99769 link to market page from trade tables 2022-12-12 13:43:16 +11:00
saml33 712f42e6ec use disclosures on dashboard 2022-12-12 12:11:31 +11:00
tjs 70a83a3f27 fix trade form logos 2022-12-09 19:33:27 -05:00
tjs e0af9766c5 fix LogoWithFallback 2022-12-09 18:08:15 -05:00
tjs a9716a2181 add LogoWithFallback 2022-12-09 17:58:49 -05:00
tjs 6ad10826ca fix perp funding rate 2022-12-09 16:37:44 -05:00
tjs 52bec54dad fix orderbook click 2022-12-08 18:56:42 -05:00
tjs b03b6fb9a8 update to latest group 2022-12-08 14:58:54 -05:00
Adrian Brzeziński 68d3c961b6 merge 2022-12-08 15:12:18 +01:00
Adrian Brzeziński 2dfeca2863 add ema 2022-12-08 15:11:09 +01:00
saml33 f4871fe8d2 tweak trade form spacing 2022-12-08 22:55:31 +11:00
tjs 20af1810b0 wip: perp position settle funds 2022-12-08 01:47:32 -05:00
tjs 3dd54d26fe better handle bad perp funding rate data 2022-12-08 01:47:32 -05:00
saml33 3e159261e6 move howl outside components 2022-12-08 16:05:36 +11:00
tjs b53c4830f9 use new funding rate api endpoint
fix balance underline; simplify health impact by removing confusing parenthesis
2022-12-07 22:24:18 -05:00
saml33 738420799c remove token image rounding 2022-12-08 14:17:24 +11:00
saml33 300f481ecf add input theme colors 2022-12-08 13:34:24 +11:00
tjs 41223e846c allow setting the amount out in jupiter swap 2022-12-07 16:33:38 -05:00
saml33 c5c88ce3c2 trade header info on mobile 2022-12-07 16:25:37 +11:00
saml33 97a27ade59 add stats perp market table 2022-12-07 13:47:03 +11:00
Adrian Brzeziński c9c30c2d9d merge 2022-12-06 23:02:35 +01:00
Adrian Brzeziński 61c20de757 add clsx 2022-12-06 22:58:49 +01:00
Adrian Brzeziński 04ea8408e3 chart settings 2022-12-06 18:35:15 +01:00
Adrian Brzeziński 29cd515d62 full screen 2022-12-06 17:41:57 +01:00
saml33 7b58e9ce6d add token stats charts 2022-12-06 22:58:22 +11:00
tjs 7205f0379b show perp funding rate 2022-12-05 21:54:15 -05:00
tjs b62f102e3f tidyup 2022-12-05 21:54:15 -05:00
tjs 9a18380c74 fix lodash imports 2022-12-05 21:54:15 -05:00
Adrian Brzeziński 77954799ec kline chart wip 2022-12-06 00:54:47 +01:00
Adrian Brzeziński 2ec44f1742 technical indc 2022-12-05 18:19:59 +01:00
Adrian Brzeziński 72844038db merge 2022-12-05 13:11:53 +01:00
saml33 8dd1363212 olive and high contrast theme 2022-12-05 21:59:56 +11:00
saml33 188589c50c lychee theme 2022-12-05 10:06:06 +11:00
saml33 1768483ca1 use theme css vars instead of hardcoded rgba 2022-12-04 20:21:32 +11:00
tjs 6b55d1346a show perp unsettled pnl and updated group on an interval 2022-12-03 16:19:12 -05:00
tjs 1674f9a237 fix types and add check that input size is a number 2022-12-02 18:58:10 -05:00
tjs 616e6160da fix orderbook 2022-12-02 18:57:36 -05:00
Adrian Brzeziński 540bb5b7d6 cleanup 2022-12-02 15:09:46 +01:00
Adrian Brzeziński 96a37771f3 colors 2022-12-02 13:36:10 +01:00
saml33 4660d04041 add order value to trade form 2022-12-02 13:16:59 +11:00
Adrian Brzeziński 1af2ec414c merge 2022-12-02 01:00:05 +01:00
saml33 3c53b876f0 add slippage component 2022-12-02 10:38:41 +11:00
saml33 a9526cff9e merge main 2022-12-02 10:14:10 +11:00
Adrian Brzeziński 37ba0a5ec9 kline charts wip 2022-12-01 17:06:19 +01:00
Adrian Brzeziński cc67329be9 Merge branch 'main' into feature/kline-charts-spot 2022-12-01 12:47:35 +01:00
saml33 4af775a1c3 use new theme vars 2022-12-01 14:46:37 +11:00
saml33 209490752c better var names and hsl colors 2022-12-01 14:32:32 +11:00
tjs 0757af2213 perp funding rate 2022-11-30 10:51:38 -05:00
saml33 02495833e5 filter by spot market base 2022-11-30 16:30:18 +11:00
saml33 443858dc36 add market favorites 2022-11-30 15:01:55 +11:00
Adrian Brzeziński d03ee455ba fix 2022-11-29 18:15:47 +01:00
Adrian Brzeziński 0d7c899730 kline wip 2022-11-29 18:09:32 +01:00
saml33 b4b2198af6 full width account tabs on mobile 2022-11-29 21:58:50 +11:00
saml33 95a833fa02 fix recent trade sounds 2022-11-29 13:02:19 +11:00
saml33 211a2104fd recent trades sounds 2022-11-28 10:13:13 +11:00
saml33 f9f86b529d add slippage to trade form 2022-11-25 21:10:23 +11:00
saml33 75f2fd720b componentize settings page 2022-11-25 13:39:14 +11:00
saml33 e2832f0eea add sounds to recent trades 2022-11-25 12:57:19 +11:00
saml33 39485015c2 connect empty state icons 2022-11-25 10:56:31 +11:00
saml33 72e6a030b4 positions table connect empty state 2022-11-25 10:30:28 +11:00
saml33 f52cb54008 sound support and settings 2022-11-23 16:38:31 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
saml33 8c20df5556 round perp position size click 2022-11-23 13:21:31 +11:00
saml33 c1cc7e1cf7 round pre-filled limit price to tick size 2022-11-23 11:57:54 +11:00
saml33 201c9a823a add token logo to limit price input 2022-11-23 10:49:42 +11:00
saml33 326e1f09dd remove commented code 2022-11-23 10:46:56 +11:00
saml33 890c9f23aa open orders mobile 2022-11-23 10:43:25 +11:00
saml33 8b9519ea6c perp position size rounding 2022-11-22 20:30:37 +11:00
tjs 0808c900bc enable linking to market pages 2022-11-21 22:57:00 -05:00
tjs 529709f30e slightly better error messages 2022-11-21 17:06:40 -05:00
saml33 378c86ef8b open orders mobile styling 2022-11-21 21:37:31 +11:00
saml33 6f95fc8784 round open orders price to tick size 2022-11-21 20:42:18 +11:00
tjs 40aa88590b split market name in recent trades 2022-11-20 23:56:20 -05:00
tjs ef144b672f fixup recent trades decimals 2022-11-20 23:52:08 -05:00
tjs 777d44860a use event queue for recent trades until api is ready 2022-11-20 23:16:11 -05:00
tjs dbcaeee439 fix entry price formatting 2022-11-20 22:11:29 -05:00
tjs eb3d915916 wip: add unsettled perp 2022-11-20 21:29:54 -05:00
tjs 372fe381d1 fix trade form; more eslint refactor 2022-11-20 18:35:59 -05:00
tjs cb0b90dfb5 refactor to use mango group hook 2022-11-20 15:32:38 -05:00
tjs 2608a661e5 refactor to use selected market hook 2022-11-20 15:20:27 -05:00
saml33 04b14640a1 use table for recent trades 2022-11-20 22:06:54 +11:00
saml33 7f57e59f44 use table components 2022-11-20 21:44:14 +11:00
tjs 6b4c1d9f7e improve advanced trade sliders 2022-11-19 20:40:06 -05:00
tjs de2fa43bae fix perp market logo 2022-11-19 15:10:32 -05:00
tjs 561eba493b fix all eslint errors 2022-11-19 14:20:36 -05:00
tjs 203c571bc5 use jupiter api and hooks 2022-11-18 18:19:04 -05:00
tjs 5727d0bc7f add a useMangoAccount hook 2022-11-18 12:09:39 -05:00
tjs 185ab4748b revert to coingecko for swap and prices.
we'll use birdeye only for candles
2022-11-18 11:29:37 -05:00
saml33 777e020648 add low sol balance warnings 2022-11-18 15:43:23 +11:00
tjs 27f821c51c simplify balance click feature 2022-11-17 17:47:22 -05:00
tjs 1d95b280e2 update balances table name to be clearer 2022-11-17 17:16:45 -05:00
tjs 7b48469827 patch merge issues 2022-11-17 17:08:45 -05:00
tylersssss afec272331
Merge pull request #31 from blockworks-foundation/perp-position-click
populate trade form from positions table
2022-11-17 16:53:36 -05:00
tylersssss 6c95cf19fb
Merge pull request #29 from blockworks-foundation/trade-balance-click
populate trade form from balances table
2022-11-17 16:51:08 -05:00
saml33 177b5f0429 use oracle price for rolling change 2022-11-17 23:53:42 +11:00
saml33 8bd4d2e976 fix market price 2022-11-17 20:17:58 +11:00
saml33 605f712d44 populate trade form from positions table 2022-11-17 16:17:18 +11:00
saml33 332dacbad3 populate trade form from balances table 2022-11-16 16:09:55 +11:00
tjs 07847b971b support versioned txs 2022-11-15 23:12:57 -05:00
saml33 4a368e2514 add buttongroup to trade form 2022-11-16 12:32:55 +11:00
tylersssss f78ebae5c8
Merge branch 'main' into use-birdeye-api 2022-11-14 19:59:21 -05:00
saml33 7041b3b4d1 fix trade page responsive 2022-11-14 21:18:38 +11:00
saml33 fca7d81dda merge main 2022-11-14 09:57:19 +11:00
saml33 8a6706e142 merge main 2022-11-11 22:39:14 +11:00
saml33 782168283d more background 2022-11-11 22:24:24 +11:00
saml33 430cd939c4 fix spot market change 2022-11-10 12:48:03 +11:00
saml33 28c0fed1c7 use birdeye for serum market price history 2022-11-05 18:13:24 +00:00
saml33 c1254c9186 add health impact to trade form 2022-11-04 18:55:21 +00:00
saml33 68226acaa0 balances empty state 2022-11-04 13:14:50 +00:00
Adrian Brzeziński 9ab04649c2 fix bad input display value display in trade form 2022-11-02 17:09:22 +00:00
Adrian Brzeziński 89095abbd9 fix cancel perp 2022-11-02 16:31:24 +00:00
tjs 9e885f10bb show users order in orderbook 2022-11-01 18:13:02 +00:00
tjs 653ba6d270 perp cancel order 2022-11-01 17:46:16 +00:00
tjs a1cfde1a34 perp positions label change 2022-11-01 16:48:40 +00:00
tjs 1da4aea86b show perp position count in tabs 2022-11-01 15:50:55 +00:00
tjs b62ff845a9 perp positions table 2022-11-01 13:10:08 +00:00
tjs dcf5f0c4fd use latest client; create perp position tab 2022-10-31 19:11:34 +00:00
tjs 7f1461123d show perp open orders 2022-10-31 18:26:17 +00:00
tjs 7d15e8e798 better is number check 2022-10-31 16:39:43 +00:00
tjs 34e904f9f8 remove logs 2022-10-31 16:39:17 +00:00
tjs 356f2c63c2 orderbook fixes for mkts with different base tokens 2022-10-29 22:34:29 -04:00
tjs 420b0270da placeperporders 2022-10-29 21:17:14 -04:00
tjs 818bbc0252 fix zustand nextjs 13 issues 2022-10-28 17:46:38 -04:00
tjs 9269b4e18f fix yarn.lock, undo next upgrade 2022-10-28 15:24:05 -04:00
tjs 4ef23e60ff url param to view other mango accounts 2022-10-27 16:58:58 -04:00
tjs a118d18564 use legacy next/image 2022-10-26 16:01:31 -04:00
saml33 0c6832c02f add tabs to market selector 2022-10-26 21:49:05 +11:00
saml33 37074e5431 add tab underline component 2022-10-26 15:44:09 +11:00
saml33 befa7e9619 fix trade page borders 2022-10-26 13:01:45 +11:00
saml33 fb5a3b0e87 add book/trades tabs to mobile 2022-10-26 12:37:59 +11:00
saml33 055c437877 add padding bottom 2022-10-24 10:04:08 +11:00
saml33 46a9b55ae0 fix trade page heights 2022-10-23 22:38:48 +11:00
saml33 6d85da0ab5 misc styling 2022-10-22 23:14:25 +11:00