Commit Graph

40 Commits

Author SHA1 Message Date
Tyler Shipe a7b5c8a96a more tweaks to improve orderbook websocket 2021-08-23 13:21:20 -04:00
Tyler Shipe b3cc717c86 use context slot to sync orderbook updates 2021-08-23 13:12:48 -04:00
Tyler Shipe d35304e84f hide perp positions table if none open 2021-07-24 14:29:24 -04:00
Tyler Shipe f26ec2165c remove root bank rpc calls 2021-07-19 17:28:30 -04:00
Tyler Shipe 671e50eba0 wip: max borrow calculations 2021-07-01 13:35:47 -04:00
Tyler Shipe 84692e4cd2 remove console.logs 2021-06-23 16:18:00 -04:00
Tyler Shipe cb44650367 connect perp market to websocket for orderbook 2021-06-23 15:09:19 -04:00
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Tyler Shipe 2a1e13a1b0 show current market event queue fills 2021-06-21 15:02:12 -04:00
Tyler Shipe 8d4dabb6d0 add spot trade history fills and raw health score 2021-06-20 15:11:36 -04:00
Maximilian Schneider 107c2e8ed3 add cancel perp order call and remove unused imports 2021-06-19 00:26:47 -04:00
Maximilian Schneider 2c487348f6 open orders are kinda adapted 2021-06-18 23:07:57 -04:00
Tyler Shipe 3f3ffb1a37 spot market orderbook on websockets 2021-06-18 19:57:02 -04:00
Maximilian Schneider 08a6a8dfdf one more 2021-06-18 18:59:00 -04:00
Maximilian Schneider e256ed4754 small fixes 2021-06-18 18:57:13 -04:00
Maximilian Schneider dcbb37fbb7 simple json stuff 2021-06-18 18:51:34 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Tyler Shipe 3df663614a use imported mangoClient in trade form; display userInfo component 2021-06-18 11:17:49 -04:00
Maximilian Schneider 4d3dae3b1a load order books both from perp & spot 2021-06-17 17:07:10 -04:00
Tyler Shipe c6dab39463 add interest rates 2021-06-17 14:40:44 -04:00
Maximilian Schneider 8aed0f0840 expose market config in store and switch between spot & perp 2021-06-17 01:38:49 -04:00
Tyler Shipe cb331fb2c7 comment out stuff in the ui so it works 2021-06-16 21:50:16 -04:00
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
Tyler Shipe 9755aef1be load orderbook for market 2021-05-01 16:30:05 -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 2d489b29c4 add Lagzda's alerts 2021-04-24 22:10:28 -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 efe5698af4 Fix pnl display and better err handling on fetching fills 2021-04-15 15:05:48 -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 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 799b9d843c add notifications 2021-04-12 00:17:23 -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