Commit Graph

134 Commits

Author SHA1 Message Date
Tyler Shipe bdc65a18f0 set default cluster to mainnet 2021-10-19 15:29:53 -04:00
Tyler Shipe 50a08599da add token config for MSRM 2021-10-19 12:48:00 -04:00
Tyler Shipe e049456edd MSRM deposit and withdraw 2021-10-18 16:38:03 -04:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
Tyler Shipe 2b9f26af4c only use local storage for node url if on mainnet 2021-10-05 14:24:24 -04:00
Maximilian Schneider 82dcd960c0 revert to buy/sell in trade button 2021-10-03 03:21:26 +02:00
saml33 dbbb415060
Default market settings (#45)
* add default market settings to settings modal

* redirect to default market
2021-10-01 12:05:42 +02:00
Tyler Shipe 7feb881bb3 rename fetchMangoAccounts to fetchAllMangoAccounts; prefer reloadMangoAccount over fetchAllMangoAccounts 2021-09-29 18:09:58 -04:00
Maximilian Schneider 9d82894c2d prevent flashing on order reloading 2021-09-29 21:09:51 +02:00
Tyler Shipe 7ba6cf2412 use the latest client 2021-09-29 12:24:09 -04:00
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