Maximilian Schneider
935129c45e
simulate withdraw operation so we can preview equity & coll ( #10 )
...
* show margin details in withdraw ui
Co-authored-by: saml33 <slam.uke@gmail.com>
2021-05-18 19:27:09 +03:00
saml33
8e4bd926a7
improve alert modal buttons and fix alerts not loading on connect wallet ( #8 )
2021-05-10 23:32:21 +03:00
saml33
806b527502
Bring alert details and notifications into the UI ( #5 )
...
* hook to get alerts, add triggered alerts to alerts list
* alerts page, count unseen alerts, clear alerts from nav view
* consolidate components, add custom value to alert modal dropdown, sort margin accounts alphanumerically
* ring bell when count increments and ping animation on count
* create/fetch alerts from store, filter by account, populate modal state from triggered alert
* fix alert sorting
* enable MA selection also for re-activate
2021-05-07 22:41:26 +03:00
Tyler Shipe
4f7e1b4990
format srm balances correctly when multiple mango srm accounts exist
2021-05-04 20:00:37 -04:00
Tyler Shipe
02b2fed058
better handle latency from wallet providers
2021-05-04 19:19:48 -04:00
Tyler Shipe
9755aef1be
load orderbook for market
2021-05-01 16:30:05 -04:00
Tyler Shipe
a0ef8f1e8e
better handling of rounding issues in borrow and withdraw
2021-04-29 17:27:13 -04:00
Tyler Shipe
6fbd949b9f
Use the vip-api endpoint
2021-04-29 13:42:53 -04:00
Tyler Shipe
3a5040f515
reduce call to rpc endpoint
2021-04-29 11:08:36 -04:00
Tyler Shipe
3ff07f452e
combine market state keys
2021-04-29 10:38:28 -04:00
dd
8f07e6b8dd
Put fetchMangoGroup on a 20s interval so interest rate changes are reflected in Margin Account summary
2021-04-26 15:17:57 -04:00
Tyler Shipe
16003fd8cf
fix recent trades and add update delays after srm deposit and withdraw
2021-04-25 18:57:16 -04:00
Tyler Shipe
526236e46f
fix console error with localstorage hook
2021-04-25 13:08:11 -04:00
Tyler Shipe
2d489b29c4
add Lagzda's alerts
2021-04-24 22:10:28 -04:00
Tyler Shipe
d9eee98f5e
increase refresh intervals
2021-04-21 11:21:00 -04:00
Tyler Shipe
404794575b
fetch trade history after margin account is loaded
2021-04-20 17:52:13 -04:00
Tyler Shipe
7c4e913b50
use separate connections for websockets and one off transactions
2021-04-20 17:00:45 -04:00
Tyler Shipe
74d9f70dbf
implement withdraw max with borrow
2021-04-20 10:09:25 -04:00
Tyler Shipe
ea015a4dc9
fix saved grid layout and add formatting for some large nums
2021-04-17 20:04:18 -04:00
Tyler Shipe
22435a7185
Fix deposit and withdraw modals
2021-04-16 17:09:17 -04:00
Tyler Shipe
8d0019de47
fix for updating after cancel order
2021-04-15 18:45:26 -04:00
Tyler Shipe
50dd3b618e
add small ux fixes from alpha feedback
2021-04-15 17:36:55 -04:00
Tyler Shipe
efe5698af4
Fix pnl display and better err handling on fetching fills
2021-04-15 15:05:48 -04:00
Tyler Shipe
3160dacb92
fix trade history table
2021-04-15 13:20:24 -04:00
Tyler Shipe
faa466ca17
prevent extra rerenders
2021-04-15 02:16:36 -04:00
Tyler Shipe
a674ff74d3
texting fixes
2021-04-14 18:46:36 -04:00
Tyler Shipe
96ee9ce664
fix margin balance borrows typo
2021-04-14 14:40:28 -04:00
Tyler Shipe
da3072b867
support multiple wallets
2021-04-14 01:23:50 -04:00
Tyler Shipe
de620e9a3f
fix contributed srm bug
2021-04-13 20:41:28 -04:00
Tyler Shipe
8b418dbe5f
handle no open orders account
2021-04-13 20:14:38 -04:00
Tyler Shipe
d495be6b32
handle no trade history
2021-04-13 20:03:29 -04:00
Tyler Shipe
062ac4105a
all the fixes
2021-04-13 19:41:04 -04:00
Tyler Shipe
c59e61df82
fetch trade history on history table mount
2021-04-13 17:04:57 -04:00
Tyler Shipe
59f1156703
Add UiLock toggle and themed the stats page
2021-04-13 12:51:42 -04:00
Tyler Shipe
56c0372a7f
wire up trade history
2021-04-13 00:40:26 -04:00
Tyler Shipe
9e67c147bf
fee discount tables and more theming
2021-04-12 23:39:08 -04:00
Tyler Shipe
6605cbdd48
convert trade form inputs to tailwind and continue theming
2021-04-12 16:01:55 -04:00
Tyler Shipe
799b9d843c
add notifications
2021-04-12 00:17:23 -04:00
Tyler Shipe
930273d1e7
fixes for husky commit hooks
2021-04-10 11:56:14 -04:00
Tyler Shipe
71db71b347
deposit modal
2021-04-09 21:26:34 -04:00
Tyler Shipe
4eccd0c74a
created balances and fee discounts components
2021-04-07 17:49:37 -04:00
Tyler Shipe
35be5f1276
optimize rerenders
2021-04-07 11:44:22 -04:00
Tyler Shipe
a0c0768473
add market select dropdown
2021-04-06 18:11:42 -04:00
Tyler Shipe
ac631f1fd5
add recent market trades box
2021-04-05 16:48:24 -04:00
Tyler Shipe
82b091434e
wip: wiring up global state to components
2021-04-05 10:40:58 -04:00
Tyler Shipe
f03f1919a4
add trade form component
2021-04-02 14:26:21 -04:00
Tyler Shipe
37cf5bae14
create next app with trading view form and orderbook
2021-03-30 18:47:08 -04:00