Commit Graph

915 Commits

Author SHA1 Message Date
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
saml33 2a9d74de15
Merge pull request #169 from blockworks-foundation/manual-refresh
add manual refresh button
2023-06-15 20:56:53 +10:00
saml33 2e4852e965 use soon badge on perp stats page 2023-06-15 10:49:16 +10:00
riordanp b5f6bba803
Disable trading for markets where oracle was never active (#171) 2023-06-15 00:02:40 +01:00
riordanp a229d55ed6
Add soon label to perp markets where oracle was never active (#170) 2023-06-14 18:19:39 +01:00
saml33 5f90821a22 add manual refresh button 2023-06-14 11:12:28 +10:00
saml33 6945707c11 merge main 2023-06-08 13:49:49 +10:00
saml33 f13acf6bd0 add tv chart meme and support changing fonts 2023-06-07 22:45:09 +10:00
saml33 9d14bc5b8b add chart easter egg functionality 2023-06-07 16:04:38 +10:00
saml33 9ffd337fe0 use themeData for vars 2023-06-07 15:00:59 +10:00
saml33 258131aa5c sort perp positions by notional value 2023-06-06 09:59:45 +10:00
saml33 53159a372b add perp volume to trade page 2023-06-05 11:06:03 +10:00
saml33 1a6e1d5b6d fix perp position table tize click 2023-06-05 10:19:19 +10:00
saml33 095728986c more bonk 2023-06-02 16:05:08 +10:00
saml33 6d04ac7378 comment out perp volume 2023-06-01 13:07:34 +10:00
saml33 aaa4c04adc add perp volume to trade header 2023-06-01 10:17:31 +10:00
saml33 29070b1fa4 add spot market volume to stats 2023-05-31 22:15:50 +10:00
saml33 97b331df27 tv styles 2023-05-31 14:38:15 +10:00
saml33 eefc1f374d add bonk theme 2023-05-31 13:03:53 +10:00
saml33 fe5379f60a add spot market volume to trade header 2023-05-31 10:05:02 +10:00
saml33 166d7eafe1 remove stable price from tv chart 2023-05-24 13:32:02 +10:00
saml33 aff58c7e70 improve order line drawing 2023-05-24 12:05:13 +10:00
saml33 846e574a71 use long/short for perp order lines 2023-05-24 11:22:09 +10:00
saml33 88614f8bd7 use perp side badge for perp open orders 2023-05-24 10:34:26 +10:00
tlrsssss 09e10671b4
Merge pull request #155 from blockworks-foundation/edit-tv-order-modal
add custom modal when dragging order line
2023-05-23 17:13:45 -04:00
tlrsssss f7d69b90b2
Merge pull request #153 from blockworks-foundation/align-tooltip-styles
align tooltip styles
2023-05-23 17:11:13 -04:00
saml33 b487c51db5 add custom modal when dragging order line 2023-05-23 21:48:26 +10:00
saml33 62054f0758 fix sell/short button 2023-05-23 13:25:03 +10:00
saml33 e22719c196 add divider to tv limit price menu item 2023-05-23 09:46:47 +10:00
saml33 dfd3e1b0e9 change button case to match menu 2023-05-22 23:03:21 +10:00
saml33 b64af38f7d set limit price from right click tv chart 2023-05-22 22:51:27 +10:00
tjs cfa95dfd9c update oracle component with last price after switching mkts 2023-05-14 12:43:42 -04:00
saml33 004964bde4 spot margin off by default and show borrow amount in trade summary 2023-05-14 23:07:06 +10:00
saml33 d02a96b131 fix perp slider rounding 2023-05-13 21:41:42 +10:00
saml33 ebeccd8df5 fix spot slider rounding 2023-05-13 21:25:50 +10:00
saml33 46b2e53902 fix trade summary order value 2023-05-13 20:44:22 +10:00
saml33 4ede5b9a6c align tooltip styles 2023-05-12 14:08:06 +10:00
saml33 e4b85b4d5e link to chart from funding tooltip 2023-05-12 13:46:59 +10:00
riordanp 5b0eef685c
Use ref for Orderbook feed to prevent multiple connections, add settings tooltip (#150)
* Use ref for orderbook feed, enable if unset, prettify logs

* Add tooltip to orderbook feed setting
2023-05-10 10:53:55 +01:00
riordanp 25ea31beec
Add setting to disable orderbook feed (#148)
Co-authored-by: tlrsssss <tjshipe@gmail.com>
2023-05-07 12:53:22 +01:00
tlrsssss 97fbb42588
Merge pull request #126 from blockworks-foundation/save-tv-charts
save tv charts
2023-05-05 14:20:36 -04:00
saml33 5b88633501 improve market select link styles 2023-05-04 11:41:18 +10:00
tjs 2494ba2022 fix datafeed crash 2023-05-03 14:26:26 -04:00
saml33 c260d7782f save tv chart drawings 2023-05-03 13:15:37 -04:00
Riordan Panayides cbb88dcbe5 Temporarily disable orderbook feed 2023-05-03 15:29:01 +01:00
tjs fb1199dc83 show more details on stats table 2023-05-02 13:47:26 -04:00
Riordan Panayides eb1d17df9f Reject orderbook updates not for current market 2023-05-01 17:13:37 +01:00
saml33 cf0a5e7e59 add oracle provider to market details modals 2023-05-01 14:42:29 +10:00
tjs 1f30784930 fix bug with decimal in trade form 2023-04-28 14:39:22 -04:00
saml33 506433e539 fix market header 24h change 2023-04-28 22:22:40 +10:00
saml33 3e013044ea remove console logs 2023-04-28 22:13:11 +10:00
Adrian Brzeziński b6dfb42532
fix (#143) 2023-04-27 20:27:56 +02:00
Riordan Panayides 24b2b406b7 Fix oracle warning for BONK 2023-04-27 19:01:52 +01:00
tlrsssss 8fb5c17d92
Merge pull request #137 from blockworks-foundation/pan/orderbook-feed-v2
Use websocket feed for Orderbook
2023-04-27 13:55:30 -04:00
riordanp d7e74fb874
Merge branch 'main' into pan/orderbook-feed-v2 2023-04-27 18:02:42 +01:00
Riordan Panayides 177229785e Merge branch 'pan/oracle-info' of github.com:blockworks-foundation/mango-v4-ui into pan/oracle-info 2023-04-27 17:48:37 +01:00
Riordan Panayides 5104439f80 i18n 2023-04-27 17:43:36 +01:00
riordanp f54d8287a6
Merge branch 'main' into pan/oracle-info 2023-04-27 17:25:26 +01:00
Riordan Panayides c5dd4a0e82 Add warning state if oracle is stale, convert last updated to human readable format 2023-04-27 17:23:18 +01:00
saml33 4d261b61a7 add token settings table 2023-04-27 22:11:20 +10:00
saml33 727cf53d7d add modal for spot market details 2023-04-27 13:39:49 +10:00
saml33 4eea086ef6 fix file name extension 2023-04-27 12:36:52 +10:00
tlrsssss bdc341aeab
Merge pull request #138 from blockworks-foundation/orderbook-formatting
handle large and small numbers in orderbook
2023-04-26 13:14:24 -04:00
saml33 9609a2bd27 fix trade form icon loading position 2023-04-26 12:54:55 +10:00
saml33 d1620ced49 handle large and small numbers in orderbook 2023-04-26 10:58:33 +10:00
saml33 724680ea11 fix quote size from max size button 2023-04-26 10:23:14 +10:00
Riordan Panayides f122994874 Add info tooltip to oracle price 2023-04-25 21:36:18 +01:00
riordanp 5da195233e
Merge branch 'main' into pan/orderbook-feed-v2 2023-04-25 16:57:02 +01:00
Riordan Panayides 0c6960dd9d Remove errant logs 2023-04-25 16:40:45 +01:00
Riordan Panayides d3b08eb08d Update mango-feeds 2023-04-25 16:25:35 +01:00
saml33 2c2544dbb0 fix bonk/sol ui issues 2023-04-25 22:41:23 +10:00
Riordan Panayides 43c3368c25 Use production url 2023-04-24 19:23:12 +01:00
Riordan Panayides f751882026 Compute funding rate from L2 data 2023-04-24 19:03:11 +01:00
saml33 b0f1619434 reduce horizontal padding in market header 2023-04-24 21:45:30 +10:00
saml33 ab97ac9738 fix orderbook grouping 2023-04-24 20:17:01 +10:00
Riordan Panayides 56ca927c40 Use client library for orderbook 2023-04-22 18:35:57 +01:00
saml33 a89d528709 align linkbutton styles 2023-04-21 12:32:20 +10:00
saml33 1750b865ca remove inline default-transition class 2023-04-20 11:12:45 +10:00
saml33 228ea6d59a change focus states to use focus-visible 2023-04-20 10:43:33 +10:00
saml33 70b1ddf8a4 fix mobile orderbook 2023-04-19 12:01:58 +10:00
tlrsssss ad6218ba87
Merge pull request #125 from blockworks-foundation/add-unsettled-spotmax
add unsettled balance to spot trade max
2023-04-18 18:10:51 -04:00
tlrsssss 80fffadd8b
Merge pull request #121 from blockworks-foundation/show-trade-executions
show trade executions on tv charts
2023-04-18 18:06:02 -04:00
saml33 57bcfb42b8 fix trade history type 2023-04-18 09:45:27 +10:00
saml33 03a94d4571 merge main 2023-04-18 09:17:23 +10:00
tjs 7f70915650 add funding tooltip to stats page 2023-04-17 17:34:33 -04:00
tjs ed0b6c2b17 update funding rate display 2023-04-17 12:26:05 -04:00
saml33 948c37ad59 merge main 2023-04-17 21:31:51 +10:00
saml33 51aed56b88 merge main and update tooltip 2023-04-17 12:13:50 +10:00
tjs 2a49dc1c5c fix bug in sorting trade history from event queue 2023-04-14 11:56:36 -04:00
microwavedcola1 b09596322e Revert "Revert "settle fees along with pnl""
This reverts commit bc113df1c3.
2023-04-13 16:55:32 +02:00
saml33 e141233d79 show trade executions on tv charts 2023-04-13 21:25:58 +10:00
saml33 207868fc82 add apr to perp funding rate display 2023-04-12 10:34:50 +10:00
tlrsssss 938b3d70c3
Merge pull request #90 from blockworks-foundation/share-positions
add share positions to twitter
2023-04-10 20:58:38 -04:00
tlrsssss d3b9b3ab08
Merge pull request #109 from blockworks-foundation/margin-toggle-size
retain size when toggling margin
2023-04-10 20:52:11 -04:00
saml33 4aa883d093 add unsettled balance to spot trade max 2023-04-10 21:43:50 +10:00
tjs 598c29fe13 use tradeform for checkboxes 2023-04-08 13:24:21 -04:00
saml33 b52499afcb curly braces isunownedaccount 2023-04-08 20:56:39 +10:00
tlrsssss 3d2b485cf7
Merge pull request #114 from blockworks-foundation/use-birdeye-prices
Use birdeye prices
2023-04-07 16:41:32 -04:00
saml33 cbbc1e6a1f implement pr feedback 2023-04-06 22:54:37 +10:00
saml33 ea80f1698a implement pr feedback 2023-04-06 13:24:29 +10:00
saml33 4e7cfaf501 round pnl to 2dp 2023-04-06 10:07:36 +10:00
saml33 a0e4efa5bb merge main 2023-04-06 09:21:31 +10:00
saml33 b0a4162d95 merge main 2023-04-06 09:19:58 +10:00
Adrian Brzeziński 3bf2a7d470
list tokens from ui (#107)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* additional prop in onboarding component

* fix translation

* fix navbar

* change order of governance in navbar

* fix proposal index

* fix pr

* remove link without href for mint

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-05 23:59:30 +02:00
saml33 55adbe7602
Merge pull request #115 from blockworks-foundation/expand-perp-activity
expand perp trade activity feed details
2023-04-05 23:47:39 +10:00
saml33 ea121b34b5
Merge pull request #112 from blockworks-foundation/save-trade-checkboxes
save trade checkboxes to local storage
2023-04-05 20:51:03 +10:00
saml33 cb10276cf5 hide max size trade button when not connected 2023-04-05 15:25:25 +10:00
saml33 6aec6fd144 expand perp trade activity feed details 2023-04-05 14:21:01 +10:00
saml33 4b86b28f19 fix perp health impact when no base size 2023-04-04 15:01:41 +10:00
saml33 b5a30fbe89 merge main 2023-04-04 13:49:28 +10:00
saml33 d34fa4a503 add change to market select dropdown 2023-04-04 12:48:31 +10:00
tlrsssss 5c03151a2e
Merge branch 'main' into perp-market-details-modal 2023-04-03 21:43:58 -04:00
saml33 a5f310c07c use birdeye for spot market change 2023-04-04 09:20:59 +10:00
saml33 dbc3cb4f57 save trade checkboxes to local storage 2023-04-03 14:51:36 +10:00
saml33 4ff68b31a5 retain size when toggling margin 2023-04-03 09:52:00 +10:00
saml33 e0463a9863 fix trade max size button 2023-04-01 21:05:53 +11:00
tjs 6067dd1665 fix trade form issue with large num of decimals 2023-03-31 19:39:07 -04:00
tjs 4055ddd072 fix btc spot chart 2023-03-31 19:12:00 -04:00
tjs 7c59a1c4fa only call perp history if market is perp market 2023-03-31 16:49:33 -04:00
tjs a2b482cbe8 handle large decimals like the bonk chart 2023-03-31 16:29:06 -04:00
saml33 13d3a3d482 link to all markets from tables when not on trade page 2023-03-31 21:03:20 +11:00
tjs 582ecfa2b3 use clients settle candidate function 2023-03-30 15:42:05 -04:00
microwavedcola1 bc113df1c3 Revert "settle fees along with pnl"
This reverts commit 92792112f7.
2023-03-30 13:08:05 +02:00
microwavedcola1 92792112f7 settle fees along with pnl
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-30 10:36:02 +02:00
saml33 d2e50e51ec fix roi and merge main 2023-03-29 21:38:26 +11:00
saml33 0057af54c1 merge main 2023-03-29 20:58:15 +11:00
saml33 a25dac1602 add perp market details modal 2023-03-29 13:10:05 +11:00
saml33 9d38639ec7 add open interest to perp market trade header 2023-03-29 10:57:59 +11:00
tjs 2c0a5bdb41 add useEffect dependencies 2023-03-28 15:23:30 -04:00
saml33 a2f05a8fa7 subscribe to orderbook on account page for market close 2023-03-28 21:12:11 +11:00
saml33 689dbde0b7 add focus to more components 2023-03-28 15:30:04 +11:00
saml33 1a8267adc1 fix perp market stats funding 2023-03-27 22:25:23 +11:00
saml33 dd0ba043e6 update focus styles 2023-03-27 14:11:10 +11:00
tlrsssss a9033f8c6b
Merge pull request #102 from blockworks-foundation/customize-trade-layout
customize trade layout settings
2023-03-26 13:45:58 -04:00
tjs cc723bfd4e better type definition for api response 2023-03-26 12:59:05 -04:00
Adrian Brzeziński bfc8d25f1b temp fix for api returning object for recent trades 2023-03-26 17:19:32 +02:00
tjs 505e8150a3 use react query for trade history 2023-03-25 17:16:42 -04:00
tjs 362c1c8aba fix oracle price updating 2023-03-25 14:47:37 -04:00
tjs fc929f8fb0 update the oracle for selected market via websocket 2023-03-25 14:19:57 -04:00
saml33 7cd26e9da5 add focus states and improve keyboard navigation 2023-03-24 23:22:29 +11:00
saml33 8caa115388 submit trade form on enter button press 2023-03-24 14:06:16 +11:00
saml33 caf98f8354 add customize trade page layout to settings 2023-03-23 19:29:13 +11:00
saml33 8684f380ae add loan origination fee to trade form 2023-03-17 23:48:38 +11:00
saml33 216e1c736b mobile trade history display and use perpsidebadge 2023-03-17 22:19:15 +11:00
saml33 674adc4e32 orders and unsettled mobile display 2023-03-16 23:44:00 +13:00
saml33 d74b4ccd2b mobile perp positions display 2023-03-16 22:38:17 +13:00
saml33 f7db0c6f92 add oracle price to perp positions 2023-03-15 22:31:30 +13:00
saml33 4d5ac94b9d change perp trade labels to long/short 2023-03-11 22:35:13 +13:00
tjs 58bb6488db improve 24h change 2023-03-10 13:17:24 -05:00
tjs 0713c3ffd7 reduce tooltip delay 2023-03-10 13:01:47 -05:00
tjs cac43c35d6 track market ids for trading view subscriptions 2023-03-10 10:49:22 -05:00
tjs 89364cb76d improve open orders display 2023-03-08 19:34:13 -05:00
tjs e93d8091da fix show asks on orderbook 2023-03-08 15:23:35 -05:00
saml33 d421fe856b improve toggle orderbook sides interaction 2023-03-08 21:19:31 +11:00
tjs b9d6857694 format funding and add market trade info msg 2023-03-07 12:31:32 -05:00
tjs 79c3daab36 convert funding to percent 2023-03-07 11:28:16 -05:00
tjs 90ab423d78 add a state variable to track header ready state in trading view 2023-03-06 14:50:07 -05:00
saml33 bd2113101f fix market select dropdown position 2023-03-06 14:33:13 +11:00
tjs a663b9404b check for mango tokens length before fetching price info 2023-03-05 17:44:33 -05:00
tjs 7f489f28bb move datafeed 2023-03-05 00:48:09 -05:00
tjs e0bfc5e429 reduce coingecko calls on page load 2023-03-05 00:47:29 -05:00
tjs 89cbe0e572 dont use postOnly on market trades 2023-03-04 23:06:45 -05:00
tjs 2d37f7f64a close mkt select dropdown on click 2023-03-04 15:59:42 -05:00
tjs 042f2e0386 add grids to trading view chart 2023-03-04 15:52:09 -05:00
tjs b44c498b7b combine trading view datafeeds 2023-03-04 15:42:35 -05:00
tjs fd061dcdbf move delegate checks into useUnownedAccount hook 2023-03-04 14:17:34 -05:00
tjs 36248b23d6 trade summary fixes 2023-03-04 13:53:53 -05:00
tjs 1b220ddf55 center modal text 2023-03-04 12:46:35 -05:00
tjs 0f87d0c07b fix trade history date display 2023-03-04 12:46:21 -05:00
tjs 6fce2640a4 fix header ready check on tv chart 2023-03-04 12:10:34 -05:00
tjs 991bb6c251 load tv chart buttons after header rdy 2023-03-04 12:08:19 -05:00
saml33 49c0d5517c merge main 2023-03-03 22:29:34 +11:00
tjs 4be933148f fix perp side badge 2023-03-02 21:40:49 -05:00
tjs 08866b20fe dont recreate chart when clicking on custom buttons 2023-03-02 20:37:20 -05:00
tjs 96f9945746 fix fee display in activity fee 2023-03-02 15:42:59 -05:00
saml33 49612197b8 bg images 2023-03-01 09:45:39 +11:00
saml33 5770720b5f add share positions to twitter 2023-03-01 09:45:39 +11:00
tjs 5293f04bdb prevent wordwrap on recent trades 2023-02-28 12:13:30 -05:00
tjs 3bed60af56 turn on lint errors for typescript any 2023-02-28 02:20:11 -05:00
tjs 1a763c8c9d fix stable price line updates 2023-02-26 20:04:02 -05:00
tjs 5cae40d347 use api for perp market trade history 2023-02-26 18:44:38 -05:00
tjs ebb0d546b7 useCallback to reduce trading view rerenders and memory leaks 2023-02-25 14:59:35 -05:00
tjs c3f3a34a63 only update orderbook websocket when changing markets 2023-02-25 14:59:35 -05:00
tjs 09133bf7b2 more refactoring for type safety 2023-02-23 19:28:49 -05:00
tjs 09852aa007 improve typing to fix errors with recent trades and history 2023-02-23 16:44:54 -05:00
tjs e9811605a1 condense market select box for now 2023-02-22 14:04:18 -05:00
tjs 939496def7 fix orderbook grouping bug 2023-02-22 00:11:56 -05:00
tjs d8f6153eab more improvements to open orders displayed in orderbook 2023-02-21 23:29:25 -05:00
tjs d2540c8be5 improved open order loading 2023-02-21 21:25:00 -05:00
tjs 921e791809 check if expiry is u64 max first 2023-02-21 17:25:45 -05:00
tjs fd73581483 fix number overflow 2023-02-21 17:17:25 -05:00
tjs 704018c616 improve open orders display on orderbook 2023-02-21 16:07:47 -05:00
tjs ccccb33843 fix trade fee display 2023-02-20 15:07:16 -05:00
tjs da05ee7ce0 move chart overrides into useeffect 2023-02-20 15:06:42 -05:00
tjs db12922284 more orderbook refactoring 2023-02-20 01:05:07 -05:00
tjs a41e36042c improve orderbook rendering performance 2023-02-20 00:43:35 -05:00
tjs 02775cab56 fix unsettled perp positions rerender 2023-02-16 14:17:03 -05:00
saml33 6013cfb9b1 revert tonumber fee rate 2023-02-16 22:15:33 +11:00
saml33 d33457aa91 fix available to borrow 2023-02-16 22:02:26 +11:00
Adrian Brzeziński d9fc7f11ac
Feature/kline perp stats (#88)
* kline perp wip

* fix

* make data more common with trading view

* datafeeds

* fixes

* fixes

* fix

* fix error

* better logging
2023-02-15 23:17:58 +01:00
tjs 2c8da6f1a7 improve trade history typing and trading view order lines colors 2023-02-15 16:49:56 -05:00