Tyler Shipe
eecf9a919d
move useOrderbook login into useHydrateStore to reduce rerenders
2021-10-21 15:45:13 -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
Tyler Shipe
e049456edd
MSRM deposit and withdraw
2021-10-18 16:38:03 -04:00
Tyler Shipe
91427ee809
use latest client
2021-10-12 16:20:55 -04:00
dd
5cda732cc0
upgraded mango client with more fixes
2021-10-10 11:30:06 -07:00
dd
f3fbb1af6b
changed mango client package to v3.1 after place spot order2 fix
2021-10-10 11:06:57 -07:00
Tyler Shipe
9cb4ccf519
use new placePerpOrder market order type when closing pos
2021-10-05 17:01:44 -07:00
Maximilian Schneider
93abdab9f6
Merge remote-tracking branch 'origin/main' into max/stoploss
2021-10-05 23:02:01 +02: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
Tyler Shipe
7e2d6053fc
use latest client to support reduceOnly flag in placePerpTriggerOrder
2021-10-01 16:51:24 -04:00
Tyler Shipe
052de958f2
consistent padding; use latest from client branch
2021-10-01 13:21:17 -04:00
Tyler Shipe
9118dbf010
fix trade form button colors; use latest client to handle when no advanced orders exist
2021-09-29 16:47:10 -04:00
Tyler Shipe
f2667e3346
use latest client
2021-09-29 13:10:16 -04:00
Tyler Shipe
7ba6cf2412
use the latest client
2021-09-29 12:24:09 -04:00
Tyler Shipe
207fddd242
call addPerpTriggerOrder
2021-09-23 02:05:47 -04:00
Tyler Shipe
7abc83ce0f
use latest client
2021-09-20 19:51:25 -04:00
Tyler Shipe
1861f9dc72
use latest client to fix equity and leverage display
2021-09-20 14:58:09 -04:00
Tyler Shipe
4f96816ec3
use latest client
2021-09-20 13:46:51 -04:00
Tyler Shipe
79e2963204
use latest client to pull in new markets
2021-09-20 13:10:15 -04: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
0161e4f61f
latest client
2021-09-09 17:18:38 -04:00
Tyler Shipe
b6ec2b6892
upgrade client
2021-09-08 15:57:33 -04:00
Tyler Shipe
233d6c8e93
use latest client
2021-09-08 14:32:29 -04:00
Tyler Shipe
b03db3b771
remove send transaction notification
2021-09-07 15:27:54 -04:00
Tyler Shipe
e5b67857af
retry transaction more frequently; use tx callback for notifications
2021-09-04 17:59:53 -04:00
Tyler Shipe
ad2cef38eb
use latest client
2021-09-03 14:10:53 -04:00
Tyler Shipe
0c95f263f5
remove v3 alert in top bar
2021-09-03 13:59:14 -04:00
Tyler Shipe
e1d6d3f8e4
try latest client
2021-09-03 11:42:54 -04:00
Tyler Shipe
4e112786a7
use latest client
2021-09-03 11:28:54 -04:00
Tyler Shipe
bb64bfe90c
use latest client
2021-09-03 11:17:02 -04:00
Tyler Shipe
4a145f5878
use latest client and only reload mango account after settling
2021-09-03 10:36:53 -04:00
dd
4b7aadd72f
fixed typo in top banner; updated mango client
2021-09-02 15:53:10 -04:00
Tyler Shipe
d522dfaa0f
use latest client for faster mango account loading
2021-09-02 10:39:12 -04:00
Tyler Shipe
52d0d4012a
use latest client
2021-09-01 19:00:25 -04:00
Tyler Shipe
6833602681
fix balance rounding issue in market balances
2021-09-01 14:43:27 -04:00
Tyler Shipe
0b1cbd80a5
update client to use web3.js sendAndConfirmRawTransaction
2021-09-01 14:05:52 -04:00
Tyler Shipe
4f20fc6542
use client reloadMangoAccount
2021-08-31 13:47:03 -04:00
Tyler Shipe
6630e29707
upgrade nextjs
2021-08-30 00:56:27 -04:00
Tyler Shipe
e0f2398dab
remove old hooks
2021-08-29 20:37:31 -04:00
Tyler Shipe
7dd454c23c
handle rounding issues when withdrawing max with borrows
2021-08-29 20:25:36 -04:00
Tyler Shipe
7aa7feadb0
Use latest client to fix rounding issues
2021-08-29 15:15:37 -04:00
dd
a07acca6e0
applied floor to deps and net; applied ceil to borrows; don't recommend merging changes in BalancesTable.tsx unless you also make it work with the 0 balances checker etc. But I think as long as we aim to show precision up to native units, these changes are good.
2021-08-28 17:16:10 -04:00
dd
471b07396d
now applying .floor() to getAvailBalance
2021-08-28 16:33:41 -04:00
Tyler Shipe
be63fd5c7f
use latest mango-client
2021-08-28 14:32:32 -04:00
dd
6b1c922b47
update mango-client package in yarn lock
2021-08-25 14:02:41 -04:00
Tyler Shipe
44bd6dc5a7
use latest mango-client
2021-08-25 13:12:43 -04:00
Tyler Shipe
38ab3f9914
refresh mango acct more frequently; add error notification on failure
2021-08-25 11:50:39 -04:00
Tyler Shipe
b61e0b2f13
use latest client
2021-08-24 17:17:01 -04:00
Tyler Shipe
d9019b961a
reduce margin in trade form; remove leverage text from slider
2021-08-24 16:40:43 -04:00
dd
ac15479370
fixed breakeven price issue; updated yarn lock
2021-08-23 17:20:23 -04:00