Commit Graph

915 Commits

Author SHA1 Message Date
saml33 82946353d3 refactor isMobile 2023-09-01 13:22:50 +10:00
tjs d5d6c99743 move width and height into mangostore 2023-08-31 22:24:36 -04:00
saml33 8819f1af3f
Merge pull request #251 from blockworks-foundation/hotkeys-hook
use react-hotkeys-hook
2023-09-01 08:24:30 +10:00
saml33 acfcfcce79 use react-hotkeys-hook 2023-09-01 08:19:37 +10:00
saml33 2e73510e26 fix trade tabs width on mobile 2023-08-31 23:26:33 +10:00
saml33 3432eee6ee fix cancel open order bug 2023-08-31 21:41:31 +10:00
saml33 de4568c48e move manual refresh on trade page 2023-08-31 15:34:22 +10:00
saml33 22c4e3f764
Merge pull request #249 from blockworks-foundation/borrow-limit-warning
borrow limit per period warning
2023-08-31 08:21:18 +10:00
saml33 6ed5237ffa update trade executions tooltip 2023-08-30 12:54:40 +10:00
saml33 9c3888abef fix orderbook spread alignment 2023-08-30 11:05:31 +10:00
saml33 d239e23eda
Merge pull request #231 from blockworks-foundation/lou/open-orders-filled
Add Filled Size to the open orders table
2023-08-29 13:08:53 +10:00
saml33 cf1580e3be add roe to main perp positions table 2023-08-29 12:27:35 +10:00
saml33 40f1c8657b update funding rate tooltip 2023-08-29 11:02:13 +10:00
saml33 613dbff797 fix trade page height 2023-08-29 10:47:22 +10:00
saml33 672c5838cc
Merge pull request #248 from blockworks-foundation/close-all-perp
add close all perp positions
2023-08-28 23:33:36 +10:00
saml33 2aaffdd8b1 add to trade form 2023-08-28 21:59:36 +10:00
Lou-Kamades 19b57bca70
add filled size to the open orders table 2023-08-28 11:17:42 +02:00
saml33 9f46b599b8 only show insufficient liquidity warning after bids/asks are loaded (market close perp position) 2023-08-28 14:05:42 +10:00
saml33 cfe4b8f0dc add close all perp positions 2023-08-28 13:47:50 +10:00
tjs 21a4c11673 fetch tx when clicking swap 2023-08-25 13:52:00 -04:00
tjs 8fee400e4f trade page slippage will use swap settings; use shared comp for max swap 2023-08-25 12:46:45 -04:00
tjs e234787f14 only show route in summary when on spot 2023-08-19 10:51:03 +02:00
tjs b7ea65a98a remove console logs 2023-08-17 21:17:26 -04:00
tjs 10cf640f11 update prettier pkgs, config, and reformat 2023-08-17 19:47:11 -04:00
saml33 9560db9ace merge main and add connect button to market swap form 2023-08-18 08:25:46 +10:00
tjs 6334b2d020 remove lines 2023-08-17 17:24:10 -04:00
tjs bba5967b0a set bg color in trading view widget 2023-08-17 16:36:25 -04:00
tjs 06448a7e62 remove all favorites button 2023-08-17 15:33:15 -04:00
saml33 c079d170c8 fix mobile trade layout 2023-08-17 20:56:38 +10:00
tjs 4926560550 add try catch around the liq price 2023-08-16 11:11:02 -04:00
saml33 2761dd3b26 Revert "hide est liq price due to client error"
This reverts commit ea0b3129f7.
2023-08-16 11:06:06 -04:00
saml33 ea0b3129f7 hide est liq price due to client error 2023-08-16 12:11:58 +10:00
saml33 34312e2c59 add to swap and trade 2023-08-15 22:39:42 +10:00
tjs 60810ca2e4 improve speed of market swap 2023-08-14 00:26:39 -04:00
tjs 62a3f337e1 use latest client; upgrade to new signature status 2023-08-12 14:40:34 -04:00
tjs 2ff18afbf7 use latest packages 2023-08-11 02:30:44 -04:00
saml33 314893d972 add value colors to pnl tooltip 2023-08-10 14:45:30 +10:00
saml33 c96c7dd5ed
Merge pull request #223 from blockworks-foundation/lou/perp-positions-nav
Add unrealized pnl footer to perp positions
2023-08-10 14:23:19 +10:00
saml33 1b2a9e1660
Merge pull request #229 from blockworks-foundation/pepe-theme
pepe theme
2023-08-10 14:00:05 +10:00
saml33 cc3046dbac add the remaining theme elements 2023-08-10 13:31:47 +10:00
Lou-Kamades ac9ff9f08f
move ROE into PnL tooltip 2023-08-09 22:29:17 -05:00
tlrsssss 3cde93bf7f
Merge pull request #226 from blockworks-foundation/bottom-status-bar
add bottom status bar
2023-08-09 21:44:00 -04:00
Lou-Kamades a67af5bf32
add ROE and styling to PerpPositions footer 2023-08-09 13:49:32 -05:00
saml33 6256dc0630 fix trade info tabs container height md breakpoint 2023-08-09 15:57:26 +10:00
saml33 1d73cc2bff fix bottom page padding 2023-08-09 15:38:56 +10:00
saml33 52ecec2222 more pepe 2023-08-08 19:51:50 +10:00
tlrsssss e89cd94d0d
Merge pull request #227 from blockworks-foundation/ts/orderbook
scrollable orderbook
2023-08-07 10:59:48 -04:00
tjs f8d0b3e98e use offsetHeight 2023-08-07 10:41:14 -04:00
tjs 32c4734f21 add scrollable orderbook 2023-08-07 10:04:20 -04:00
saml33 f0923c9b3b fix trade history price rounding 2023-08-07 21:23:36 +10:00
tjs d3f5cd9045 update WS for trading view charts 2023-08-06 22:16:51 -04:00
tjs 94f823c91f Upgrade chart api endpoint 2023-08-06 21:54:41 -04:00
saml33 d7657cbb5d merge main 2023-08-05 20:48:58 +10:00
Lou-Kamades 95bc34eb72
add unrealized pnl to perp positions 2023-08-04 02:20:58 -05:00
saml33 d0505269b0 add search to spot market select dropdown 2023-08-01 14:49:11 +10:00
saml33 9f57fb0d97 fix orderbook tooltip side 2023-07-31 09:30:37 +10:00
saml33 f5b6544093 sort trade history 2023-07-28 15:04:38 +10:00
saml33 ed1f680409 merge main 2023-07-26 09:27:17 +10:00
saml33 256714b6b4
Merge pull request #219 from blockworks-foundation/orderbook-row-tooltip
add info on orderbook row hover
2023-07-26 09:08:39 +10:00
saml33 5b153c453b
Merge pull request #217 from blockworks-foundation/market-swap-trade-form
add missing elements to market swap trade form
2023-07-26 09:07:23 +10:00
saml33 02857d0f2d add higher groupings to orderbook 2023-07-25 21:51:04 +10:00
saml33 c0683d9ea3 fix width 2023-07-25 20:51:46 +10:00
saml33 fe97719530 add info on orderbook row hover 2023-07-25 20:43:19 +10:00
saml33 20b9c1ba9e add loader 2023-07-25 13:15:00 +10:00
saml33 d5bf0268b4 add margin to slider 2023-07-25 13:08:43 +10:00
saml33 7587eb2e00 disable button when too much size 2023-07-25 12:56:28 +10:00
saml33 a151aa5190 add missing parts to market swap trade form 2023-07-25 12:35:27 +10:00
saml33 01f03022bf give depth chart its own tab 2023-07-25 08:52:09 +10:00
saml33 3c492c893e sort markets by volume 2023-07-24 22:14:45 +10:00
saml33 84ecc51d87 merge main 2023-07-24 08:15:46 +10:00
saml33 8cf2da402c merge main 2023-07-23 21:06:29 +10:00
tjs abc5984647 use latest next-themes 2023-07-21 14:50:06 -04:00
tjs 3d8588d434 use latest prettier 2023-07-21 14:47:53 -04:00
saml33 1c5060d007 add 0 values when no change 2023-07-21 22:20:12 +10:00
saml33 eb8b06afcc use markets api data 2023-07-21 22:03:44 +10:00
saml33 226d610bbf
Merge pull request #193 from blockworks-foundation/depth-chart
orderbook depth chart
2023-07-21 20:01:41 +10:00
saml33 f0bf8f2aa1 fixes and show on mobile 2023-07-21 10:09:34 +10:00
tjs 4bb2c0016e migrate to wallet-adapter only; use autoconnect 2023-07-20 19:08:04 -04:00
saml33 6954082b0b remaining fixes 2023-07-20 20:40:27 +10:00
saml33 35b5ba1f71 partially fix layout 2023-07-20 15:30:35 +10:00
saml33 8169aeef95 merge main 2023-07-20 13:52:07 +10:00
saml33 960e90393b merge main 2023-07-19 13:53:28 +10:00
tjs 848286d947 add trade page swap summary details 2023-07-18 14:55:13 -04:00
tjs e5945b60e2 Merge branch 'main' into ts/trade-pg-jup 2023-07-18 13:23:07 -04:00
tjs 31e1e3f597 useMemo in market close modal 2023-07-18 13:01:14 -04:00
saml33 e8cdbd0437 checkout orderbook liquidity before market close 2023-07-18 22:13:08 +10:00
saml33 d8be43ee7a merge main 2023-07-18 11:24:13 +10:00
saml33 a1fbe18bf1 remove orderbook subscription hook and other fixes 2023-07-18 11:18:01 +10:00
microwavedcola1 eecfd8c5e2 make consistent with other sim health ration function usages
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-17 15:25:46 +02:00
tjs e478d6405a use jupiter on trade page 2023-07-16 23:41:13 -04:00
saml33 2c3f6208fe
Merge pull request #202 from blockworks-foundation/fix-24h-change
fix 24h spot change
2023-07-17 08:28:58 +10:00
tjs c5080c6132 dont recreate TV chart on every mkt change 2023-07-14 10:58:53 -04:00
saml33 2b8043baca fix 24h spot change 2023-07-14 15:47:05 +10:00
saml33 c2aa4676b0 more labels 2023-07-14 08:53:50 +10:00
saml33 6796e04f3a adjust layouts 2023-07-13 20:37:41 +10:00
saml33 987f4f6fa1 reference labels 2023-07-13 13:59:03 +10:00
saml33 955b4f2488 reference lines 2023-07-13 10:32:22 +10:00
tlrsssss 2fe9ab4830
Merge pull request #200 from blockworks-foundation/ts/glitch-tip
Add glitch tip
2023-07-12 15:35:47 -04:00
Riordan Panayides 4df85997a1 Disable orderbook feed 2023-07-12 19:01:29 +01:00
tjs eca8ae6638 capture trade page exceptions 2023-07-12 12:32:12 -04:00
saml33 3abd612b47 zoom, reference lines, layout 2023-07-13 00:37:18 +10:00
saml33 b053906c64 add notional value to mobile open orders 2023-07-09 20:41:20 +10:00
saml33 da346e2271 add notional value to perp unexpanded mobile view 2023-07-09 20:06:17 +10:00
saml33 f6b3d2c5e7
Merge pull request #182 from blockworks-foundation/trade-hot-keys
Trade Hot Keys
2023-07-09 11:37:42 +10:00
Adrian Brzeziński b07aa77f1d
fix (#195) 2023-07-06 16:24:07 +02:00
saml33 a34103ee2b fix manual refresh mobile padding 2023-07-06 23:16:19 +10:00
saml33 9b2b84a162 token logo backgrounds 2023-07-06 22:08:10 +10:00
saml33 675cc6d274 load oo account for settle candidates 2023-07-06 19:49:16 +10:00
saml33 a3db18d6e1 Merge branch 'main' into depth-chart 2023-07-06 08:35:14 +10:00
saml33 866afe27f8
Merge pull request #194 from blockworks-foundation/custom-token-logos
add custom icons
2023-07-06 08:24:59 +10:00
tlrsssss 75fce54638
Merge pull request #191 from blockworks-foundation/positions-stats
add largest positions and closest to liquidation
2023-07-05 12:20:41 -04:00
tlrsssss 77ecc92987
Merge pull request #189 from blockworks-foundation/improve-market-loading
improve market loading on trade page
2023-07-05 12:13:10 -04:00
tlrsssss e444490b81
Merge pull request #190 from blockworks-foundation/preview-entry-price
show avg entry price in perp trade summary
2023-07-05 12:12:32 -04:00
saml33 462d6210d6 add custom icons 2023-07-05 14:40:47 +10:00
saml33 034ab5071e merge main 2023-07-05 10:13:19 +10:00
saml33 775f2f6ef5 bump client and mobile 2023-07-05 10:05:03 +10:00
saml33 fe0e6eee3d fix close perp on mobile and some styling fixes 2023-07-03 23:17:17 +10:00
saml33 a78e222110 move data fetching to store 2023-07-03 22:29:10 +10:00
saml33 aa4958f35a subscribe to orderbook for depth chart 2023-07-03 15:55:25 +10:00
saml33 89a192041e console.log connection 2023-07-03 12:17:11 +10:00
saml33 1de717f74c update perp logos 2023-07-03 11:52:51 +10:00
saml33 c7031f9936 fix perp market logos 2023-07-03 11:04:46 +10:00
saml33 7afcfb897b change to limit order on book price click 2023-07-01 20:28:31 +10:00
saml33 239cb1990b update trade side display in tables 2023-07-01 20:07:15 +10:00
saml33 1d6c5da71b show avg entry price in perp trade summary 2023-06-30 21:14:35 +10:00
saml33 50e40aee90 hide avg entry price on trade summary. calc not correct 2023-06-30 14:37:01 +10:00
saml33 fe7293dd45 improve market loading 2023-06-30 14:00:28 +10:00
saml33 03fdc2ae10 render basic chart to component 2023-06-30 13:05:41 +10:00
saml33 cd98c98e23 add avg entry price to perp trade summary 2023-06-29 21:38:32 +10:00
saml33 3c9b894841 align trade side ui to perp positions 2023-06-29 11:04:53 +10:00
saml33 f31f099cc1 fix roe calc 2023-06-28 21:35:42 +10:00
saml33 830a7cfed7 fix label 2023-06-28 21:17:43 +10:00
saml33 2c4a1cf772 fix ROE and update client 2023-06-28 20:50:27 +10:00
saml33 febb6a7ad3 calc liq price outside of the positions table 2023-06-28 12:10:47 +10:00
saml33 b76df3c87c new layout and add liq price 2023-06-27 12:43:15 +10:00
tjs ce13f685a3 Merge branch 'main' into trade-hot-keys 2023-06-26 12:58:10 -04:00
saml33 a8fd16eb29 errors and translations 2023-06-24 22:44:15 +10:00
saml33 6337b696e7 form validation 2023-06-23 13:37:34 +10:00
saml33 737a01a815
Merge pull request #181 from blockworks-foundation/show-unrealized-pnl
use unrealized as primary value for perp pnl
2023-06-23 10:16:36 +10:00
Riordan Panayides c11025a227 Fix spot orderbook update filtering 2023-06-22 19:29:40 +01:00
saml33 daaa1fcfeb use unrealized as primary value for perp pnl 2023-06-22 21:17:35 +10:00
saml33 8ed973a063 place order on hot key 2023-06-22 10:48:15 +10:00
microwavedcola1 dd7716d99a upgrade to latest mango-v4 client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-21 15:30:45 +02:00
saml33 53a5b4e619 do not close menu on favorite click 2023-06-21 09:40:51 +10:00
saml33 9976698c67 default market dropdown category to selected market type 2023-06-21 09:30:31 +10:00
saml33 0d85a6ff12 filter markets dropdown 2023-06-19 15:44:41 +10:00
Riordan Panayides 3e5b91fb96 Fix perp sorting 2023-06-17 10:55:34 +01:00
saml33 4f12c9e9cf fix leading period on trade form 2023-06-15 22:32:40 +10:00
saml33 2e3a0e8a2e fix order value 2023-06-15 22:18:44 +10:00
saml33 78f2544ffe fix spot price quote token display 2023-06-15 21:24:54 +10:00