Commit Graph

895 Commits

Author SHA1 Message Date
tjshipe d1eb208600
Merge pull request #40 from blockworks-foundation/tradingview-order-lines
Add Tradingview Order Lines to Main
2021-10-22 22:25:43 -04:00
Tyler Shipe 77095e5049 temp: disable hourly funding to optimize queries and switch to table view 2021-10-22 11:29:15 -04:00
tjshipe 1c9a669d7c
Merge pull request #57 from rjpeterson/translation-zh
add missing translations
2021-10-22 10:57:05 -04:00
rjpeterson 25bb4413bf add missing translations to withdrawModal 2021-10-21 21:57:16 -10:00
rjpeterson 9f69a001b0 add edit-name translation 2021-10-21 15:42:39 -10:00
Tyler Shipe 5df4678d09 fix i18n punctuation 2021-10-21 21:13:43 -04:00
Tyler Shipe 308bd60177 add i18n for editing account name 2021-10-21 21:12:40 -04: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
tjshipe 20a7652bf4
Merge pull request #50 from blockworks-foundation/ImpossiblePairs-calculateTradePrice-patch-1
Fix calculateTradePrice function
2021-10-21 16:11:43 -04:00
Tyler Shipe eecf9a919d move useOrderbook login into useHydrateStore to reduce rerenders 2021-10-21 15:45:13 -04:00
tjshipe 5293e7d71b
Merge pull request #55 from rjpeterson/translation
Translation
2021-10-20 15:29:51 -04:00
rjpeterson e41f05ea2c add string interpolation to spanish file 2021-10-20 08:53:09 -10:00
rjpeterson 0733e8cda7 add missing translations, add spanish option, fix dropmenu z-index 2021-10-20 08:48:02 -10:00
Steven Sarmiento e039b1527b
adding spanish translation 2021-10-20 10:14:45 -07: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 bdc65a18f0 set default cluster to mainnet 2021-10-19 15:29:53 -04:00
Tyler Shipe 50a08599da add token config for MSRM 2021-10-19 12:48:00 -04:00
Tyler Shipe c53c35b2e4 fix: handle when no funding stats exist for acct 2021-10-18 18:00:47 -04:00
Tyler Shipe 9344defc06 Merge branch 'alpha' into main 2021-10-18 17:27:53 -04:00
Tyler Shipe a63a02c9b8 disable msrm deposit if none in wallet 2021-10-18 17:21:37 -04:00
Tyler Shipe e049456edd MSRM deposit and withdraw 2021-10-18 16:38:03 -04:00
tjshipe 60948f339b
Merge pull request #53 from blockworks-foundation/dd/fundingdisplay
showing funding rate APR in UI
2021-10-18 13:19:33 -04:00
dd 0c9e3e71f6 showing funding rate APR in UI 2021-10-18 13:15:37 -04:00
saml33 3c2e5e161f link to perp market from positions table 2021-10-18 21:34:52 +11:00
Tyler Shipe 76bf0a0320 hourly account interest chart 2021-10-18 02:50:39 -04:00
Tyler Shipe 5824d71db1 hourly funding chart 2021-10-18 01:17:07 -04:00
Tyler Shipe 71bfa3f3a5 add total funding 2021-10-17 22:34:24 -04:00
ImpossiblePairs b5f1a5f05e
Fixed handleCancelOrder conditional statement
Fixed trigger conditional statement for cancelling order
2021-10-16 12:03:33 -07:00
impossiblepairs 504613aa07 Update Order Lines for Advanced Order Types
Added ability to visualize advanced order types in the trading view chart.

Also fixed the calculateMarketPrice bug that was not setting advanced limit orders to the limit price.
2021-10-16 11:49:57 -07:00
ImpossiblePairs 3b5c84bcc4 Merge branch 'main' into tradingview-order-lines 2021-10-16 11:34:54 -07:00
ImpossiblePairs dabc7871ae
Fix calculateTradePrice function
Updated calculateTradePrice function used in the AdvancedOrderForm to incorporate the specified limit price of a Take Profit Limit or Stop Limit order.
2021-10-14 11:23:42 -07:00
Tyler Shipe 3b65fed87d fix: format decimals for perp trigger orders 2021-10-12 16:59:21 -04:00
Tyler Shipe 91427ee809 use latest client 2021-10-12 16:20:55 -04:00
Tyler Shipe dd0592feff add more info to tooltip 2021-10-11 17:46:52 -04:00
Tyler Shipe 1c64c70249 add open graph title 2021-10-11 16:47:38 -04:00
Tyler Shipe 9afc697336 fix: remove taker fee from estimated price impact 2021-10-11 15:56:11 -04:00
Tyler Shipe eb8210b0c7 Merge branch 'max/stoploss' into main 2021-10-11 14:04:16 -04:00
Tyler Shipe 361268c751 fix: bugs when changing state with new order types 2021-10-11 14:02:20 -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
saml33 5132fb9f8d show accounts and settings options on mobile 2021-10-09 21:05:45 +11:00
saml33 445bb11059
add time filters and ticks to stats charts (#47)
* add time filters and ticks

* mobile tweaks
2021-10-07 12:34:26 +01:00
Tyler Shipe b78e12d670 improve btc perp funding data for chart display 2021-10-06 15:38:30 -07:00
Maximilian Schneider 3e65e53101 display deposit & withdraw modal on mobile 2021-10-06 20:08:35 +02: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 9cb4ccf519 use new placePerpOrder market order type when closing pos 2021-10-05 17:01:44 -07:00
Maximilian Schneider 1c04018f65 Merge remote-tracking branch 'origin/max/stoploss' into max/stoploss 2021-10-05 23:02:35 +02: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 5d658754a8 fix types in EstPriceImpact 2021-10-05 15:12:26 -04:00