Commit Graph

36 Commits

Author SHA1 Message Date
Tyler Shipe 89d990a5f9 increment zero balance key 2021-08-31 15:14:07 -04:00
Tyler Shipe 27c7349c94 default show zero balance to true 2021-08-31 15:13:21 -04:00
Tyler Shipe 6630e29707 upgrade nextjs 2021-08-30 00:56:27 -04:00
Tyler Shipe f08e323e6c remove console logs 2021-08-24 16:01:43 -04:00
saml33 072f450f18 remove rounding from balances on account page 2021-08-24 16:44:58 +10: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 a4da1f6272 use balance instead of deposits/borrows 2021-08-22 12:59:54 +10:00
saml33 978f72a381 remove double % on health ratio 2021-08-21 08:11:19 +10:00
Maximilian Schneider 40bb8ec7e5 reduce health ratio overflow 2021-08-20 17:42:50 +02:00
Maximilian Schneider f59a9fed73 remove broken total borrows display 2021-08-20 12:07:51 +02:00
Tyler Shipe 8b310acc9b rename marginDeposits to deposits 2021-08-18 16:43:51 -04:00
Tyler Shipe 00a85cded2 Merge in styling changes 2021-08-16 13:00:43 -04: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 99a6184cb1 add leverage 2021-08-14 17:14:43 -04:00
Tyler Shipe d4927731ee add breakeven and avg open price 2021-08-14 14:16:15 -04:00
Tyler Shipe 654f9487c5 add trade history to account page 2021-08-13 16:02:12 -04:00
saml33 7eb63639ba add rewards to account page 2021-08-06 00:07:29 +10:00
saml33 dd38990721 handle account change on account page 2021-08-02 22:44:58 +10:00
saml33 1f82731a85 add unsettled balances ui 2021-08-01 22:48:15 +10:00
saml33 e810c5c215 improve theme and misc styling 2021-07-29 23:19:32 +10:00
saml33 d95c2843c4 add portfolio view 2021-07-25 23:54:25 +10:00
Tyler Shipe 54b6230314 fill in account asset values 2021-07-06 20:13:17 -04:00
Tyler Shipe a0ba6f44e8 update notifications, wire up account change modal 2021-07-06 18:04:20 -04:00
Tyler Shipe c5ce8e965f render the accounts page 2021-07-05 14:21:57 -04:00
Tyler Shipe 974b41f2bf use I80F48 greater than 2021-07-05 13:18:54 -04:00
Tyler Shipe c355f7132e add Borrows page and health ratio 2021-07-05 11:03:57 -04:00
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Tyler Shipe c4ccc37110 more errors 2021-06-20 23:22:45 -04:00
Maximilian Schneider 107c2e8ed3 add cancel perp order call and remove unused imports 2021-06-19 00:26:47 -04:00
Tyler Shipe 485718cd1b fix borrow modal 2021-06-07 17:56:56 -04:00
Tyler Shipe 330ef82a32 fix default margin account select 2021-06-07 16:55:10 -04:00
Tyler Shipe e5167bdcbc fix apy and apr 2021-06-05 15:53:19 -04:00
Tyler Shipe eac4adc18f add main action buttons below balances 2021-06-05 12:14:34 -04:00
saml33 3b5f22b815
User account page (#22)
* layout, overview, start on assets, borrows and open orders

* trade history, sortable data hook for tables, borrow page

* handle deposit and withdraw buttons

* borrow modal ui and integration + settle borrow for individual assets

* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks

* account switch/creation flow

* accounts modal, update to usebalances hook

* handle settle, deposit before settle, save last account

* disable borrow/withdraw button when no account
2021-06-05 10:11:44 -04:00