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
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
Tyler Shipe
6925a46df8
Revert "Revert "add interest earned table to account page""
...
This reverts commit 03dc3cd001
.
2021-10-01 11:42:42 -04: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
Tyler Shipe
03dc3cd001
Revert "add interest earned table to account page"
...
This reverts commit 0f6d39043f
.
2021-09-28 11:58:15 -04:00
saml33
229d9a8fbf
expose pnl on mobile table row
2021-09-28 23:15:36 +10:00
Tyler Shipe
0f6d39043f
add interest earned table to account page
2021-09-28 00:13:40 -04:00
saml33
242f46bbb7
fix -0 balance
2021-09-28 13:00:13 +10:00
saml33
4c4533509e
fix mobile stats
2021-09-28 00:21:13 +10:00
Riordan Panayides
9eabaa3b01
Trim bad data from first few hours of sol-perp stats ( #38 )
2021-09-25 12:17:17 +02:00
Tyler Shipe
0e389e7c3b
remove console.logs
2021-09-22 23:14:21 -04:00
Tyler Shipe
13c3e3ad5c
Hide average rates if we haven't passed the period length
2021-09-22 17:22:31 -04:00
Tyler Shipe
6513d046e6
Use deposit and borrow index to calculate average rates
2021-09-22 16:52:42 -04:00
saml33
6c443936a3
fix mobile orderbook asks order
2021-09-22 19:26:59 +10:00
saml33
53e3f42ba1
remove scroll on position panel
2021-09-21 19:50:53 +10:00
Maximilian Schneider
228b9ae09b
add assets to stats page
2021-09-21 11:28:24 +02:00
saml33
615e858cab
add maker/taker fees back to trade form
2021-09-21 10:08:38 +10:00
saml33
782157b5be
fix mobile chart display
2021-09-21 07:49:26 +10:00
Tyler Shipe
745ce39647
add padding between prices on orderbook for md+ screens
2021-09-20 15:39:20 -04:00
Tyler Shipe
ce301c07df
use latest price for funding rate until avg is available
2021-09-20 14:37:38 -04:00
saml33
04913c2a3a
fix trade history tab display
2021-09-20 23:15:44 +10:00
saml33
cc45750a59
fix null open orders
2021-09-20 22:46:22 +10:00
saml33
3e1b872e42
align mobile tab headings
2021-09-20 22:24:42 +10:00
saml33
07ad9cf4b3
fix orderbook padding
2021-09-20 19:56:50 +10:00
saml33
e1f4a9baf8
revert market position key
2021-09-20 15:00:02 +10:00
saml33
7e8f3e12af
tradeform buttons
2021-09-20 13:28:37 +10:00
saml33
1830986e40
remove swipeable tabs from desktop views
2021-09-20 13:21:55 +10:00
saml33
3d777a4ab1
increase horizontal page container padding
2021-09-20 10:50:51 +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
Tyler Shipe
824e8cc7ae
fix to use rpc url from localstorage on first connection
2021-09-14 12:27:38 -04:00
saml33
9b3faddc3d
fix negative borrow amount
2021-09-14 11:32:36 +10:00
Tyler Shipe
9162ffbe3a
use dropdown for node selection
2021-09-13 19:27:02 -04:00
Tyler Shipe
83d72c8aaa
fix issue with mangoclient import
2021-09-13 17:21:58 -04:00
Tyler Shipe
c1269298b9
use custom endpoint url
2021-09-13 17:14:59 -04:00
Tyler Shipe
cc87df1c02
optional numTrades for tradehistory
2021-09-13 12:40:28 -04:00
Tyler Shipe
c91d65e933
only show 100 recent trades in history tab
2021-09-13 12:28:53 -04:00
Maximilian Schneider
97721bf678
Open BTC-Perp when navigating to trade page
2021-09-13 02:37:43 +02:00
Tyler Shipe
445aabd506
fix z-index
2021-09-12 12:11:58 -04:00
Tyler Shipe
288b14a167
fixed charts in dev mode
2021-09-11 18:41:14 -04:00
Tyler Shipe
e080ff8120
fix clickable size in orderbook
2021-09-10 13:28:18 -04:00
saml33
8309a05bac
add average rates tables
2021-09-10 18:30:25 +02:00
saml33
54fa99aaf5
Merge pull request #30 from blockworks-foundation/stats-table-mobile
...
stats table mobile
2021-09-10 11:45:04 +10:00
Tyler Shipe
732d854c36
add manual refresh to ui
2021-09-09 20:23:02 -04:00
saml33
00d02ccde1
stats table mobile
2021-09-09 23:14:20 +10:00
saml33
13e46c3425
remove available balance from max borrow amount
2021-09-09 08:23:24 +10:00
Tyler Shipe
e303c6927c
add sol amount needed to create a mango account
2021-09-08 15:11:02 -04:00
Tyler Shipe
5bcec8dd69
change interval to refresh trade history
2021-09-08 14:08:54 -04:00