Commit Graph

30 Commits

Author SHA1 Message Date
saml33 5b0f91ce80
add maker and taker volume chart to performance tab (#402)
* add maker/taker chart

* update api endpoint

* update volume endpoint url

* remove tradingview

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-08-22 14:12:34 +02:00
Nicholas Clarke 93346ed0cd
Clarkeni/token performance fix (#352)
* initialize start value for tokens not present at the start of the performance range

* run prettier
2022-07-08 23:07:37 +02:00
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
saml33 e394f7523c merge main 2022-06-19 21:07:06 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
tjs 5d08202417 yarn format 2022-06-16 17:52:54 -04:00
rjpeterson 7c80ae20b2 add recent translations 2022-06-10 22:43:47 -07:00
saml33 cf31cebdd5
relative long/short chart (#299)
* relative long/short chart

* eth icon bug

* simplify language and chart styling

* fix sol icon bug

* sort segments and include unsettled positions

* make chart angle relative to value

* sol, msol color

* simplify math

* change language

* re-work account overview layout

* increase tabs margin-b

* correctly net unsettled perps and add dust treshold

* layout

* xl breakpoint

* add spot balances to store

* add missing file

* update long / short exposure values and charts

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-06-08 17:01:15 +03:00
saml33 363b595260 re-order hover css 2022-06-08 10:55:46 +10:00
saml33 187a40dfe3 remove fastclick, remove button hover on mobile 2022-06-08 09:30:07 +10:00
saml33 83a39c782b add gmt chart color 2022-06-04 22:56:48 +10:00
ImpossiblePairs 21eb477e9a
Fix Risk Calculator PERP loading unreliably (#289)
* Fix Risk Calculator PERP loading unreliably

- Removed reliance on multiple variables for loading perp positions, notably making the MNGO-PERP fail to load correctly.
- Removed base position from Unsettled Funding calculation as it's displayed in quote token, not the perp token
- Fixed perps In Orders calculation so it was consistent in both places it's present

* Ran lint and prettier
2022-05-28 18:35:23 +03:00
Nicholas Clarke 6bc1cd369a Minor changes - normalize charts to start from 0 (except for account value) and remove vs-time in chart legends. 2022-05-23 11:08:29 -07:00
Nicholas Clarke cfd531433b Temporarily remove interest graphs. 2022-05-16 12:49:48 -07:00
saml33 ad60cf825e fix usdc button filter with performance range 2022-05-05 11:21:56 +10:00
saml33 47feaa2db0 add chart timeframe range 2022-05-05 11:01:47 +10:00
saml33 2e5546fbbd filter usdc when not relevant 2022-05-04 22:46:35 +10:00
saml33 eb469a4b82 chart colors light theme 2022-05-04 15:37:49 +10:00
saml33 95eea47bea asset button hover 2022-05-04 13:55:14 +10:00
saml33 8e3ec1c314 new layout 2022-05-04 13:45:39 +10:00
tjs dab9d99b3a fix so All is selected by default 2022-05-03 21:54:03 -04:00
saml33 f5ec22d090 missing translation key 2022-05-04 11:29:19 +10:00
saml33 840a128241 fix 0 selected error and select all button 2022-05-04 11:26:21 +10:00
saml33 5a86c6f973 chart horizontal margin 2022-05-03 21:57:26 +10:00
saml33 4f178c292f page styling 2022-05-03 21:20:36 +10:00
tjs bf4f845cb5 cleanup 2022-05-02 21:59:00 -04:00
Nicholas Clarke f196f45951 Run yarn format 2022-04-25 09:53:49 -07:00
Nicholas Clarke 6bd4373ee9 Fix type error 2022-04-25 09:43:34 -07:00
Nicholas Clarke 461ef097d8 Add account performance per token tab. 2022-04-20 14:05:55 -07:00