Commit Graph

64 Commits

Author SHA1 Message Date
Tyler Shipe 745ce39647 add padding between prices on orderbook for md+ screens 2021-09-20 15:39:20 -04:00
saml33 07ad9cf4b3 fix orderbook padding 2021-09-20 19:56:50 +10:00
saml33 9123e63344
Trade page mobile (#35)
* mobile styles for chart, position, account

* mobile styles for trade form

* trade page mobile styles

* tab layout

* fix unknown property fill-rule

* test swipeable tabs

* fix container height

* fix orderbook mobile styles

* account page mobile styles

* fix swipeable container height

* stats page mobile styles
2021-09-20 02:36:02 +02:00
Tyler Shipe 445aabd506 fix z-index 2021-09-12 12:11:58 -04:00
Tyler Shipe e080ff8120 fix clickable size in orderbook 2021-09-10 13:28:18 -04:00
Tyler Shipe 0034344577 fix order highlighting when grouping orderbook 2021-09-07 21:39:12 -04:00
rjpeterson 4fe35a4417 fix inconsistent decimal count upon grouping change 2021-09-07 15:42:07 +08:00
Tyler Shipe df8b65d9a9 add usePrevious to trigger immediate rerender on group size change 2021-09-06 16:43:08 -04:00
rjpeterson 2317b9aeb6 adjust styling & fix build error 2021-09-06 22:30:55 +08:00
rjpeterson a179790b0e set default grouping to 1 cent 2021-09-06 21:56:34 +08:00
rjpeterson 90a0117d0d prevent grouping from resetting to default on market refresh 2021-09-06 21:56:04 +08:00
rjpeterson bb0a4594cc prevent grouping from resetting to default on market refresh 2021-09-06 21:50:11 +08:00
rjpeterson cc517d1508 revert unnecessary changes 2021-09-06 21:44:32 +08:00
rjpeterson c6c54f27bf make select box width consistent 2021-09-06 21:38:36 +08:00
rjpeterson f6dddddd53 make grouping function more clear 2021-09-06 21:38:33 +08:00
rjpeterson acf91fa3d2 fix orders not grouping properly due to js floats 2021-09-06 21:38:31 +08:00
rjpeterson 206cd98b46 change group sizes, increase orderbook entries to 40, fix bids display bug 2021-09-06 21:38:28 +08:00
rjpeterson c3c1eb3651 adjust decimal count when grouping is changed 2021-09-06 21:38:25 +08:00
rjpeterson 3d962d7707 adjust dropdown styling 2021-09-06 21:38:23 +08:00
rjpeterson d16395eb9a reset groupSize on new market, make sure all array entries are numbers 2021-09-06 21:38:20 +08:00
rjpeterson e4b70ae4ae add GroupSize select component 2021-09-06 21:38:17 +08:00
rjpeterson 6fb724de11 initial rough grouping solution 2021-09-06 21:38:14 +08:00
Tyler Shipe bb2d4ffc10 fix orderbook row bar width 2021-09-06 01:36:27 -04:00
Tyler Shipe 221b6f06f5 Show negative balance when borrowing 2021-09-03 16:25:09 -04:00
Tyler Shipe 8e4e818e49 fix orderbook display 2021-09-03 01:45:58 -04:00
Tyler Shipe 50c9fc07c1 add open order to orderbook 2021-09-03 01:32:27 -04:00
Tyler Shipe 3b59771145 immediately resize orderbook on depth change 2021-09-02 18:29:03 -04:00
tjshipe b2228d446a
Merge pull request #17 from blockworks-foundation/dynamic-orderbook-depth
Dynamic orderbook depth
2021-08-30 17:18:21 -04:00
rjpeterson de7fc9c15a prevent scrollbar from appearing 2021-08-30 12:24:10 +08:00
rjpeterson 43a01683e9 undo tailwind class reordering 2021-08-30 11:24:02 +08:00
rjpeterson 531720b290 inital conversion from v2 2021-08-30 11:24:01 +08:00
Tyler Shipe e0f2398dab remove old hooks 2021-08-29 20:37:31 -04:00
Tyler Shipe d09b9a4283 add cummulative and step size orderbook toggle 2021-08-27 20:37:45 -04:00
saml33 12db262794 remove extra 0 from orderbook price/size 2021-08-22 14:03:43 +10:00
saml33 287b71a476 remove rounding from orderbook markprice 2021-08-22 13:56:48 +10:00
Tyler Shipe e1cb67d9fb fix decimals for markprice display 2021-08-12 15:39:10 -04:00
Tyler Shipe 46b2f7ea21 show orderbook even if only just bid or just ask exists 2021-08-04 17:54:44 -04:00
Tyler Shipe 619295d2e0 parsed trade history for perps 2021-06-24 16:57:11 -04:00
Tyler Shipe d44e6476b4 add orderbook mid price for perp 2021-06-24 13:54:59 -04:00
Tyler Shipe 25d41f2f58 display unparsed perp history 2021-06-24 12:30:45 -04:00
Tyler Shipe cb44650367 connect perp market to websocket for orderbook 2021-06-23 15:09:19 -04:00
Maximilian Schneider bdbc9f2822 fix display issue in order book flip 2021-06-18 19:23:09 -04:00
Maximilian Schneider ccad1015f3 base & quote symbol 2021-06-18 18:53:24 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Maximilian Schneider 4d7b02e6a0 place perp order works now 2021-06-18 14:07:07 -04:00
Maximilian Schneider 60665d19fe cleanup orderbook types 2021-06-18 11:29:52 -04:00
Maximilian Schneider 12b69398d2 make bids & asks invariant between perp & spot, also reenable trade form 2021-06-17 18:37:03 -04:00
Maximilian Schneider 4d3dae3b1a load order books both from perp & spot 2021-06-17 17:07:10 -04:00
Tyler Shipe 51e6d4c1cc remove loading state and add .flash class to visualize book updates 2021-04-26 11:20:55 -04:00
saml33 dbf6e7087f layout toggle for orderbook 2021-04-26 22:53:27 +10:00