Commit Graph

126 Commits

Author SHA1 Message Date
Maximilian Schneider 31b9737f59 allow selecting SL & TP directly 2021-09-24 20:38:05 +02:00
Maximilian Schneider 724bb77ef4 fetch open orders on wallet connect 2021-09-23 22:52:16 +02:00
Maximilian Schneider d310e0b66f [wip] visualize & cancel trigger order and fuck up order reloading 😭 2021-09-23 13:50:34 +02:00
Tyler Shipe 419f7d607c Merge branch 'ts/spot-order-2' into max/stoploss 2021-09-22 23:20:56 -04:00
Tyler Shipe 8ac61f4b3e yarn format and remove console.log 2021-09-21 16:19:01 -04:00
Maximilian Schneider 8abbce0238 [wip] add trigger order components 2021-09-21 20:04:33 +02:00
Tyler Shipe 5bb39c4bcb use endpoint env var 2021-09-20 19:50:36 -04:00
Tyler Shipe f1d59d32e1 use placeSpotOrder2 and add reduce only orders for perps 2021-09-15 20:25:23 -04:00
Tyler Shipe 824e8cc7ae fix to use rpc url from localstorage on first connection 2021-09-14 12:27:38 -04:00
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe 732d854c36 add manual refresh to ui 2021-09-09 20:23:02 -04:00
Tyler Shipe 33070aef91 reduce getProgramAccount calls 2021-09-07 19:31:02 -04:00
Tyler Shipe e5b67857af retry transaction more frequently; use tx callback for notifications 2021-09-04 17:59:53 -04:00
Tyler Shipe d522dfaa0f use latest client for faster mango account loading 2021-09-02 10:39:12 -04:00
Tyler Shipe 4f20fc6542 use client reloadMangoAccount 2021-08-31 13:47:03 -04:00
Tyler Shipe 63e151f516 prevent useOrderbook from updating during market change
fixes white screen error
2021-08-27 20:15:25 -04:00
Tyler Shipe 2ecd1b2122 perp market close position button 2021-08-26 11:58:13 -04:00
Tyler Shipe 44bd6dc5a7 use latest mango-client 2021-08-25 13:12:43 -04:00
Tyler Shipe 38ab3f9914 refresh mango acct more frequently; add error notification on failure 2021-08-25 11:50:39 -04:00
Tyler Shipe 66bf66fc7c remove unused utils fns 2021-08-25 10:23:30 -04:00
Tyler Shipe 5fdc4437d4 update orderbooks faster 2021-08-24 13:19:34 -04:00
Tyler Shipe 1c0962031b add notification when sol balance is low and when connecting wallet; disable connect button until walletadapter is loaded 2021-08-24 12:28:25 -04:00
Tyler Shipe 72eda925c1 use event-history-api for spot trades 2021-08-23 18:37:48 -04:00
Tyler Shipe b3cc717c86 use context slot to sync orderbook updates 2021-08-23 13:12:48 -04:00
Maximilian Schneider 4fb0126d18 switch default to mainnet 2021-08-20 12:10:47 +02:00
Tyler Shipe 2948bb6ab3 add env var for group name 2021-08-19 14:00:32 -04:00
Tyler Shipe b7a6a5086d use latest client 2021-08-19 13:49:44 -04:00
dd 800bea3306 added in self cranking for perp orders 2021-08-17 16:36:31 -04:00
Tyler Shipe 65494917c1 add back account naming; await root bank loading 2021-08-17 13:47:52 -04:00
Tyler Shipe a219d7de12 use api.devenet.solana 2021-08-17 13:35:30 -04:00
Tyler Shipe afb09d828b add srm dex fee discount table 2021-08-17 13:14:39 -04:00
Tyler Shipe 5ff5fb2914 use latest client 2021-08-16 20:05:57 -04:00
Tyler Shipe 7cf80b566c remove blur from modals 2021-08-16 13:59:44 -04:00
Tyler Shipe b2f6eece1c fetch perp trade history from db 2021-08-13 11:05:49 -04:00
Tyler Shipe 0e78061ceb use new group 2021-08-12 12:09:45 -04:00
Tyler Shipe c5866ee610 make health ratio red if init health is at or below zero 2021-08-04 17:47:05 -04:00
Tyler Shipe 02088a5d1c wire up redeem mngo to perp position table 2021-08-04 11:42:56 -04:00
Tyler Shipe 65eea96aa8 add fetchTradeHistory fn 2021-08-03 13:59:16 -04:00
saml33 1f82731a85 add unsettled balances ui 2021-08-01 22:48:15 +10:00
Tyler Shipe 2e33486dbb use latest group 2021-07-28 19:03:21 -04:00
Tyler Shipe f5e97aa7dc use liab weight in max borrow 2021-07-27 13:05:05 -04:00
Tyler Shipe 1f73cfbd7a merge 2021-07-26 09:44:21 -04:00
Tyler Shipe f79bc1639f remove alerts from v3 2021-07-23 13:14:18 -04:00
Tyler Shipe 9b110bc507 refresh open orders after canceling a differentmarket 2021-07-19 20:42:55 -04:00
Tyler Shipe c330b895a4 latest client 2021-07-19 18:06:09 -04:00
Tyler Shipe f26ec2165c remove root bank rpc calls 2021-07-19 17:28:30 -04:00
Tyler Shipe 1a98657c7f simplify margin balances on trade page 2021-07-19 13:13:03 -04:00
Tyler Shipe 9105a06960 use latest client and group 2021-07-17 07:57:22 -04:00
Tyler Shipe f5ec9c4f23 use latest client and new group 2021-07-16 14:31:58 -04:00
Tyler Shipe 61feb5333f use latest group 2021-07-15 15:56:43 -04:00