Commit Graph

25 Commits

Author SHA1 Message Date
Tyler Shipe de052ace29 add collateral available and market margin available 2021-08-23 15:35:59 -04:00
Tyler Shipe 1e45e2cc03 use maxWithBorrows amount if maxWithoutBorrows is greater 2021-08-23 14:36:02 -04:00
saml33 246ac3d385 account page tweaks 2021-08-24 00:14:03 +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
dd 1b5cac89a1 fixed getPnl and settlePnl functions and updated client 2021-08-20 16:39:44 -04: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
Tyler Shipe deda8e58d6 position display tweaks 2021-08-17 17:01:00 -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 1917ba41c7 reuse tooltip for settle pnl 2021-08-16 17:35:16 -04:00
Tyler Shipe 00a85cded2 Merge in styling changes 2021-08-16 13:00:43 -04:00
saml33 d7692f88cf move buttons to margininfo panel 2021-08-16 23:31:25 +10:00
Tyler Shipe 9c1f8edf20 rename positions table; fix rounding issues 2021-08-15 13:06:52 -04:00
saml33 df6e97763a format usd values and small ui fixes 2021-08-15 23:31:59 +10:00
Tyler Shipe 5f5c703c5d wire up positions box 2021-08-14 16:05:31 -04:00
Tyler Shipe d4927731ee add breakeven and avg open price 2021-08-14 14:16:15 -04:00
saml33 7f53a44345 add name account ui 2021-07-24 21:49:18 +10:00
saml33 a5c643ab56 improve spot balances panel layout 2021-07-22 22:25:18 +10:00
saml33 d0797bf194 connect wallet empty states 2021-07-22 21:34:03 +10:00
Tyler Shipe 5077b5f182 add temp deposit withdraw buttons 2021-07-21 12:34:59 -04:00
saml33 ce0eeffac0 add additional spot/perp data to trade page 2021-07-21 11:56:45 -04:00