Commit Graph

409 Commits

Author SHA1 Message Date
Tyler Shipe a0d2579d70 add pat to download merps-ts 2021-06-20 17:41:41 -04:00
Tyler Shipe 99f3231d58 netlify deploy 2021-06-20 16:14:25 -04:00
Tyler Shipe 8d4dabb6d0 add spot trade history fills and raw health score 2021-06-20 15:11:36 -04:00
Maximilian Schneider 135e3012af cancel perp order fixed 2021-06-19 02:47:02 -04:00
Maximilian Schneider 107c2e8ed3 add cancel perp order call and remove unused imports 2021-06-19 00:26:47 -04:00
Maximilian Schneider 5b7ea2a889 fix linter issues 2021-06-18 23:35:22 -04:00
Maximilian Schneider 2c487348f6 open orders are kinda adapted 2021-06-18 23:07:57 -04:00
Tyler Shipe 3f3ffb1a37 spot market orderbook on websockets 2021-06-18 19:57:02 -04:00
Maximilian Schneider bdbc9f2822 fix display issue in order book flip 2021-06-18 19:23:09 -04:00
Maximilian Schneider eb42f877fd fix perp order book render 2021-06-18 19:19:17 -04:00
Maximilian Schneider 1fe235df8d fix trading view crash loop 2021-06-18 19:13:17 -04:00
Maximilian Schneider 08a6a8dfdf one more 2021-06-18 18:59:00 -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
saml33 b2fd941223 update prices endpoint url 2021-06-18 13:43:49 +10:00
Tyler Shipe 370d25f7bd fix init and deposit; fix disconnect bug 2021-06-17 21:10:47 -04:00
Tyler Shipe fd8df42503 update packages 2021-06-17 20:44:03 -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 dc4cf3412c latest client 2021-06-17 18:39:59 -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 4ef75d0b39 add root banks key to useMangoStore 2021-06-16 21:55:46 -04: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
Maximilian Schneider bfebd8a900 fix babelrc to handle logical assignment ops 2021-06-16 12:05:03 -04:00
Tyler 02183890ef
Merge pull request #34 from blockworks-foundation/dd/place_settle_fix
only send pre-settle instructon if open orders account already exists
2021-06-16 10:24:19 -04:00
dd 1087750421 only send pre-settle instructon if open orders account already exists 2021-06-16 10:23:01 -04:00
Tyler 3bd8343f3d
Merge pull request #32 from blockworks-foundation/dd/improve_place_settle
Added a settle instruction before place and settle to reduce compute …
2021-06-15 15:31:43 -04:00
dd 5b66381805 Added a settle instruction before place and settle to reduce compute by 30k 2021-06-15 15:29:10 -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