saml33
2ae323ee1c
semantic headings and styles
2022-02-21 14:55:13 +11:00
saml33
839efc730c
page content and styling
2022-02-14 12:17:21 -05:00
tjs
3ad223f95b
add types to the store set function
2022-02-10 12:49:59 -05:00
Tyler Shipe
3ff9471fa1
move market.txs page to index.tsx
2022-01-31 12:48:48 -05:00
Tyler Shipe
3734ae7062
use new settlePnl in perp positions table
2022-01-29 14:47:20 -05:00
Tyler Shipe
a6d432f32d
utilize zustand for perppositions
2022-01-27 22:57:18 -05:00
Tyler Shipe
60116512f6
update language for settling pnl
2022-01-24 18:02:43 -05:00
Tyler Shipe
29651a3fb0
settle all should loop through each position
2021-12-29 14:32:41 -05:00
dd
9e4ad312f7
upgrade mango-client to support optimized settlePnl and reduce retry interval to 15s; implement more optimized settlePnl
2021-12-25 12:23:04 -05:00
Tyler Shipe
d9f26f58ab
don't display unrealized pnl until breakEven price exists
2021-12-17 13:46:03 -05:00
saml33
03c9710103
improve sub-tabs layout
2021-12-08 15:00:02 +11:00
Tyler Shipe
2bee4d154e
add unsettled perp positions box
2021-12-06 12:50:15 -05:00
Tyler Shipe
855a6e6d58
add ws watching for mangoAccount
2021-12-05 20:13:23 -05:00
Tyler Shipe
b9c8dd09d5
use lodash instead of lodash-es
2021-11-30 21:46:23 -05:00
Tyler Shipe
92b3ac2ce7
more improvement to load time when switching pages/markets
2021-11-14 18:37:02 +00:00
Tyler Shipe
db4aa785fc
speed up time between page loads
2021-11-14 14:48:09 +00:00
saml33
cca6d84feb
fix: add padding-top to table wrapper
2021-11-09 20:24:43 +11:00
saml33
30f971cfac
fix: mobile styling to accomodate new markets
2021-11-03 22:43:34 +11:00
tjshipe
9dcb0f329f
Merge pull request #52 from blockworks-foundation/perp-table-market-link
...
link to perp market from positions table
2021-10-21 16:19:26 -04:00
rjpeterson
bf679598bb
Add next-i18next translation framework & Traditional and Simplified Chinese UI Translations ( #54 )
...
* start english localization
* fix typo
* add to english localization
* add some zh translations, fix discrepencies in en
* add more chinese translations
* finish trad chinese translations
* add simplified folder, add locales.json with meta info, add latest ui updates in english
* add latest ui changes for chinese-trad and sort
* fix typo
* convert trad to simp
* Update common.json
* add review changes by @HZ2078
* fix typos
* add latest ui changes
* new ui change & trad-simp convert
* delete monospace from locales.json
* add next-i18next translation framework. Add translations up to #103
* replace more html with traslate tags
* lint & add more phrases
* add missing translations
* add language select dropdown
* add new update transltations
* add latest gui update translations
* add useTranslation to lang switch
* sort common.json, add lang descriptions
* update netlify config to support i18n
* make translations more consistent
Co-authored-by: Hz2078 <92381714+HZ2078@users.noreply.github.com>
Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
2021-10-20 13:42:40 +01:00
saml33
3c2e5e161f
link to perp market from positions table
2021-10-18 21:34:52 +11:00
Tyler Shipe
3d274e64d7
use estimatedSize in fee estimation; use price of 1 for mkt close orders
2021-10-05 17:46:15 -07:00
Maximilian Schneider
97bb02e593
show unsettled pnl ( #46 )
...
* display unsettled pnl more dominantly (#43 )
* display perp markets that have unsettled pnl
* fix dependencies to a working version
* add back unrealized pnl vs unsettled pnl
* add todo
* settle all
* cleanup
* catch error
* fix crash in market position & refactor
* bugfixes
* correct unrealized pnl
* remove unsetlled pnl from table
* only show unsettled balances after closing position
2021-10-05 22:22:47 +02:00
saml33
f5f243a9a8
pre-fill spot balance ( #41 )
...
* pre-fill spot balance
* fix undefined basePosition
2021-10-03 04:01:06 +02:00
saml33
229d9a8fbf
expose pnl on mobile table row
2021-09-28 23:15:36 +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
saml33
6e4323ee6e
perp positions table mobile
2021-09-08 11:52:45 +10:00
Tyler Shipe
9c3c0677bd
perp position pnl using breakeven price
2021-08-30 02:33:41 -04:00
Tyler Shipe
bc447a5296
add value to open orders table, add color to perp pnl
2021-08-30 02:17:36 -04:00
Tyler Shipe
2ecd1b2122
perp market close position button
2021-08-26 11:58:13 -04:00
saml33
f6ad6fbc56
update close position modal button text
2021-08-26 11:08:21 -04:00
saml33
04904203b0
add market close
2021-08-26 11:08:21 -04:00
Tyler Shipe
251b0a1d8d
use the correct pk to get the perpmarket
2021-08-23 18:19:20 -04:00
Tyler Shipe
de052ace29
add collateral available and market margin available
2021-08-23 15:35:59 -04:00
saml33
246ac3d385
account page tweaks
2021-08-24 00:14:03 +10:00
saml33
945f8a1a90
add orders/position count
2021-08-22 22:45:10 +10:00
dd
1b5cac89a1
fixed getPnl and settlePnl functions and updated client
2021-08-20 16:39:44 -04:00
saml33
cbd0e0b934
fill trade size from position size
2021-08-20 21:51:29 +10:00
Tyler Shipe
56d9eb00ab
fix perp position table
2021-08-19 20:14:04 -04:00
Tyler Shipe
0af7a8b8ee
more trade form improvements
2021-08-18 16:15:17 -04:00
Tyler Shipe
c598f79a4a
remove fee tab; set trade form price on page load
2021-08-18 10:24:29 -04:00
Tyler Shipe
6d5dbd8265
high side bade if no perp position
2021-08-16 18:40:56 -04:00
Tyler Shipe
1917ba41c7
reuse tooltip for settle pnl
2021-08-16 17:35:16 -04:00
Tyler Shipe
9c1f8edf20
rename positions table; fix rounding issues
2021-08-15 13:06:52 -04:00