Commit Graph

521 Commits

Author SHA1 Message Date
saml33 68118a20b1 merge main 2023-01-30 11:53:05 +11:00
saml33 991d36aa62 fix trade history bug 2023-01-29 21:22:09 +11:00
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