Commit Graph

32 Commits

Author SHA1 Message Date
Riordan Panayides ee33ff2a90 Upgrade mango-client to use Pyth oracle 2022-08-02 13:06:13 +01:00
Maximilian Schneider 51c4cbadc5 fix bug in liquidator preventing liquidation 2021-10-15 19:13:21 +00:00
dd 60c2f2ceaa Merge remote-tracking branch 'origin/main' into main 2021-08-26 18:52:31 -04:00
dd 9012b04650 fixed bug 2021-08-26 18:52:27 -04:00
Drew Aquino 727caaf3b4 added dotenv to automate reading .env file, updated readme 2021-07-22 18:01:20 +02:00
dd 266f1e15be Send partial liquidate instruction just to force settle borrow 2021-06-22 09:55:48 -04:00
dd c5cfcad99a Send partial liquidate instruction just to force settle borrow 2021-06-22 09:33:17 -04:00
dd ecd854f601 added referrer rebates accrued to calculations 2021-06-22 09:25:17 -04:00
dd 2950e7c7b8 fixed minNetIndex bug 2021-06-22 09:17:36 -04:00
dd 8e9e5ff436 fixed minNetIndex bug 2021-06-22 09:15:00 -04:00
dd 1050481b74 fixed minNetIndex bug 2021-06-22 09:14:15 -04:00
dd 60ab5d1b03 added shuffling of margin accounts 2021-06-22 08:53:51 -04:00
dd a3fabb5814 updated min threshold for liq, and upgraded mango client 2021-06-22 08:47:54 -04:00
Maximilian Schneider ba1a874ebb
5 tokens (#6)
* Get token decimals by index
* Update default mango group
* Update readme
* Add account filtering behind feature flag
* prettier; changed the default loading for targets
* updated version number and fixed updating of min coll ratio account

Co-authored-by: Riordan Panayides <riordan@panayid.es>
Co-authored-by: dd <dafydd.durairaj@gmail.com>
2021-06-11 15:53:17 -04:00
Maximilian Schneider 39b5ab3b4f
Improve serum dex account management (#4)
* Cancel orders before rebalance
* Prevent race-condition after settling funds
* Update dependencies
2021-05-14 05:10:46 +03:00
Riordan Panayides caba812668 Add better error handling for missing openOrders accounts, make readme more helpful 2021-04-30 13:49:48 +01:00
dd b68840c194 updated waiting 2021-04-22 17:04:33 -04:00
dd 17edf431f5 added time to sleep before getting accounts 2021-04-22 17:00:48 -04:00
dd de6940d057 cleaned up partial liquidator and readme 2021-04-18 10:10:30 -04:00
dd 682a90915b cleaned up partial liquidator and readme 2021-04-18 10:08:44 -04:00
dd 2427a4974a sleep time 2021-04-17 23:56:24 -04:00
dd e2051eda6f decreased liabs val thresh 2021-04-17 23:54:47 -04:00
dd 3ad720ac33 reduced sleep time 2021-04-17 23:39:13 -04:00
dd c6bd2d27a5 increased limit for partial liquidator to take care of larger 2021-04-17 23:24:51 -04:00
dd 884134f647 fixed loop bug 2021-04-14 17:48:32 -04:00
dd e1b15ce01e added better logging for partial liquidator; removed infinite loop for liquidating in partial and full liquidator 2021-04-14 17:41:15 -04:00
dd 93223de012 removed devnet tokenDecimalAdj 2021-04-09 20:25:53 -04:00
dd 4f9b9a4615 fixed issue with delayed token wallet updating 2021-04-09 19:47:57 -04:00
dd ce3e07a8d7 added targets 2021-04-09 17:37:10 -04:00
dd 84e0f9f7b7 Finished partial liquidator 2021-04-09 16:18:06 -04:00
dd d92212723a Now force canceling with up to 10 instructions in the partial liq transaction 2021-04-07 20:54:06 -04:00
dd fd1dc9d344 running version of partial liquidator 2021-04-06 20:43:51 -04:00