Commit Graph

1223 Commits

Author SHA1 Message Date
Tyler Shipe 5604423709 add loading spinner when claiming mngo rewards 2021-12-03 18:33:28 -05:00
Tyler Shipe 3ce0e1580e use latest mango client 2021-12-03 17:36:34 -05:00
dd 8438df9ccc added logic for warning user about stop loss slippage; Added TODO for tyler 2021-12-03 17:21:21 -05:00
Yandre 5c5d52c7c0 Refactored code per @saml33's suggestion 2021-12-03 16:39:36 -05:00
Tyler Shipe 2a05123784 set reduceOnly false when changing order types 2021-12-03 13:36:31 -05:00
dd c8e62cf926 removed subscribes in market close modal 2021-12-03 13:03:42 -05:00
Tyler Shipe a80f03247f use latest mango-client 2021-12-03 13:01:09 -05:00
dd 007f874563 added range checks for slippage 2021-12-03 12:31:22 -05:00
Tyler Shipe 35df138859 fix link to markets from trade history 2021-12-03 12:29:15 -05:00
tjshipe 83a5e7772c
Merge pull request #102 from blockworks-foundation/revert-75-mango_heroes
Revert "Mango Heroes NFT Integration"
2021-12-03 11:04:15 -05:00
tjshipe 8f380933bb
Revert "Mango Heroes NFT Integration" 2021-12-03 11:03:51 -05:00
tjshipe 0aa16f0a8d
Merge pull request #75 from Mango-Heroes/mango_heroes
Mango Heroes NFT Integration
2021-12-03 11:03:44 -05:00
dd b8b4dea539 adjusted text for market close 2021-12-03 11:01:02 -05:00
dd 8b7fcd30c1 merged in main 2021-12-03 10:45:29 -05:00
dd 765a7f768e Merge branch 'main' into dd/limitioc
# Conflicts:
#	components/trade_form/AdvancedTradeForm.tsx
2021-12-03 10:40:47 -05:00
saml33 2ee67b4693 merge and default slippage to 2.5% 2021-12-03 21:39:10 +11:00
saml33 7f28a68008 add set custom max slippage 2021-12-03 21:34:10 +11:00
Tyler Shipe 0ae021596c Show reduce only flag for now when doing a market order 2021-12-03 02:38:17 -05:00
dd c99c63db14 Revert "Added 'Z' to time strings sent by history API to be consistent with ISO 8601"
This reverts commit 15e2035fea.
2021-12-03 02:08:41 -05:00
dd 15e2035fea Added 'Z' to time strings sent by history API to be consistent with ISO 8601 2021-12-03 01:18:05 -05:00
dd 60b2c4b92d updated MarketClose to have maxSlippage at 2.5% 2021-12-03 00:15:03 -05:00
Tyler Shipe a8fd63c3e2 clean up stats page 2021-12-02 23:56:57 -05:00
dd 1adb0d8f34 added postOnlySlide 2021-12-02 23:30:59 -05:00
dd 588ae8dd18 Looks like max slippage on perp Market orders is working 2021-12-02 21:38:44 -05:00
Yandre 0f2d073fb1 Fixed issue with Trading tab's filename 2021-12-02 19:39:56 -05:00
Yandre 40e7c2875c Added code to export data to CSV file 2021-12-02 19:37:20 -05:00
Tyler Shipe 3c4b4c1132 use latest mango-client 2021-12-02 18:41:21 -05:00
dd f248ab7805 Added code for maxSlippage and removal of market order type; Changed mark price to just be book mid. 2021-12-02 17:33:35 -05:00
Yandre 43776f6f03 Pulled latest code from main 2021-12-02 17:14:14 -05:00
Tyler Shipe df98fbacd4 remove console logs 2021-12-02 11:22:13 -05:00
Tyler Shipe 8df197fdb9 try again fixing tv chart 2021-12-02 01:07:34 -05:00
Tyler Shipe f58433ac0b fix useEffect in trading view chart 2021-12-01 21:59:57 -05:00
Tyler Shipe 1b00fda626 revert 2021-12-01 16:13:49 -05:00
Tyler Shipe 33c9532a2f only set chart symbol if it changes 2021-12-01 16:05:01 -05:00
Tyler Shipe 120955463b remove filter from orderbook 2021-12-01 15:45:18 -05:00
Tyler Shipe 459c63daa2 expand trading view component by reducing padding 2021-12-01 11:49:28 -05:00
saml33 05ac2e65ad remove fetchmangogroup from cancel/modify functions 2021-12-01 20:21:02 +11:00
Tyler Shipe 5d9b95e72b handle missing token icon in market menu 2021-12-01 02:14:23 -05:00
Tyler Shipe eb1fbb1f15 fix for when wallet pubkey doesn't exist 2021-12-01 01:52:39 -05:00
Tyler Shipe 50c514939c dont disable trade button if not enough sol 2021-12-01 01:18:12 -05:00
tjshipe f91d363158
Merge pull request #93 from rjpeterson/no-sol-notif
disable trade button and show warning when user has no SOL
2021-12-01 01:14:23 -05:00
tjshipe 351d61e4f3
Merge pull request #83 from rjpeterson/update-translations
Add recent UI translations
2021-12-01 01:13:12 -05:00
tjshipe 68e4f4d19d
Merge branch 'main' into update-translations 2021-12-01 01:12:59 -05:00
Tyler Shipe 6488eb6802 fix console errors 2021-12-01 00:38:05 -05:00
Tyler Shipe ef095fad9a even y axis padding on market detail component 2021-12-01 00:04:24 -05:00
Tyler Shipe eb81b20e3f fix trading view flashing when changing markets 2021-12-01 00:00:09 -05:00
Tyler Shipe b9c8dd09d5 use lodash instead of lodash-es 2021-11-30 21:46:23 -05:00
Tyler Shipe 33f49e8049 remove duplicate chart library folder 2021-11-30 20:17:45 -05:00
Tyler Shipe 84233b2a56 improve rerender when cancelling orders for a market other than the one selected 2021-11-30 18:35:49 -05:00
Tyler Shipe 2d824c2213 add lastUpdatedAt to improve useMangoAccount rerendering trigger 2021-11-30 16:04:55 -05:00