Commit Graph

557 Commits

Author SHA1 Message Date
Tyler Shipe fbd6eeda3b use loaded perp market to display open interest 2021-08-23 13:58:37 -04:00
Tyler Shipe a7b5c8a96a more tweaks to improve orderbook websocket 2021-08-23 13:21:20 -04:00
Tyler Shipe b3cc717c86 use context slot to sync orderbook updates 2021-08-23 13:12:48 -04:00
Tyler Shipe 99355dac38 use latest client to fix settle pnl 2021-08-23 11:21:26 -04:00
saml33 246ac3d385 account page tweaks 2021-08-24 00:14:03 +10:00
saml33 945f8a1a90 add orders/position count 2021-08-22 22:45:10 +10:00
saml33 12db262794 remove extra 0 from orderbook price/size 2021-08-22 14:03:43 +10:00
saml33 287b71a476 remove rounding from orderbook markprice 2021-08-22 13:56:48 +10:00
saml33 a4da1f6272 use balance instead of deposits/borrows 2021-08-22 12:59:54 +10:00
saml33 b8a5b06ef2 market header loaders 2021-08-21 23:02:51 +10:00
saml33 af8db468bf fix position panel padding 2021-08-21 22:11:14 +10:00
saml33 5cc4719ef8 fix panel layout 2021-08-21 11:42:59 +10:00
saml33 978f72a381 remove double % on health ratio 2021-08-21 08:11:19 +10:00
dd 1b5cac89a1 fixed getPnl and settlePnl functions and updated client 2021-08-20 16:39:44 -04:00
Maximilian Schneider 40bb8ec7e5 reduce health ratio overflow 2021-08-20 17:42:50 +02:00
Maximilian Schneider e7ff1b7234 re-enable connect wallet button 2021-08-20 17:42:50 +02:00
dd 41022ac45b Fixed funding rate display issue; can be improved once stats server fixed 2021-08-20 11:01:18 -04:00
Maximilian Schneider 62c578d28d correctly set max lev 2021-08-20 15:41:43 +02:00
Maximilian Schneider e7557e3101 fix issue on account load 2021-08-20 15:37:49 +02:00
Maximilian Schneider 739d805310 add max button to leverage slider 2021-08-20 15:34:04 +02:00
Maximilian Schneider e68d128d8f add available margin & leverage slider 2021-08-20 15:34:04 +02:00
Maximilian Schneider 2ed82f222b refactor for clarity 2021-08-20 15:34:04 +02:00
saml33 51741bc9a3 loading states for connect wallet 2021-08-20 23:17:02 +10:00
saml33 cbd0e0b934 fill trade size from position size 2021-08-20 21:51:29 +10:00
Maximilian Schneider 4fb0126d18 switch default to mainnet 2021-08-20 12:10:47 +02:00
Maximilian Schneider f59a9fed73 remove broken total borrows display 2021-08-20 12:07:51 +02:00
Maximilian Schneider aa999f1a0f correctly trigger connected state 2021-08-20 11:53:44 +02:00
Maximilian Schneider b0d4b9353a display recent trades 2021-08-20 04:47:25 +02:00
Maximilian Schneider 665b824fa4 enable perp trading view 2021-08-20 04:20:36 +02:00
dd 75c9abf746 fixed the sign issue for get average entry price 2021-08-19 21:41:10 -04:00
Tyler Shipe 56d9eb00ab fix perp position table 2021-08-19 20:14:04 -04:00
dd fe09cebc2c upgrade to latest mango client; unexpected error bug fixed 2021-08-19 18:47:19 -04:00
Tyler Shipe 8103a3cc85 disable leverage slider 2021-08-19 17:46:31 -04:00
Tyler Shipe beda882674 latest client 2021-08-19 15:40:54 -04:00
Tyler Shipe 2948bb6ab3 add env var for group name 2021-08-19 14:00:32 -04:00
Tyler Shipe b7a6a5086d use latest client 2021-08-19 13:49:44 -04:00
Tyler Shipe d0abf9be6a Merge remote-tracking branch 'origin/main' into main 2021-08-19 09:56:07 -04:00
saml33 afaa6b85ec consolidate new account flow to one step 2021-08-19 16:15:25 +10:00
Tyler Shipe 56b590589e fix new sub account modal 2021-08-18 21:05:16 -04:00
Tyler Shipe 809aec51e0 use latest group 2021-08-18 20:42:34 -04:00
Tyler Shipe 2036b77de3 pass in decimal count to leverage slider 2021-08-18 20:37:50 -04:00
Tyler Shipe 1c64a8a252 show position closing in leverage slider 2021-08-18 20:33:45 -04:00
Tyler Shipe 8b310acc9b rename marginDeposits to deposits 2021-08-18 16:43:51 -04:00
Tyler Shipe 9bfa880be0 add padding to slider 2021-08-18 16:31:22 -04:00
Tyler Shipe 27760cd7c3 tweak slider styling 2021-08-18 16:29:39 -04:00
Tyler Shipe 0af7a8b8ee more trade form improvements 2021-08-18 16:15:17 -04:00
Tyler Shipe 86ea7afcff add leverage slider 2021-08-18 14:23:12 -04:00
Tyler Shipe 2105827769 reduce sleep after placing a trade 2021-08-18 11:01:42 -04:00
Tyler Shipe c0ec5655a3 fix taker fee in trade form 2021-08-18 10:33:03 -04:00
Tyler Shipe c598f79a4a remove fee tab; set trade form price on page load 2021-08-18 10:24:29 -04:00