Commit Graph

161 Commits

Author SHA1 Message Date
Tyler Shipe 4f20fc6542 use client reloadMangoAccount 2021-08-31 13:47:03 -04:00
Tyler Shipe e0f2398dab remove old hooks 2021-08-29 20:37:31 -04:00
Tyler Shipe 009259c35f compare pks with .equals 2021-08-28 14:09:08 -04:00
Tyler Shipe 63e151f516 prevent useOrderbook from updating during market change
fixes white screen error
2021-08-27 20:15:25 -04:00
Tyler Shipe 38ab3f9914 refresh mango acct more frequently; add error notification on failure 2021-08-25 11:50:39 -04:00
Tyler Shipe 19a42b9c7c mark price decimal formatting 2021-08-25 10:44:06 -04:00
Tyler Shipe f92eb09ddb add account loading message 2021-08-24 15:45:59 -04:00
Tyler Shipe dbd831bca5 fix quote balance display 2021-08-24 15:16:40 -04:00
Tyler Shipe f268201e09 tweak decimal precision on stats 2021-08-24 13:04:43 -04:00
Tyler Shipe 1c0962031b add notification when sol balance is low and when connecting wallet; disable connect button until walletadapter is loaded 2021-08-24 12:28:25 -04:00
Tyler Shipe 3f1e91399e add stat totals 2021-08-23 17:09:16 -04:00
Tyler Shipe de052ace29 add collateral available and market margin available 2021-08-23 15:35:59 -04:00
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 99355dac38 use latest client to fix settle pnl 2021-08-23 11:21:26 -04: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
Maximilian Schneider aa999f1a0f correctly trigger connected state 2021-08-20 11:53:44 +02:00
Tyler Shipe 8b310acc9b rename marginDeposits to deposits 2021-08-18 16:43:51 -04:00
Tyler Shipe c0ec5655a3 fix taker fee in trade form 2021-08-18 10:33:03 -04:00
Tyler Shipe c598f79a4a remove fee tab; set trade form price on page load 2021-08-18 10:24:29 -04:00
Tyler Shipe 7790b7e062 run yarn format 2021-08-17 16:51:02 -04:00
Tyler Shipe f7aa5b6bed fix lint errors 2021-08-17 16:48:42 -04:00
dd 800bea3306 added in self cranking for perp orders 2021-08-17 16:36:31 -04:00
Tyler Shipe 46d909ef6d add market fees to trade form box 2021-08-17 15:37:07 -04:00
Tyler Shipe afb09d828b add srm dex fee discount table 2021-08-17 13:14:39 -04:00
Tyler Shipe 5ff5fb2914 use latest client 2021-08-16 20:05:57 -04:00
Tyler Shipe 17d73fc3cf more frequent mango acct updates 2021-08-16 18:10:06 -04:00
Tyler Shipe 935cd46345 exclude perp liqs from trade history table 2021-08-14 19:24:55 -04:00
Tyler Shipe 99a6184cb1 add leverage 2021-08-14 17:14:43 -04: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
Tyler Shipe 654f9487c5 add trade history to account page 2021-08-13 16:02:12 -04:00
Tyler Shipe b2f6eece1c fetch perp trade history from db 2021-08-13 11:05:49 -04:00
Tyler Shipe 5154292e7d filter out fills if open orders account doesnt exist for mkt 2021-08-09 10:55:48 -04:00
Tyler Shipe 3dadee255a remove console logs, use latest client 2021-08-06 18:49:17 -04:00
Tyler Shipe f8ee52eb7f fix to show trade history even when spot open order acct doesnt exist 2021-08-06 18:35:10 -04:00
Tyler Shipe c5866ee610 make health ratio red if init health is at or below zero 2021-08-04 17:47:05 -04:00
Tyler Shipe 77716dc7ee fix account name 2021-08-04 14:51:17 -04:00
Tyler Shipe 52d98d28c2 flip side in trade history based on maker or taker 2021-08-04 13:15:28 -04:00
Tyler Shipe 85ed076fe0 sort trade history for perps 2021-08-04 12:46:14 -04:00
Tyler Shipe f6bafcc6f1 fix balances 2021-08-03 19:32:24 -04:00
Tyler Shipe 65eea96aa8 add fetchTradeHistory fn 2021-08-03 13:59:16 -04:00
Tyler Shipe 2e33486dbb use latest group 2021-07-28 19:03:21 -04:00
Tyler Shipe e20506bd66 fix top bar links 2021-07-27 11:41:33 -04:00
Tyler Shipe be031cc0fe consistency with user info tabs 2021-07-24 16:15:27 -04:00
Tyler Shipe d35304e84f hide perp positions table if none open 2021-07-24 14:29:24 -04:00
Tyler Shipe 267639dec5 update positions and history tables 2021-07-24 14:12:52 -04:00
Tyler Shipe f79bc1639f remove alerts from v3 2021-07-23 13:14:18 -04:00
Tyler Shipe 784c1c9d50 format stat numbers with commas 2021-07-21 17:47:10 -04:00