Commit Graph

669 Commits

Author SHA1 Message Date
saml33 7523ae357d fix table header alignment 2023-01-29 21:12:58 +11:00
saml33 f6e8ed1557 merge main 2023-01-26 10:07:25 +11:00
tjs 9623341498 use connection from store for orderbook changes 2023-01-25 17:28:26 -05:00
saml33 6a9a40f95e remove trimdecimals 2023-01-25 14:11:42 +11:00
saml33 f8f022fe9a only use floortodecimal for unformatted values 2023-01-25 13:54:06 +11:00
saml33 ebf9bddfc9 remove formatfixeddecimals 2023-01-25 11:54:24 +11:00
tjs 139ba30675 dashboard tweaks 2023-01-24 13:08:35 -05:00
saml33 e218adef0d add to trade history 2023-01-24 15:44:50 +11:00
saml33 65cef0fb71 add to unsettled table 2023-01-24 14:58:14 +11:00
saml33 8cbfe1dc59 add to positions table 2023-01-24 14:55:47 +11:00
saml33 7f597681fd add to maxamountbuttons 2023-01-24 14:04:05 +11:00
tjs cea7ee54ed fix btc tv data url 2023-01-23 12:47:34 -05:00
saml33 0e98231224 remove leading zero from recent trades time 2023-01-23 23:01:48 +11:00
tjs bae363a6fa temporary charts for perps 2023-01-23 00:25:46 -05:00
saml33 454a1900d7 remove references to soETH 2023-01-23 13:20:44 +11:00
saml33 3e932635bf merge main 2023-01-23 13:08:08 +11:00
saml33 450100328d add success animation to market close 2023-01-23 13:03:09 +11:00
saml33 e08cea4a35 add positions to account page 2023-01-22 22:27:04 +11:00
saml33 3dbae5a1a9 fix bottom bar issue on trade page 2023-01-22 20:27:04 +11:00
tjs 63909e2bb7 improve use query config options 2023-01-20 11:13:03 -05:00
tjs 9c8ef98cfd remove console logs 2023-01-20 08:53:15 -05:00
tjs b974a84461 move trade history parsing out of JSX 2023-01-20 08:24:35 -05:00
saml33 0952fde644 merge main 2023-01-20 22:38:56 +11:00
saml33 b13cea05e6 use usdc unit for unsettled perp 2023-01-20 22:17:50 +11:00
saml33 d3cdd2c301 fix trade history date column alignment 2023-01-20 22:09:37 +11:00
saml33 1231a0be44 fix trade success animation for trade 2023-01-20 22:03:31 +11:00
saml33 dc584ed0fb fix perp max button 2023-01-20 15:45:44 +11:00
tjs 9f129d9dff remove mngo-perp 2023-01-19 23:17:43 -05:00
tjs dd07d08d1f add dollar sign and catch errors for coingecko 2023-01-19 23:15:11 -05:00
saml33 1fc9b0ce66 fix open orders inputs 2023-01-20 15:06:14 +11:00
tjs 3f431676ef fix trade history when swapping mango accounts 2023-01-19 22:44:53 -05:00
saml33 a95df1b248 align market close modal button to other modals 2023-01-20 14:43:44 +11:00
saml33 71b40fbaf5 fix table states for unowned account 2023-01-20 14:10:15 +11:00
tjs 9d495f2e46 add onclose to market close modal 2023-01-19 21:24:12 -05:00
tjs 458a70fc9d perp market close modal 2023-01-19 21:14:51 -05:00
saml33 211bd40de1 add connect wallet empty states 2023-01-20 12:45:08 +11:00
saml33 2e555ba5dc add size prop to icon buttons 2023-01-20 10:49:49 +11:00
saml33 91d916c858 use icon button for view counterparty 2023-01-20 10:44:58 +11:00
tjs f1db6f2de8 trade page breakpoint fixes 2023-01-19 16:25:19 -05:00
tjs a3f1edd457 fix min decimals in trade form 2023-01-19 16:01:46 -05:00
tjs 3bc8b87830 fix localstorage default key typo 2023-01-19 15:41:11 -05:00
tjs 009b0cb59e add view counterpart to trade history table 2023-01-19 14:36:44 -05:00
saml33 6ef115f791 merge main 2023-01-19 20:49:57 +11:00
tjs e7fa818e65 fix recent trades for perp markets 2023-01-19 00:18:06 -05:00
tjs a0c24f11c5 fix trade history 2023-01-18 23:35:57 -05:00
saml33 aafa6c8e0c merge main 2023-01-19 15:35:36 +11:00
saml33 270c74b9db toggle tradingview on mobile 2023-01-19 13:42:29 +11:00
tylersssss e9a284619b
Merge branch 'main' into pan/change-transaction-log-url 2023-01-18 19:11:02 -05:00
tylersssss ac2a50c1fc
Merge branch 'main' into pan/fix-trade-history 2023-01-18 19:07:59 -05:00
tylersssss 3c83103b30
Merge pull request #62 from blockworks-foundation/paginate-trade-history
paginate trade history
2023-01-18 18:58:35 -05:00
Riordan Panayides 79821f5216 Fix side badge for combinedTradeHistory trades 2023-01-18 18:42:54 +00:00
Riordan Panayides 4d5230cf05 Replace references to mango-transaction-log 2023-01-18 13:21:01 +00:00
saml33 9d8f804b75 fix token logo symbol matching 2023-01-18 22:18:57 +11:00
saml33 bf626cc8ef add recent trade volume alert 2023-01-18 16:06:00 +11:00
tjs e5dff1c8c3 use latest client; update perp positions table with new pnl calcs 2023-01-17 18:31:58 -05:00
tjs 71d0623002 remove mngo-perp from perp list on alpha 2023-01-16 23:49:00 -05:00
tjs 3a59e73416 only show reduce only for perps 2023-01-16 23:16:25 -05:00
tjs 41e8172581 add reduce only to perp trade form 2023-01-16 23:00:42 -05:00
tjs fd048ecfc6 fix perp position side badge 2023-01-16 22:50:31 -05:00
tjs 23fc84b202 fix reduce only bug; better acct loading; increase ob depth 2023-01-16 16:09:21 -05:00
saml33 8736d7991e add useMargin to max trade size button 2023-01-16 14:58:01 +11:00
saml33 fa52bffc66 fix percentage sign 2023-01-16 12:19:01 +11:00
saml33 bdd03b0e0c merge main 2023-01-15 20:58:07 +11:00
saml33 ea636b8df4 add missing icon 2023-01-15 20:53:34 +11:00
tjs 58a113b7cc handle use margin checkbox for serum trade form 2023-01-15 00:52:22 -05:00
tjs 38a3db06df refactor to use hook useSelectedMarket 2023-01-15 00:01:30 -05:00
saml33 cb96bb1823 allow tables to scroll horizontally 2023-01-13 12:46:36 +11:00
saml33 297f653e0f add trade history to account tabs 2023-01-13 12:34:21 +11:00
saml33 9d94828aac paginate trade history 2023-01-13 11:16:10 +11:00
tjs ad634a46fa prevent rerendering orderbook due to trade form changes 2023-01-12 16:02:23 -05:00
tylersssss c3f107820e
Merge branch 'main' into trade-success-animation 2023-01-11 13:11:03 -05:00
tylersssss 1b2a4f231e
Merge pull request #50 from blockworks-foundation/recent-trades-ratio
add buy/sell ratio to recent trades
2023-01-11 12:55:44 -05:00
saml33 66c635b00c update to use volume 2023-01-11 12:00:26 +11:00
tjs 3019a1d555 add perp trade history 2023-01-10 12:36:29 -05:00
saml33 93738b0dcc fix formatfixeddecimals rounding 2023-01-09 12:50:46 +11:00
tjs 59b724e431 add openbook history 2023-01-06 19:26:06 -05:00
tjs 89e9ac2d61 round decimals in unsettled table 2023-01-06 14:41:18 -05:00
saml33 02e3e6d132 fix country not allowed button 2023-01-06 21:55:51 +11:00
saml33 da78529b2e more rounding fixes 2023-01-06 21:32:54 +11:00
saml33 209de8a666 repay and withdraw formatting and sol balance warning spacing 2023-01-06 20:14:54 +11:00
saml33 085aceb3eb round max amount buttons 2023-01-06 15:10:25 +11:00
tjs 9865e85116 add mango account pk and address to hook 2023-01-05 23:01:03 -05:00
saml33 65e6afc363 show correct borrow fee unit and remove unnecessary class 2023-01-06 13:03:58 +11:00
tjs a76a3f93ba Merge branch 'main' into alpha 2023-01-05 14:32:15 -05:00
saml33 8ddb4e52c1 add buy/sell ratio to recent trades 2023-01-05 20:38:34 +11:00
saml33 9e45571b51 add swap to token list actions 2023-01-05 13:50:36 +11:00
saml33 dbe1e4c6f4 pass step to spot slider 2023-01-05 12:09:43 +11:00
saml33 3cfa294cde hide settle funds button for unowned account 2023-01-04 13:38:17 +11:00
saml33 d4fb1f24a6 load unowned open orders 2023-01-04 13:32:42 +11:00
saml33 c08acf292c check for mangoaccount instead of connected 2023-01-04 13:06:00 +11:00
tjs 7a324c68cd Merge branch 'main' into alpha 2023-01-03 20:58:53 -05:00
tylersssss 9e4877792d
Merge pull request #49 from blockworks-foundation/connect-buttons
add active connect buttons
2023-01-03 18:25:55 -05:00
tjs a045b90c70 fix notional label 2023-01-03 17:27:49 -05:00
saml33 b2257d2ca1 add active connect buttons 2023-01-03 22:06:37 +11:00
saml33 e419752d49 improve account page balance table sort 2023-01-03 20:20:34 +11:00
saml33 52744145b4 fix recent trades sounds 2023-01-03 14:14:23 +11:00
saml33 63ae4a09cf use select for notification position settings 2023-01-03 12:35:54 +11:00
saml33 f3bc81f95b new user setup image 2023-01-03 11:30:19 +11:00
tjs 9345224054 move tooltip placement 2023-01-02 17:48:05 -05:00
tjs 8c40443579 add reset button to orderbook 2023-01-02 17:41:16 -05:00
Adrian Brzeziński d29c641058
Merge pull request #48 from blockworks-foundation/feature/datafeed-v2
Feature/datafeed v2
2023-01-02 21:36:23 +01:00
tjs 09c4d817e7 improve slippage calc for spot trades 2023-01-02 14:51:09 -05:00
Adrian Brzeziński ef78b8eb3b common data feed for bars 2023-01-02 20:50:03 +01:00
saml33 3c91bbf1ef add swap success animation to trade 2023-01-02 23:19:30 +11:00
tjs 740adad921 disable trade form button if size field is empty 2022-12-30 14:50:59 -05:00
tjs 822554f287 show empty state for order value 2022-12-30 13:26:45 -05:00
Adrian Brzeziński 2b6ee4e70c fix kline defaults 2022-12-29 19:43:14 +01:00
tylersssss 49bf8a7a76
Merge pull request #43 from blockworks-foundation/trade-form-ux
trade form ux improvements
2022-12-29 00:49:16 -05:00
tjs 3664a30462 handle trading view errors when changing markets 2022-12-27 19:24:55 -05:00
tjs ab1ba7ca05 fix perp positions count 2022-12-27 18:34:40 -05:00
tjs d603d6e973 show the count next to perp positions; use latest client 2022-12-27 18:15:57 -05:00
saml33 ea2ef43b41 move leverage calculation to components 2022-12-26 22:58:17 +11:00
saml33 743a96f88c Merge branch 'main' into trade-chart-styling 2022-12-26 21:13:46 +11:00
saml33 359ddc19b4 style kline chart 2022-12-26 21:13:07 +11:00
tjs 1f1d3a0e20 Merge branch 'alpha' into main 2022-12-24 11:39:11 -05:00
tjs 5d53090a1c fix stats page issues 2022-12-24 11:38:25 -05:00
saml33 916089f0fa trade chart selection settings 2022-12-22 21:04:38 +11:00
saml33 201a8ad62a trade form ux improvements 2022-12-22 15:19:00 +11:00
Adrian Brzeziński 2ef6070991 do not use translated values in settings fix 2022-12-21 23:33:26 +01:00
Adrian Brzeziński 28101143be default trading view 2022-12-21 18:48:39 +01:00
Adrian Brzeziński ca1bbefafc fix 2022-12-21 18:31:25 +01:00
Adrian Brzeziński b63ed6ba4c Merge branch 'main' into feature/kline-charts-spot 2022-12-21 17:55:02 +01:00
Adrian Brzeziński e98c67b769 api migrate 2022-12-21 12:21:04 +01:00
saml33 6882a520ac trade history mobile 2022-12-21 15:48:41 +11:00
saml33 b2bb1b685b horizontal scroll trade tabs on overflow 2022-12-21 15:04:08 +11:00
saml33 3cc5b759d3 add edit order form to mobile 2022-12-21 14:36:40 +11:00
saml33 da1ea7c5ce give open orders more horizontal space on mobile 2022-12-21 14:11:38 +11:00
saml33 18cd8d7bc1 fix edit order button on mobile 2022-12-21 13:56:16 +11:00
Adrian Brzeziński b60c61f181 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 21:31:57 +01:00
tjs c6a8806c26 hide perps correctly 2022-12-20 13:05:53 -05:00
tjs 4780469cd4 use env vars to hide perps 2022-12-20 09:48:45 -05:00
saml33 0e64de2993 hide onboarding tours 2022-12-20 20:13:24 +11:00
tjs 71b962826e more horizontal overflow fixes 2022-12-20 00:58:55 -05:00
tjs 9efd48f12f try to make this clearer 2022-12-20 00:27:05 -05:00
tjs 216164b47c remove scrollbar on trade page 2022-12-20 00:20:06 -05:00
tjs dec8009263 only show spot markets 2022-12-19 20:12:01 -05:00
tjs 2f8bff16ef Merge branch 'birdeye' into main 2022-12-19 19:57:40 -05:00
saml33 2d75701050 align trade history table styles 2022-12-20 11:42:13 +11:00
tjs d3a152ca04 Merge branch 'main' into birdeye 2022-12-19 19:39:29 -05:00
Adrian Brzeziński 8bc70fe532 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 01:38:52 +01:00
saml33 7088172fd2 use inline notification for trade history message 2022-12-20 11:34:19 +11:00
tjs e5611ecb2a possible fix for trade page bug 2022-12-19 18:30:26 -05:00
tjs f3080cb27f add geo check to trade forms 2022-12-19 16:58:29 -05:00
Christian Kamm 996748eb94 Fix health impact for spot bids 2022-12-19 22:49:02 +01:00
tjs 408f738720 tab empty state text 2022-12-19 15:15:49 -05:00
tjs e9b9342325 add time and maker side to perp trade history 2022-12-19 12:41:11 -05:00
tjs 7f43fa648a fix perp fee cost in trade history 2022-12-19 12:28:24 -05:00
tjs c87559dc6a show trade history from event queue 2022-12-19 12:12:03 -05:00
tjs 2dbc11f736 fix sim health ratio 2022-12-19 10:53:49 -05:00
saml33 12126027f7 only show unsettled token with balance 2022-12-19 15:28:06 +11:00
tjs d01c02108e fix open order edit size rounding 2022-12-18 16:05:00 -05:00
tjs e7b07c0c86 add recent trade time 2022-12-18 16:04:50 -05:00
tjs 1cfa4af47a fix whitespace wrap 2022-12-18 15:37:04 -05:00
tjs 7c58c11bea use font mono for edit open order inputs 2022-12-17 15:11:15 -05:00
tjs 3538d22b87 upgrade to latest client 2022-12-16 12:30:46 -05:00
Adrian Brzeziński d0d32c097f fix break out of markePk serum3 order loop 2022-12-16 12:31:14 +01:00
tjs c52ac64725 fix modify open order 2022-12-16 01:19:54 -05:00
tjs 7b82a934e1 use openbook market 2022-12-16 01:13:00 -05:00
saml33 3f203ef14d round initial limit price to ticksize 2022-12-16 16:12:10 +11:00
saml33 711c9420ed fix logo sizes 2022-12-16 15:45:01 +11:00
saml33 4fd02a4014 finish delegate modal 2022-12-16 14:16:05 +11:00
tjs f14ec6f641 birdeye-trading-view 2022-12-15 18:33:31 -05:00
Adrian Brzeziński 4d71a9d5c5 merge 2022-12-15 11:35:14 +01:00
Adrian Brzeziński 0f10b85ac0 modify orders 2022-12-15 11:27:08 +01:00
Adrian Brzeziński c2ababe263 fix 2022-12-15 02:57:48 +01:00
Adrian Brzeziński 0ebad8d9a3 Merge branch 'main' into edit-orders 2022-12-15 02:08:17 +01:00
Adrian Brzeziński 279e521918 fix openOrders reload 2022-12-15 02:07:48 +01:00
tjs 1f7c6667f7 update fn name to better describe functionality and return value 2022-12-14 16:24:08 -05:00
tjs 49001d5ae8 handle updating price for tradeForm when on limit vs market order 2022-12-14 15:54:30 -05:00
Adrian Brzeziński 5027c2f77e Merge branch 'main' into edit-orders 2022-12-14 21:41:28 +01:00
tjs 822daf2f9f check that form values are numbers 2022-12-14 13:48:13 -05:00
tjs 749992573c fix unsettled trades table 2022-12-14 11:54:42 -05:00
Adrian Brzeziński e12707acc6 Merge commit '4875c77c530978a69defb89ace7e3446971e8641' into edit-orders 2022-12-14 17:48:44 +01:00
tjs 4875c77c53 ooops 2022-12-14 11:42:07 -05:00
tjs 0df4b365eb fix perp form error when projecting health 2022-12-14 11:40:43 -05:00
Adrian Brzeziński 7eb0e777eb Merge branch 'main' into edit-orders 2022-12-14 17:02:18 +01:00
Adrian Brzeziński e82b4af188 modify perp wip 2022-12-14 17:01:45 +01:00
Adrian Brzeziński 82379e8165 modify perp wip 2022-12-14 15:20:51 +01:00
saml33 01f1d6d95a update quote size on orderbook click and market order 2022-12-14 14:53:06 +11:00
saml33 0013266d3a fix spacing 2022-12-14 13:23:01 +11:00
saml33 55a8604717 edit open orders ui 2022-12-13 16:00:31 +11:00
saml33 e6acc3f37f add circle to sol logo 2022-12-12 21:56:06 +11:00
tjs 9e22329cf8 wip: debug errors 2022-12-12 02:20:28 -05:00
tjs f4db12fe38 fix orderbook unsubscribe 2022-12-12 01:36:30 -05:00
tjs 06ccb7c3c2 only show in unsettled if perp position has pnl 2022-12-12 01:01:49 -05:00
tjs b3a494fae1 don't show base on unsettled table 2022-12-12 00:37:49 -05:00
saml33 07e8b1a62a round oracle price to tick size 2022-12-12 15:38:52 +11:00
saml33 56dcf99769 link to market page from trade tables 2022-12-12 13:43:16 +11:00
saml33 712f42e6ec use disclosures on dashboard 2022-12-12 12:11:31 +11:00
tjs 70a83a3f27 fix trade form logos 2022-12-09 19:33:27 -05:00
tjs e0af9766c5 fix LogoWithFallback 2022-12-09 18:08:15 -05:00
tjs a9716a2181 add LogoWithFallback 2022-12-09 17:58:49 -05:00
tjs 6ad10826ca fix perp funding rate 2022-12-09 16:37:44 -05:00
tjs 52bec54dad fix orderbook click 2022-12-08 18:56:42 -05:00
tjs b03b6fb9a8 update to latest group 2022-12-08 14:58:54 -05:00
Adrian Brzeziński 68d3c961b6 merge 2022-12-08 15:12:18 +01:00
Adrian Brzeziński 2dfeca2863 add ema 2022-12-08 15:11:09 +01:00
saml33 f4871fe8d2 tweak trade form spacing 2022-12-08 22:55:31 +11:00
tjs 20af1810b0 wip: perp position settle funds 2022-12-08 01:47:32 -05:00
tjs 3dd54d26fe better handle bad perp funding rate data 2022-12-08 01:47:32 -05:00
saml33 3e159261e6 move howl outside components 2022-12-08 16:05:36 +11:00
tjs b53c4830f9 use new funding rate api endpoint
fix balance underline; simplify health impact by removing confusing parenthesis
2022-12-07 22:24:18 -05:00
saml33 738420799c remove token image rounding 2022-12-08 14:17:24 +11:00
saml33 300f481ecf add input theme colors 2022-12-08 13:34:24 +11:00
tjs 41223e846c allow setting the amount out in jupiter swap 2022-12-07 16:33:38 -05:00
saml33 c5c88ce3c2 trade header info on mobile 2022-12-07 16:25:37 +11:00
saml33 97a27ade59 add stats perp market table 2022-12-07 13:47:03 +11:00
Adrian Brzeziński c9c30c2d9d merge 2022-12-06 23:02:35 +01:00
Adrian Brzeziński 61c20de757 add clsx 2022-12-06 22:58:49 +01:00
Adrian Brzeziński 04ea8408e3 chart settings 2022-12-06 18:35:15 +01:00
Adrian Brzeziński 29cd515d62 full screen 2022-12-06 17:41:57 +01:00
saml33 7b58e9ce6d add token stats charts 2022-12-06 22:58:22 +11:00
tjs 7205f0379b show perp funding rate 2022-12-05 21:54:15 -05:00
tjs b62f102e3f tidyup 2022-12-05 21:54:15 -05:00
tjs 9a18380c74 fix lodash imports 2022-12-05 21:54:15 -05:00
Adrian Brzeziński 77954799ec kline chart wip 2022-12-06 00:54:47 +01:00
Adrian Brzeziński 2ec44f1742 technical indc 2022-12-05 18:19:59 +01:00
Adrian Brzeziński 72844038db merge 2022-12-05 13:11:53 +01:00
saml33 8dd1363212 olive and high contrast theme 2022-12-05 21:59:56 +11:00
saml33 188589c50c lychee theme 2022-12-05 10:06:06 +11:00
saml33 1768483ca1 use theme css vars instead of hardcoded rgba 2022-12-04 20:21:32 +11:00
tjs 6b55d1346a show perp unsettled pnl and updated group on an interval 2022-12-03 16:19:12 -05:00
tjs 1674f9a237 fix types and add check that input size is a number 2022-12-02 18:58:10 -05:00
tjs 616e6160da fix orderbook 2022-12-02 18:57:36 -05:00
Adrian Brzeziński 540bb5b7d6 cleanup 2022-12-02 15:09:46 +01:00
Adrian Brzeziński 96a37771f3 colors 2022-12-02 13:36:10 +01:00
saml33 4660d04041 add order value to trade form 2022-12-02 13:16:59 +11:00
Adrian Brzeziński 1af2ec414c merge 2022-12-02 01:00:05 +01:00
saml33 3c53b876f0 add slippage component 2022-12-02 10:38:41 +11:00
saml33 a9526cff9e merge main 2022-12-02 10:14:10 +11:00
Adrian Brzeziński 37ba0a5ec9 kline charts wip 2022-12-01 17:06:19 +01:00
Adrian Brzeziński cc67329be9 Merge branch 'main' into feature/kline-charts-spot 2022-12-01 12:47:35 +01:00
saml33 4af775a1c3 use new theme vars 2022-12-01 14:46:37 +11:00
saml33 209490752c better var names and hsl colors 2022-12-01 14:32:32 +11:00
tjs 0757af2213 perp funding rate 2022-11-30 10:51:38 -05:00
saml33 02495833e5 filter by spot market base 2022-11-30 16:30:18 +11:00
saml33 443858dc36 add market favorites 2022-11-30 15:01:55 +11:00
Adrian Brzeziński d03ee455ba fix 2022-11-29 18:15:47 +01:00
Adrian Brzeziński 0d7c899730 kline wip 2022-11-29 18:09:32 +01:00
saml33 b4b2198af6 full width account tabs on mobile 2022-11-29 21:58:50 +11:00
saml33 95a833fa02 fix recent trade sounds 2022-11-29 13:02:19 +11:00
saml33 211a2104fd recent trades sounds 2022-11-28 10:13:13 +11:00
saml33 f9f86b529d add slippage to trade form 2022-11-25 21:10:23 +11:00
saml33 75f2fd720b componentize settings page 2022-11-25 13:39:14 +11:00
saml33 e2832f0eea add sounds to recent trades 2022-11-25 12:57:19 +11:00
saml33 39485015c2 connect empty state icons 2022-11-25 10:56:31 +11:00
saml33 72e6a030b4 positions table connect empty state 2022-11-25 10:30:28 +11:00
saml33 f52cb54008 sound support and settings 2022-11-23 16:38:31 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
saml33 8c20df5556 round perp position size click 2022-11-23 13:21:31 +11:00
saml33 c1cc7e1cf7 round pre-filled limit price to tick size 2022-11-23 11:57:54 +11:00
saml33 201c9a823a add token logo to limit price input 2022-11-23 10:49:42 +11:00
saml33 326e1f09dd remove commented code 2022-11-23 10:46:56 +11:00
saml33 890c9f23aa open orders mobile 2022-11-23 10:43:25 +11:00
saml33 8b9519ea6c perp position size rounding 2022-11-22 20:30:37 +11:00
tjs 0808c900bc enable linking to market pages 2022-11-21 22:57:00 -05:00
tjs 529709f30e slightly better error messages 2022-11-21 17:06:40 -05:00
saml33 378c86ef8b open orders mobile styling 2022-11-21 21:37:31 +11:00
saml33 6f95fc8784 round open orders price to tick size 2022-11-21 20:42:18 +11:00
tjs 40aa88590b split market name in recent trades 2022-11-20 23:56:20 -05:00
tjs ef144b672f fixup recent trades decimals 2022-11-20 23:52:08 -05:00
tjs 777d44860a use event queue for recent trades until api is ready 2022-11-20 23:16:11 -05:00
tjs dbcaeee439 fix entry price formatting 2022-11-20 22:11:29 -05:00
tjs eb3d915916 wip: add unsettled perp 2022-11-20 21:29:54 -05:00
tjs 372fe381d1 fix trade form; more eslint refactor 2022-11-20 18:35:59 -05:00
tjs cb0b90dfb5 refactor to use mango group hook 2022-11-20 15:32:38 -05:00
tjs 2608a661e5 refactor to use selected market hook 2022-11-20 15:20:27 -05:00
saml33 04b14640a1 use table for recent trades 2022-11-20 22:06:54 +11:00
saml33 7f57e59f44 use table components 2022-11-20 21:44:14 +11:00
tjs 6b4c1d9f7e improve advanced trade sliders 2022-11-19 20:40:06 -05:00
tjs de2fa43bae fix perp market logo 2022-11-19 15:10:32 -05:00
tjs 561eba493b fix all eslint errors 2022-11-19 14:20:36 -05:00
tjs 203c571bc5 use jupiter api and hooks 2022-11-18 18:19:04 -05:00
tjs 5727d0bc7f add a useMangoAccount hook 2022-11-18 12:09:39 -05:00
tjs 185ab4748b revert to coingecko for swap and prices.
we'll use birdeye only for candles
2022-11-18 11:29:37 -05:00
saml33 777e020648 add low sol balance warnings 2022-11-18 15:43:23 +11:00
tjs 27f821c51c simplify balance click feature 2022-11-17 17:47:22 -05:00
tjs 1d95b280e2 update balances table name to be clearer 2022-11-17 17:16:45 -05:00
tjs 7b48469827 patch merge issues 2022-11-17 17:08:45 -05:00
tylersssss afec272331
Merge pull request #31 from blockworks-foundation/perp-position-click
populate trade form from positions table
2022-11-17 16:53:36 -05:00
tylersssss 6c95cf19fb
Merge pull request #29 from blockworks-foundation/trade-balance-click
populate trade form from balances table
2022-11-17 16:51:08 -05:00
saml33 177b5f0429 use oracle price for rolling change 2022-11-17 23:53:42 +11:00
saml33 8bd4d2e976 fix market price 2022-11-17 20:17:58 +11:00
saml33 605f712d44 populate trade form from positions table 2022-11-17 16:17:18 +11:00
saml33 332dacbad3 populate trade form from balances table 2022-11-16 16:09:55 +11:00
tjs 07847b971b support versioned txs 2022-11-15 23:12:57 -05:00
saml33 4a368e2514 add buttongroup to trade form 2022-11-16 12:32:55 +11:00
tylersssss f78ebae5c8
Merge branch 'main' into use-birdeye-api 2022-11-14 19:59:21 -05:00
saml33 7041b3b4d1 fix trade page responsive 2022-11-14 21:18:38 +11:00
saml33 fca7d81dda merge main 2022-11-14 09:57:19 +11:00
saml33 8a6706e142 merge main 2022-11-11 22:39:14 +11:00
saml33 782168283d more background 2022-11-11 22:24:24 +11:00
saml33 430cd939c4 fix spot market change 2022-11-10 12:48:03 +11:00
saml33 28c0fed1c7 use birdeye for serum market price history 2022-11-05 18:13:24 +00:00
saml33 c1254c9186 add health impact to trade form 2022-11-04 18:55:21 +00:00
saml33 68226acaa0 balances empty state 2022-11-04 13:14:50 +00:00
Adrian Brzeziński 9ab04649c2 fix bad input display value display in trade form 2022-11-02 17:09:22 +00:00
Adrian Brzeziński 89095abbd9 fix cancel perp 2022-11-02 16:31:24 +00:00
tjs 9e885f10bb show users order in orderbook 2022-11-01 18:13:02 +00:00
tjs 653ba6d270 perp cancel order 2022-11-01 17:46:16 +00:00