Commit Graph

950 Commits

Author SHA1 Message Date
Lou-Kamades 9018128d52 use Jupiter V6 API for swaps 2023-10-16 23:12:46 -05:00
saml33 68cfd1594d fixed raised button flicker 2023-10-06 10:49:46 +11:00
saml33 37743a5d92
Merge pull request #283 from blockworks-foundation/explore-page
add explore page
2023-10-05 22:23:04 +11:00
saml33 8eea1382cd fix market select quote filter 2023-10-05 12:06:56 +11:00
saml33 372876f0de add explore page 2023-10-04 16:05:16 +11:00
saml33 7b501842e5 add reduce only label to markets 2023-10-02 14:42:34 +11:00
tjs 7f0e745b9a fix header for spot volume 2023-09-29 17:43:09 -04:00
tjs 5065f080d7 reenable header 2023-09-29 11:30:36 -04:00
tjs c4bf384e5c temp disable header 2023-09-29 11:26:51 -04:00
saml33 094b3f5d9e fix market select search 2023-09-25 10:17:19 +10:00
saml33 02fdf118de enable spot limit trade form button 2023-09-19 22:01:28 +10:00
microwavedcola1 64d073db07 Revert "Revert "remove warning""
This reverts commit db5f8e8d16.
2023-09-19 13:55:32 +02:00
microwavedcola1 db5f8e8d16 Revert "remove warning"
This reverts commit 416db3df58.
2023-09-16 12:42:06 +02:00
microwavedcola1 416db3df58 remove warning
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-09-16 11:30:05 +02:00
saml33 42ed62a2ec fix market trade max button 2023-09-13 14:44:48 +10:00
saml33 6422f9e33b merge main 2023-09-13 12:19:43 +10:00
saml33 de2d89a471
Merge pull request #271 from blockworks-foundation/saml33/close-token-positions
add close token positions to settings
2023-09-13 12:14:51 +10:00
saml33 77c3bdd359 add close instructions 2023-09-12 23:32:09 +10:00
saml33 e6db2d2267 add leverage to market select dropdown 2023-09-12 14:17:59 +10:00
saml33 b1a3655889 improve openbook warning 2023-09-11 22:10:42 +10:00
saml33 03ff456109 fix orderbook size toggle 2023-09-11 16:15:50 +10:00
Lou-Kamades d40d6c9f02
Merge pull request #265 from blockworks-foundation/lou/column-sort
add sorting to market selection
2023-09-11 00:36:48 -05:00
Lou-Kamades 88b9ca8a71
update MarketChange to use useListedMarketsWithMarketData 2023-09-10 23:28:35 -05:00
saml33 1db55886c5 remove console.log 2023-09-11 11:43:25 +10:00
saml33 a75795d936 merge main 2023-09-11 09:57:14 +10:00
saml33 117f6a1d2b fix borrows in period warning 2023-09-09 21:32:28 +10:00
Lou-Kamades 5be792f47f
add sorting to market selection 2023-09-08 17:01:08 -05:00
saml33 d0845efbae merge main 2023-09-08 09:53:01 +10:00
Christian Kamm 3d71e76d26 fix trigger order slider for shorts 2023-09-07 09:59:04 +02:00
saml33 1f6dbaa061 add to mobile table 2023-09-07 11:57:59 +10:00
saml33 2c054d6a2b disable private counterparty links in trade history 2023-09-07 10:35:31 +10:00
Christian Kamm 1bf1514cc0 wip 2023-09-06 15:18:05 +02:00
saml33 60c6fdd213 toggle orderbook size between base and quote 2023-09-04 15:41:19 +10:00
saml33 eb5e132fc6 fix mobile orderbook depth 2023-09-04 14:31:16 +10:00
saml33 863a80d204 view and create hotkeys from trade page 2023-09-01 23:46:28 +10:00
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