Commit Graph

555 Commits

Author SHA1 Message Date
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
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
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
tjs 6f1e76a576 fix perp trade history fee display 2023-02-15 14:31:31 -05:00
saml33 066fd9b364 merge main 2023-02-15 10:41:47 +11:00
tjs 34cc9cd59e remove old env var 2023-02-14 12:06:10 -05:00
saml33 0437b708dc fix orders count for tv chart lines 2023-02-14 23:01:19 +11:00
saml33 27cf9f973b fix recent trades buys/sells for perp 2023-02-14 20:43:00 +11:00
saml33 e5f39c5b08 disable tooltips on mobile interactive elements 2023-02-14 15:39:30 +11:00
saml33 8e9c74de4a fix trade sounds for perp 2023-02-14 15:06:37 +11:00
tjs d096ec3d0a fix trade volume alert 2023-02-13 22:54:15 -05:00
saml33 bc85db22b5 fix undefined recent trade id 2023-02-14 14:06:50 +11:00
saml33 bbbbef3c19 favorites mobile 2023-02-14 13:53:13 +11:00
saml33 e7a920b373 sort trade market select list 2023-02-14 11:37:23 +11:00
saml33 23041e9d9b hide text when loading on mobile trade button 2023-02-14 09:49:59 +11:00
saml33 7d22e9b993 fix trade info tabs on mobile 2023-02-14 09:41:17 +11:00
tylersssss 7b3578a9b4
Merge pull request #82 from blockworks-foundation/tv-orders
add order lines to trading view chart
2023-02-13 10:50:54 -05:00
saml33 577c1446e5 remove tolocalestring from open orders 2023-02-13 16:08:32 +11:00
saml33 4f905cf850 add unsettled perp to mobile unsettled table 2023-02-13 15:17:10 +11:00
saml33 9dbf7c90a0 mobile perp positions table 2023-02-13 15:03:11 +11:00
saml33 6a05e60376 hide action buttons for unowned accounts 2023-02-13 13:46:41 +11:00
saml33 42d660b2be merge main 2023-02-12 20:40:26 +11:00
saml33 93956ca44f merge main 2023-02-12 20:33:50 +11:00
tylersssss 320853dbc3
Merge branch 'main' into trade-volume-alert 2023-02-11 15:21:07 -05:00
tylersssss 6ec8f9d262
Merge pull request #83 from blockworks-foundation/swap-reduce-only
handle swap reduce only
2023-02-10 11:34:15 -05:00
tylersssss d0e937b559
Merge pull request #78 from blockworks-foundation/pan/candles
Add basic perp ohlcv feed
2023-02-10 11:11:28 -05:00
saml33 f4209c3f88 merge main 2023-02-10 21:38:05 +11:00
saml33 c79045aaa0 align trade page tab order 2023-02-10 20:09:42 +11:00
saml33 c3d8f0af68 Merge branch 'main' into stable-price-tv-line 2023-02-10 16:09:02 +11:00
saml33 49f203f7e7 fix market change values 2023-02-10 14:20:46 +11:00
tjs efdd8a8934 fix typecheck errors 2023-02-09 17:04:57 -05:00
tjs 6277984325 use latest client 2023-02-09 16:23:44 -05:00
saml33 9c0cb6e6c1 add stable price line to tv chart 2023-02-09 22:41:15 +11:00
saml33 ed79cf7452 round spread to ticksize 2023-02-09 13:08:17 +11:00
saml33 8fa244a09b allow positions and trade history tables to scroll horizontally 2023-02-09 13:01:31 +11:00
Adrian Brzeziński 1ed50b9616
Feature/kline websockets (#84)
* web sockets

* websockets kline chart

* disconnect socket kline

* fix

* fixes
2023-02-09 02:40:34 +01:00
saml33 d838d39a57 fix perp entry price rounding 2023-02-09 12:37:30 +11:00
saml33 5388035d33 handle swap reduce only 2023-02-09 11:31:53 +11:00
saml33 2d9e73d207 fix perp position table size click 2023-02-08 22:29:03 +11:00
saml33 fdd0c97fcd add missing translation keys 2023-02-08 21:04:20 +11:00
saml33 21896ca2c3 add order lines to tv chart 2023-02-08 20:58:03 +11:00
tylersssss 971533009d
Merge branch 'main' into update-tab-count 2023-02-07 13:54:47 -05:00
tjs 4564c17ec4 filter mngo perp mkt; fix grouping tooltip 2023-02-03 11:04:29 -05:00
tjs e16107576f increase orderbook depth 2023-02-03 10:28:39 -05:00
tjs 7126f00c44 add a memo for selected market 2023-02-01 18:05:01 -05:00
Riordan Panayides 541a0114c7 Add basic perp ohlcv feed 2023-02-01 20:22:09 +00:00
saml33 b5e9229d65 update tab count on disconnect 2023-02-01 15:49:37 +11:00
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