Commit Graph

5 Commits

Author SHA1 Message Date
saml33 cfc09fb3c4
User account history (#33)
* deposit/withdraw table

* liquidations table and details

* connect to api data

* move history data to store

* nicks feedback on liquidations

* update history endpoint url

* update history when account changes
2021-06-22 19:50:40 +02:00
saml33 8a59b00347
Stats page alignment (#28)
* total deposit/borrow value charts, new chart styles

* responsive and bar chart

* reduce icon size to match trade page

* round large numbers

* use historic prices for total deposits/borrows

* fix lint errors

* use current price if no match from prices api

* fix data passed to borrow chart

* update prices endpoint url

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2021-06-22 13:49:52 +02:00
Tyler Shipe aa5355e70c fix pnl on accounts page 2021-06-07 13:28:54 -04:00
Tyler Shipe a1d572048b removed leverage indicator on deposit and withdraw modals 2021-06-05 14:01:00 -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