saml33
7f53a44345
add name account ui
2021-07-24 21:49:18 +10:00
Tyler Shipe
f79bc1639f
remove alerts from v3
2021-07-23 13:14:18 -04:00
Tyler Shipe
8207659bb1
cleanup
2021-07-23 13:07:31 -04:00
saml33
34a4e5ee19
fix broken icons on page load
2021-07-22 22:50:50 +10:00
saml33
a5c643ab56
improve spot balances panel layout
2021-07-22 22:25:18 +10:00
saml33
d0797bf194
connect wallet empty states
2021-07-22 21:34:03 +10:00
Tyler Shipe
784c1c9d50
format stat numbers with commas
2021-07-21 17:47:10 -04:00
Tyler Shipe
05a46993ba
add basic stats page
2021-07-21 17:26:18 -04:00
Tyler Shipe
562753f937
Merge branch 'main' into stats-page
2021-07-21 17:12:04 -04:00
Tyler Shipe
872c8c3581
add notification after settle all
2021-07-21 17:11:17 -04:00
Tyler Shipe
5c48d96775
don't try load market before group is loaded
2021-07-21 13:40:42 -04:00
Tyler Shipe
5077b5f182
add temp deposit withdraw buttons
2021-07-21 12:34:59 -04:00
Tyler Shipe
c6886c884e
fix size of margininfo pane
2021-07-21 12:07:15 -04:00
saml33
ce0eeffac0
add additional spot/perp data to trade page
2021-07-21 11:56:45 -04:00
Tyler Shipe
8beecf59f5
support sol deposits and withdrawals
2021-07-20 15:21:09 -04:00
Tyler Shipe
6e0018e251
reduce x padding
2021-07-19 23:04:26 -04:00
Tyler Shipe
9b110bc507
refresh open orders after canceling a differentmarket
2021-07-19 20:42:55 -04:00
Tyler Shipe
9a817e95f6
information density
2021-07-19 16:24:49 -04:00
Tyler Shipe
1a98657c7f
simplify margin balances on trade page
2021-07-19 13:13:03 -04:00
saml33
29079a9957
Merge pull request #5 from blockworks-foundation/market-select
...
Market select
2021-07-19 09:52:39 +10:00
Tyler Shipe
48ba367384
reset grid local storage key
2021-07-18 13:44:01 -04:00
saml33
038c7bb01b
new icons and show custom markets
2021-07-19 00:39:27 +10:00
saml33
f06d14d8f6
switch markets via base asset drop menu
2021-07-17 23:49:52 +10:00
Tyler Shipe
ee271efb7e
update positions table to use perpmarket base and quote decimals
2021-07-14 15:41:54 -04:00
Riordan Panayides
0ad4fccf20
Add basic perp stats component
2021-07-13 14:52:48 +01:00
Riordan Panayides
03349b7892
Merge remote-tracking branch 'origin/main' into stats-page
2021-07-13 14:46:09 +01:00
Tyler Shipe
dda50c8aee
update to latest client; use toFixed for I80F48
2021-07-12 12:55:16 -04:00
dd
ca85a90b38
changed Balances interface for net; use toFixedUi
2021-07-08 10:16:39 -04:00
Tyler Shipe
0c82280855
fix trade history and refresh data bugs
2021-07-07 17:18:54 -04:00
Tyler Shipe
c11890582d
handle rounding errors
2021-07-07 16:38:04 -04:00
Tyler Shipe
6606dc1bff
update tradeForm
2021-07-07 13:27:11 -04:00
Tyler Shipe
1bb61ad905
use latest PerpMarket field names
2021-07-07 11:46:25 -04:00
Tyler Shipe
53163e07a8
add more account values
2021-07-07 00:34:21 -04:00
Tyler Shipe
54b6230314
fill in account asset values
2021-07-06 20:13:17 -04:00
Tyler Shipe
a0ba6f44e8
update notifications, wire up account change modal
2021-07-06 18:04:20 -04:00
Tyler Shipe
c5ce8e965f
render the accounts page
2021-07-05 14:21:57 -04:00
Tyler Shipe
974b41f2bf
use I80F48 greater than
2021-07-05 13:18:54 -04:00
Tyler Shipe
c355f7132e
add Borrows page and health ratio
2021-07-05 11:03:57 -04:00
Riordan Panayides
aea7b84b21
WIP stats page, market header oracle price
2021-07-03 02:18:57 +01:00
Riordan Panayides
a17ec8b464
Update stats page
2021-07-02 13:07:24 +01:00
Tyler Shipe
671e50eba0
wip: max borrow calculations
2021-07-01 13:35:47 -04:00
Maximilian Schneider
f516959f51
add position table component
2021-06-28 06:44:48 +02:00
Maximilian Schneider
40c46a6b98
add Positions table just displaying raw contract data
2021-06-25 13:30:51 +02:00
Tyler Shipe
e9cdeb8a08
add settle all spot markets to balances
2021-06-24 18:15:23 -04:00
Tyler Shipe
619295d2e0
parsed trade history for perps
2021-06-24 16:57:11 -04:00
Tyler Shipe
d44e6476b4
add orderbook mid price for perp
2021-06-24 13:54:59 -04:00
Tyler Shipe
25d41f2f58
display unparsed perp history
2021-06-24 12:30:45 -04:00
Tyler Shipe
cb44650367
connect perp market to websocket for orderbook
2021-06-23 15:09:19 -04:00
saml33
af19cc7b23
toggle between spot and perp markets
2021-06-23 14:17:03 -04:00
Maximilian Schneider
778f8fac05
reenable health
2021-06-23 19:26:18 +02:00
Tyler Shipe
1b02a53314
update naming to match client
2021-06-23 11:32:33 -04:00
Tyler Shipe
0d64771bc2
show spot balances
2021-06-22 23:32:10 -04:00
Tyler Shipe
2a1e13a1b0
show current market event queue fills
2021-06-21 15:02:12 -04:00
Tyler Shipe
9ca3b8826b
handle missing wallet tokens in deposit
2021-06-21 10:36:04 -04:00
Tyler Shipe
6416e84828
fix deposit import
2021-06-21 09:54:56 -04:00
Tyler Shipe
c4ccc37110
more errors
2021-06-20 23:22:45 -04:00
Tyler Shipe
78ef4b4184
fix build errors
2021-06-20 21:21:37 -04:00
Tyler Shipe
8d4dabb6d0
add spot trade history fills and raw health score
2021-06-20 15:11:36 -04:00
Maximilian Schneider
107c2e8ed3
add cancel perp order call and remove unused imports
2021-06-19 00:26:47 -04:00
Maximilian Schneider
2c487348f6
open orders are kinda adapted
2021-06-18 23:07:57 -04:00
Maximilian Schneider
bdbc9f2822
fix display issue in order book flip
2021-06-18 19:23:09 -04:00
Maximilian Schneider
1fe235df8d
fix trading view crash loop
2021-06-18 19:13:17 -04:00
Maximilian Schneider
e256ed4754
small fixes
2021-06-18 18:57:13 -04:00
Maximilian Schneider
ccad1015f3
base & quote symbol
2021-06-18 18:53:24 -04:00
Maximilian Schneider
dcbb37fbb7
simple json stuff
2021-06-18 18:51:34 -04:00
Tyler Shipe
054cc5c82e
remove console logs and fetch all markets
2021-06-18 18:38:09 -04:00
Tyler Shipe
d3af1ac5b1
show open orders and wire up cancel order
2021-06-18 16:46:20 -04:00
Maximilian Schneider
4d7b02e6a0
place perp order works now
2021-06-18 14:07:07 -04:00
dd
62bc1b536f
Fixed minOrderSize and tickSize in TradeForm
2021-06-18 13:50:25 -04:00
Tyler Shipe
6e29de28ef
fix deposit modal
2021-06-18 12:49:16 -04:00
Maximilian Schneider
60665d19fe
cleanup orderbook types
2021-06-18 11:29:52 -04:00
Tyler Shipe
3df663614a
use imported mangoClient in trade form; display userInfo component
2021-06-18 11:17:49 -04:00
Tyler Shipe
370d25f7bd
fix init and deposit; fix disconnect bug
2021-06-17 21:10:47 -04:00
Maximilian Schneider
c610da11aa
reenable trade form
2021-06-17 20:32:45 -04:00
Maximilian Schneider
bc773ff665
ignore volume loading issue
2021-06-17 20:32:14 -04:00
Tyler Shipe
a16608c95d
implement deposit
2021-06-17 18:39:16 -04:00
Maximilian Schneider
12b69398d2
make bids & asks invariant between perp & spot, also reenable trade form
2021-06-17 18:37:03 -04:00
Maximilian Schneider
4d3dae3b1a
load order books both from perp & spot
2021-06-17 17:07:10 -04:00
Maximilian Schneider
2307246dd0
fix deposit modal rendering
2021-06-17 14:42:39 -04:00
Tyler Shipe
c6dab39463
add interest rates
2021-06-17 14:40:44 -04:00
Maximilian Schneider
275fafa4c4
refactor deposit modal
2021-06-17 14:03:47 -04:00
saml33
90cbbf8531
fix data passed to borrow chart
2021-06-17 20:14:11 +10:00
Maximilian Schneider
8aed0f0840
expose market config in store and switch between spot & perp
2021-06-17 01:38:49 -04:00
saml33
2d7783ba98
Merge branch 'stats-page' of github.com:blockworks-foundation/mango-ui-v2 into stats-page
2021-06-17 14:26:08 +10:00
saml33
5a30a1314b
use current price if no match from prices api
2021-06-17 14:19:35 +10:00
Tyler Shipe
cb331fb2c7
comment out stuff in the ui so it works
2021-06-16 21:50:16 -04:00
Maximilian Schneider
6c4507cfc6
fix lint errors
2021-06-16 12:17:51 -04:00
Maximilian Schneider
d31eb4b119
Merge remote-tracking branch 'origin/main' into stats-page
2021-06-16 12:07:13 -04:00
saml33
107d9cb883
use historic prices for total deposits/borrows
2021-06-15 20:24:40 +10:00
Maximilian Schneider
3dbbe87ded
fix data issues when switching markets ( #31 )
2021-06-12 22:03:05 -04:00
Maximilian Schneider
3b66cf9090
fix volume sometimes null ( #30 )
2021-06-12 20:04:13 -04:00
Tyler Shipe
4476a2254e
rebate gui hoster fees to users
2021-06-12 13:46:06 -04:00
saml33
e14350e624
disable 0 bal assets for deposits and fix withdraw validations ( #25 )
2021-06-11 14:23:51 -04:00
saml33
e5dc75456e
round large numbers
2021-06-11 23:39:44 +10:00
saml33
0ec22513d6
reduce icon size to match trade page
2021-06-11 19:54:49 +10:00
saml33
c1638183db
merge main
2021-06-11 11:12:35 +10:00
saml33
c69045f652
responsive and bar chart
2021-06-11 11:07:32 +10:00
saml33
a3d74a5488
total deposit/borrow value charts, new chart styles
2021-06-11 00:09:25 +10:00
ImpossiblePairs
2f066cb92c
Updated TradeForm.tsx UI Bugs
...
Added handling of USDT orders below minimum size (e.g. $1), removed ability to execute trades at half minimum order size due to rounding, and allowing user input leading with numerical input that is not strictly a number (e.g. decimal point).
2021-06-09 15:30:53 -07:00
Tyler Shipe
956664b91f
show accounts in select when length is greater than two
2021-06-09 12:28:33 -04:00