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
Maximilian Schneider
8aed0f0840
expose market config in store and switch between spot & perp
2021-06-17 01:38:49 -04:00
Tyler Shipe
cb331fb2c7
comment out stuff in the ui so it works
2021-06-16 21:50:16 -04: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
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
Tyler Shipe
f3a86a5a0c
combine quote currency balances now that we're showing all markets
2021-06-09 11:52:32 -04:00
Tyler Shipe
e68211a56b
adding settle all button temporarily to test issue in ui
2021-06-08 18:49:53 -04:00
Tyler Shipe
15bb7c56d1
fix link
2021-06-08 11:04:56 -04:00
Tyler Shipe
1afe59e4e0
update modal with sol srm info
2021-06-08 10:59:39 -04:00
Tyler Shipe
9e16290300
fix NaN on account change modal
2021-06-07 19:33:59 -04:00
Tyler Shipe
31dc68d120
add back fee discounts table
2021-06-07 18:06:00 -04:00
Tyler Shipe
485718cd1b
fix borrow modal
2021-06-07 17:56:56 -04:00
Tyler Shipe
330ef82a32
fix default margin account select
2021-06-07 16:55:10 -04:00
Tyler Shipe
aa5355e70c
fix pnl on accounts page
2021-06-07 13:28:54 -04:00
Tyler Shipe
3a57263452
fix pnl
2021-06-07 13:01:41 -04:00
Tyler Shipe
c44105e4cd
fetch trade history when switching accounts
2021-06-07 13:00:00 -04:00
Tyler Shipe
448d6e0bc3
fix leverage colors
2021-06-05 18:10:34 -04:00
Maximilian Schneider
7fb654f2c9
withdraw modal shows now more decimals
2021-06-05 18:01:01 -04:00
Tyler Shipe
e5167bdcbc
fix apy and apr
2021-06-05 15:53:19 -04:00
Tyler Shipe
b67f676383
add useOraclePrice hook and show in market header
2021-06-05 14:40:56 -04:00
Tyler Shipe
c90efd5b63
simplify utc dates in market header
2021-06-05 14:40:07 -04:00
Tyler Shipe
a1d572048b
removed leverage indicator on deposit and withdraw modals
2021-06-05 14:01:00 -04:00
Maximilian Schneider
e346eb2472
remove drop down from top bar
2021-06-05 13:31:06 -04:00
Tyler Shipe
39a9507756
default borrows to off when withdrawing
2021-06-05 13:05:40 -04:00
Tyler Shipe
eac4adc18f
add main action buttons below balances
2021-06-05 12:14:34 -04:00
saml33
3b5f22b815
User account page ( #22 )
...
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 10:11:44 -04:00
Tyler Shipe
ab277fee2b
yarn lint and yarn format
2021-05-31 16:30:59 -04:00
saml33
8865278212
remove placement prop ( #20 )
2021-05-31 14:41:48 +03:00
saml33
407bdd8c0d
increase dropdown box max-height ( #19 )
2021-05-27 16:44:25 +03:00