dd
f248ab7805
Added code for maxSlippage and removal of market order type; Changed mark price to just be book mid.
2021-12-02 17:33:35 -05:00
Tyler Shipe
50c514939c
dont disable trade button if not enough sol
2021-12-01 01:18:12 -05:00
tjshipe
f91d363158
Merge pull request #93 from rjpeterson/no-sol-notif
...
disable trade button and show warning when user has no SOL
2021-12-01 01:14:23 -05:00
tjshipe
68e4f4d19d
Merge branch 'main' into update-translations
2021-12-01 01:12:59 -05:00
Tyler Shipe
6488eb6802
fix console errors
2021-12-01 00:38:05 -05:00
Tyler Shipe
84233b2a56
improve rerender when cancelling orders for a market other than the one selected
2021-11-30 18:35:49 -05:00
Tyler Shipe
4eb7cd3934
forceReload components when mango account is updated in store
2021-11-30 12:32:14 -05:00
Tyler Shipe
b1b5477273
reset post only flag when switching trade types
2021-11-29 12:04:50 -05:00
rjpeterson
3aa03c3909
disable trade button and show warning when user has no SOL
2021-11-26 00:05:21 -10:00
Maximilian Schneider
3d1544cc09
add tooltip to country-not-allowed block ( #89 )
2021-11-25 19:25:50 +01:00
rjpeterson
6b223e62e1
rebase & add statsperps + account history translation
2021-11-23 22:17:17 -10:00
tjshipe
8ae27aa62c
Merge pull request #82 from blockworks-foundation/show/hide-reduce-only
...
hide reduce only when no position or wrong side
2021-11-23 18:19:22 -05:00
Riordan Panayides
edac2473fc
Allow UK spot trading
2021-11-22 23:54:51 +00:00
saml33
96358a078c
hide reduce only when no position or wrong side
2021-11-19 14:13:18 +11:00
Maximilian Schneider
fb1977e720
disable size too large
2021-11-12 15:40:42 +00:00
saml33
30f971cfac
fix: mobile styling to accomodate new markets
2021-11-03 22:43:34 +11:00
Tyler Shipe
56b7466799
move fees into trade box, prevent wrapping in market menu item
2021-11-01 16:20:30 -04:00
Tyler Shipe
f3361a8953
only calc spot max if market config is spot market
2021-10-31 14:24:33 -04:00
Tyler Shipe
9aa9d152c9
fixes for ada perp mkt
2021-10-29 14:57:50 -04:00
Tyler Shipe
fc1665444f
upgrade to next12, remove babel, remove emotionjs, convert emotion styles to inline
2021-10-27 16:46:31 -04:00
Tyler Shipe
597e0b65b7
reduce padding to remove horizontal scrollbar; yarn format
2021-10-26 11:57:54 -04:00
rjpeterson
0733e8cda7
add missing translations, add spanish option, fix dropmenu z-index
2021-10-20 08:48:02 -10: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
9afc697336
fix: remove taker fee from estimated price impact
2021-10-11 15:56:11 -04:00
Tyler Shipe
361268c751
fix: bugs when changing state with new order types
2021-10-11 14:02:20 -04: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
Tyler Shipe
5d658754a8
fix types in EstPriceImpact
2021-10-05 15:12:26 -04:00
Maximilian Schneider
82dcd960c0
revert to buy/sell in trade button
2021-10-03 03:21:26 +02:00
Tyler Shipe
7e2d6053fc
use latest client to support reduceOnly flag in placePerpTriggerOrder
2021-10-01 16:51:24 -04:00
Tyler Shipe
f43f4f2c1c
fix invalid price bug when placing advanced orders
2021-10-01 14:51:19 -04:00
Tyler Shipe
052de958f2
consistent padding; use latest from client branch
2021-10-01 13:21:17 -04:00
Maximilian Schneider
76762aae31
refresh size when changing markets
2021-10-01 18:26:06 +02:00
Maximilian Schneider
eb2568672c
fix fee calc & respect reduceOnly
2021-10-01 18:21:09 +02:00
Maximilian Schneider
2cf097976a
wire up slippage estimator
2021-10-01 17:32:15 +02:00
Maximilian Schneider
28af7ef2cf
correctly set size when switching margin toggle
2021-10-01 13:35:57 +02:00
saml33
b38fc8594d
layout changes and est price impact
2021-10-01 00:21:45 +10:00
Maximilian Schneider
71945ff9ce
Merge remote-tracking branch 'origin/max/stoploss' into max/stoploss
2021-09-30 12:00:45 +02:00
Maximilian Schneider
82a3dcebb6
Merge branch 'align-advanced-trade-form' into max/stoploss
2021-09-30 11:51:49 +02:00
saml33
56c42a857e
trade side tab label text
2021-09-27 22:43:23 +10:00
saml33
7b69b22feb
fix size buttons for perp
2021-09-27 22:36:25 +10:00
saml33
efe04b8df1
spot margin toggle (advanced form only)
2021-09-27 22:11:19 +10:00
saml33
29af41d2c0
Merge branch 'max/stoploss' into align-advanced-trade-form
2021-09-26 23:40:02 +10:00
saml33
659e48c99f
mobile styles for new features
2021-09-26 23:20:51 +10:00