Commit Graph

393 Commits

Author SHA1 Message Date
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 f59a9fed73 remove broken total borrows display 2021-08-20 12:07:51 +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
Tyler Shipe 56d9eb00ab fix perp position table 2021-08-19 20:14:04 -04:00
Tyler Shipe 8103a3cc85 disable leverage slider 2021-08-19 17:46:31 -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 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
saml33 abe87fba96 switch perp/spot order in menu 2021-08-18 22:55:04 +10:00
Tyler Shipe b3424df63e fix account naming when new sub account 2021-08-17 17:52:53 -04:00
Tyler Shipe deda8e58d6 position display tweaks 2021-08-17 17:01:00 -04:00
Tyler Shipe a7fc2c6c4d refactor 2021-08-17 16:50:16 -04:00
Tyler Shipe f7aa5b6bed fix lint errors 2021-08-17 16:48:42 -04:00
dd 800bea3306 added in self cranking for perp orders 2021-08-17 16:36:31 -04:00
Tyler Shipe 5c44d1fd34 fix when creating new mango accoung 2021-08-17 16:09:27 -04:00
Tyler Shipe dd074685e3 fix max withdraw with no borrows 2021-08-17 15:52:33 -04:00
Tyler Shipe 46d909ef6d add market fees to trade form box 2021-08-17 15:37:07 -04:00
Tyler Shipe 7d02331953 fetch mango account state if place trade fails 2021-08-17 14:05:25 -04:00
Tyler Shipe 65494917c1 add back account naming; await root bank loading 2021-08-17 13:47:52 -04:00
Tyler Shipe b8c203de74 move deposit withdraw button higher 2021-08-17 13:32:12 -04:00
Tyler Shipe afb09d828b add srm dex fee discount table 2021-08-17 13:14:39 -04:00
Tyler Shipe 8da8d0d973 handle when mango group isn't loaded 2021-08-17 11:10:32 -04:00
Tyler Shipe 6d5dbd8265 high side bade if no perp position 2021-08-16 18:40:56 -04:00
Tyler Shipe 17d73fc3cf more frequent mango acct updates 2021-08-16 18:10:06 -04:00
Tyler Shipe f44acbab27 handle large health ratio number 2021-08-16 17:35:40 -04:00