Commit Graph

77 Commits

Author SHA1 Message Date
Tyler Shipe e080ff8120 fix clickable size in orderbook 2021-09-10 13:28:18 -04:00
Tyler Shipe 5bcec8dd69 change interval to refresh trade history 2021-09-08 14:08:54 -04:00
Tyler Shipe b03db3b771 remove send transaction notification 2021-09-07 15:27:54 -04:00
Tyler Shipe e5b67857af retry transaction more frequently; use tx callback for notifications 2021-09-04 17:59:53 -04:00
Tyler Shipe e306915a45 Increase frequency of background mangoAccount updates 2021-09-04 12:40:43 -04:00
Tyler Shipe 73fa197d5d remove unnecessary emotion styling; use asyncawait for sleeps 2021-09-03 15:02:51 -04:00
Tyler Shipe 4f20fc6542 use client reloadMangoAccount 2021-08-31 13:47:03 -04:00
Tyler Shipe 44ed905eb6 Fix trade form quote rounding 2021-08-31 10:55:49 -04:00
Tyler Shipe 18d0a08d6c disable trade button if no mango account 2021-08-25 17:57:01 -04:00
Tyler Shipe 052567de21 disable trade button if mangoAccount doesn't exist 2021-08-25 17:48:35 -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 b3cc717c86 use context slot to sync orderbook updates 2021-08-23 13:12:48 -04:00
Maximilian Schneider e68d128d8f add available margin & leverage slider 2021-08-20 15:34:04 +02:00
Tyler Shipe 8103a3cc85 disable leverage slider 2021-08-19 17:46:31 -04:00
Tyler Shipe 1c64a8a252 show position closing in leverage slider 2021-08-18 20:33:45 -04:00
Tyler Shipe 0af7a8b8ee more trade form improvements 2021-08-18 16:15:17 -04:00
Tyler Shipe 86ea7afcff add leverage slider 2021-08-18 14:23:12 -04:00
Tyler Shipe 2105827769 reduce sleep after placing a trade 2021-08-18 11:01:42 -04:00
Tyler Shipe a7fc2c6c4d refactor 2021-08-17 16:50:16 -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 7d02331953 fetch mango account state if place trade fails 2021-08-17 14:05:25 -04:00
Tyler Shipe 17d73fc3cf more frequent mango acct updates 2021-08-16 18:10:06 -04:00
saml33 e810c5c215 improve theme and misc styling 2021-07-29 23:19:32 +10:00
Tyler Shipe 8207659bb1 cleanup 2021-07-23 13:07:31 -04:00
saml33 d0797bf194 connect wallet empty states 2021-07-22 21:34:03 +10:00
Tyler Shipe 6606dc1bff update tradeForm 2021-07-07 13:27:11 -04:00
Tyler Shipe 1bb61ad905 use latest PerpMarket field names 2021-07-07 11:46:25 -04:00
Tyler Shipe a0ba6f44e8 update notifications, wire up account change modal 2021-07-06 18:04:20 -04:00
Tyler Shipe 619295d2e0 parsed trade history for perps 2021-06-24 16:57:11 -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
Maximilian Schneider 107c2e8ed3 add cancel perp order call and remove unused imports 2021-06-19 00:26:47 -04:00
Maximilian Schneider ccad1015f3 base & quote symbol 2021-06-18 18:53:24 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Maximilian Schneider 4d7b02e6a0 place perp order works now 2021-06-18 14:07:07 -04:00
dd 62bc1b536f Fixed minOrderSize and tickSize in TradeForm 2021-06-18 13:50:25 -04:00
Tyler Shipe 3df663614a use imported mangoClient in trade form; display userInfo component 2021-06-18 11:17:49 -04:00
Maximilian Schneider c610da11aa reenable trade form 2021-06-17 20:32:45 -04:00
Maximilian Schneider 12b69398d2 make bids & asks invariant between perp & spot, also reenable trade form 2021-06-17 18:37:03 -04:00
Tyler Shipe 4476a2254e rebate gui hoster fees to users 2021-06-12 13:46:06 -04:00
ImpossiblePairs 2f066cb92c
Updated TradeForm.tsx UI Bugs
Added handling of USDT orders below minimum size (e.g. $1), removed ability to execute trades at half minimum order size due to rounding, and allowing user input leading with numerical input that is not strictly a number (e.g. decimal point).
2021-06-09 15:30:53 -07:00
Tyler Shipe eac4adc18f add main action buttons below balances 2021-06-05 12:14:34 -04:00
Ralfs 64d35f9a0a fix wront quoteAmount in tradeForm 2021-05-22 01:26:31 +03:00
Ralfs d239416364 more cleanup and add txid link when transaction error 2021-05-22 01:00:39 +03:00
Tyler Shipe 3ff07f452e combine market state keys 2021-04-29 10:38:28 -04:00
saml33 dbf6e7087f layout toggle for orderbook 2021-04-26 22:53:27 +10:00
saml33 e1dd3980b8 hide settle button and small styling updates 2021-04-21 22:45:03 +10:00
saml33 4285339e5a responsive tables and start on stats page 2021-04-21 00:19:08 +10:00
Tyler Shipe 9bd0736053 fix trade form typo from styling merge 2021-04-19 12:54:04 -04:00