Commit Graph

869 Commits

Author SHA1 Message Date
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
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
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
Tyler Shipe 2b9f26af4c only use local storage for node url if on mainnet 2021-10-05 14:24:24 -04:00
Tyler Shipe b8c6a1bbf7 use avg oracle price to calculate funding rate 2021-10-05 11:46:01 -04:00
Riordan Panayides b3f2843bd2 Fix null mangoAccount 2021-10-05 03:14:07 +01:00
Tyler Shipe c503f81db5 display in the ui when beingLiquidated is true 2021-10-04 21:55:29 -04:00
saml33 f5f243a9a8
pre-fill spot balance (#41)
* pre-fill spot balance

* fix undefined basePosition
2021-10-03 04:01:06 +02: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
Tyler Shipe 6925a46df8 Revert "Revert "add interest earned table to account page""
This reverts commit 03dc3cd001.
2021-10-01 11:42:42 -04: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 dbbb415060
Default market settings (#45)
* add default market settings to settings modal

* redirect to default market
2021-10-01 12:05:42 +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
Tyler Shipe 7feb881bb3 rename fetchMangoAccounts to fetchAllMangoAccounts; prefer reloadMangoAccount over fetchAllMangoAccounts 2021-09-29 18:09:58 -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