Commit Graph

2504 Commits

Author SHA1 Message Date
Nicholas 0b82952a2b fix liquidation fee 2022-10-15 13:17:56 -07:00
tjs d6dd200dda deposit modal update 2022-10-11 19:37:21 -04:00
riordanp 61a3f4e1c4
Run prettier on production branch and pre-commit (#419)
* Run Prettier

* Enable CI checks for production branch, add prettier to pre-commit hook
2022-10-04 15:38:02 +02:00
saml33 503356378e
Trade button loader (#416)
* reduce rerenders on tvchartcontainer

* fix profile load on unowned account page

* merge main

* add loader to trade button

Co-authored-by: tjs <tjshipe@gmail.com>
2022-10-04 13:21:07 +02:00
saml33 df763754ee
edit exposure chart title copy (#418) 2022-10-04 13:20:19 +02:00
Riordan Panayides 75b215c886 Fix 10k fee tier display 2022-09-25 23:42:06 +02:00
riordanp ddd8273cff
Merge pull request #417 from blockworks-foundation/pan/fees-tiers
Add new tier to fees page
2022-09-25 22:31:34 +01:00
Riordan Panayides 89f5ff453f Add helper for 4 fraction digit percentages 2022-09-25 23:19:01 +02:00
Riordan Panayides e7677f2688 Update fees page with new tier 2022-09-25 23:14:05 +02:00
tjs e373808e0d Merge branch 'production' into main 2022-09-19 16:49:56 -04:00
tjs 3e9972b3f4 use next.js 12.2 2022-09-19 16:48:59 -04:00
tjs dc42a3d980 Merge branch 'main' into production 2022-09-19 15:47:15 -04:00
tjs 6d24d7a2f7 fix leaderboard 2022-09-19 15:47:00 -04:00
Maximilian Schneider 116b0faac0 do not load study templates if user isnt signed in yet 2022-09-19 14:45:45 +02:00
Maximilian Schneider 284acd36cc fix type error on mango account lookup 2022-09-19 14:30:19 +02:00
rjpeterson 3cae12706f
fix bug where all but most recent trade execution disappears on order fill (#415) 2022-09-18 19:50:08 +02:00
tjs 58c277a4db Merge branch 'production' into main 2022-09-16 18:21:23 -04:00
tjs 5129bf722c add path to errorboundary 2022-09-16 18:21:08 -04:00
tjs f01a27fcea update triton rpc url 2022-09-16 16:16:00 -04:00
tjs c2d6073e42 Merge branch 'production' into main 2022-09-15 20:48:12 -04:00
tjs b23b2db38b add syndica rpc url 2022-09-15 20:47:08 -04:00
Maximilian Schneider 4bcf328581 add project id (#412) 2022-09-15 17:40:57 -04:00
rjpeterson 650855368e Add execution arrows to tradingview chart (#408)
* initial attempt. still kind of broken. some arrows dont appear, some appear where they shouldnt

* use drawTradeExecutions instead of drawShape

* remove console log

* remove extra line

* add trade execution display limit and toggle switch

* re-add trade execution removal block

* remove code that wasnt supposed to be committed

* Debugging

Trade history and account switching debugging.

* almost working except is lagging behind by one account change

* remove unused import

* rearrange order of operatiosn/useEffect calls, remove unused code/comments/logs

* Testing Unowned MangoAccounts

Loading of unowned mango account trade executions.

Not fully working when trying to switch accounts.

* debugging, default execution arrows to false, dont store between sessions

* remove unowned account functions

Co-authored-by: ImpossiblePairs <47860274+ImpossiblePairs@users.noreply.github.com>
2022-09-15 17:40:57 -04:00
tjs dac3258d9b use latest mango client for new computbudget ix
upgrade deps
2022-09-15 17:33:09 -04:00
saml33 08308c6902 re-add edit account name (#410) 2022-09-15 17:33:02 -04:00
saml33 518ccf607a remove serum competition content (#414) 2022-09-15 17:32:55 -04:00
tjshipe b9794ea6a5 Merge pull request #413 from blockworks-foundation/fix-profile-load
fix profile load on unowned account page
2022-09-15 17:32:39 -04:00
tjs a2ac5551ed reduce rerenders on tvchartcontainer 2022-09-15 17:32:14 -04:00
tjs fcd9c2d0c1 Merge branch 'main' into production 2022-09-07 14:48:18 -04:00
tjs 86d4eac7fc add bg color to body tag 2022-09-07 14:48:04 -04:00
tjs d7204bd1f2 Merge branch 'production' into main 2022-09-07 14:12:41 -04:00
tjs f0d120c72f maybe move liq price to account summary panel 2022-09-07 14:02:21 -04:00
tjs 5c92d8d7c2 Merge branch 'main' into production 2022-09-07 13:41:41 -04:00
tjshipe a07277df07
Merge pull request #411 from blockworks-foundation/pan/fix-fees
Fix fees page
2022-09-07 13:40:49 -04:00
Riordan Panayides e781db3b18 Fix ref fee params names 2022-09-07 17:35:40 +01:00
tjs 606317a1c4 better perp reloading 2022-09-06 22:01:13 -04:00
tjs 2819f6b365 better perp reloading 2022-09-06 16:28:02 -04:00
tjs 3c71197e58 Merge branch 'production' into main 2022-09-06 15:29:39 -04:00
tjs 2c3c5dddbb better open order refreshing 2022-09-06 15:23:43 -04:00
tjs e13426f091 show empty field if unrealized pnl cant be calculated 2022-09-06 14:13:17 -04:00
tjs 41450faf55 safe check stats api length 2022-09-06 13:39:36 -04:00
tjs df1591ea14 handle when stats api doesn't load 2022-09-06 13:28:22 -04:00
tjs 7983e4d6a8 Merge branch 'production' into main 2022-09-05 21:28:19 -04:00
tjs 3ae1a48298 store a new mango acct object to improve rerenders on changes 2022-09-05 21:28:06 -04:00
Maximilian Schneider 3a86ff24d7
switch to node 16 (#409)
* switch to node 16

* run prettier
2022-08-31 15:39:50 +02:00
saml33 089579f27d
add est liq price to balances table (#366)
* add est liq price to balances

* add est liq price tooltip
2022-08-31 13:42:05 +02:00
saml33 ad27c58ea9
change msol performance color (#406)
* change msol performance color

* Update LongShortChart.tsx

* Update LongShortChart.tsx

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-08-31 13:37:58 +02:00
saml33 09ea1834ad
remove pnl info (#407)
* remove pnl info

* edit vol prize amount
2022-08-31 13:25:08 +02:00
tjs d6e78171ee Merge branch 'production' into main 2022-08-30 14:20:12 -04:00
tjs 0becdd4ef7 add a connection spinner to wallet connect button 2022-08-30 14:19:58 -04:00