silas
30f59ce507
Merge branch 'k8s' of https://github.com/silas-x/liquidator-v3 into k8s
2022-05-06 16:40:53 +01:00
silas
45a8d81bbe
add laf pod
2022-05-06 16:40:50 +01:00
silas
86695d3269
Merge branch 'blockworks-foundation:main' into k8s
2022-05-06 13:25:56 +01:00
Riordan Panayides
e1fb7ca23d
Reenable balanceAccount
2022-05-06 13:24:06 +01:00
silas
c6ae81fafc
force push
2022-05-06 13:14:32 +01:00
silas
47921e76b3
Merge branch 'blockworks-foundation:main' into k8s
2022-05-06 13:11:19 +01:00
Riordan Panayides
14eee32799
Fix spot order cancellation
2022-05-06 12:59:15 +01:00
silas
441bfe1a17
rate change
2022-05-05 22:28:33 +01:00
silas
d81419c47b
gke
2022-05-05 15:55:11 +01:00
Riordan Panayides
3594cc0d8d
Add CONFIRMATION_TIMEOUT env variable
2022-05-03 17:36:21 +01:00
Riordan Panayides
c81f6afce3
Merge pull request #22 from odyzzey/patch-1
...
Restore balanceAccount functionality
2022-04-18 09:41:56 +01:00
odyzzey
ee6b97dbe5
Restore balanceAccount functionality
2022-04-17 23:13:28 -05:00
Riordan Panayides
1e71444db4
Print stack trace
2022-04-14 17:48:36 +01:00
Riordan Panayides
c76d4f9258
remove log line
2022-04-12 20:08:58 +01:00
Riordan Panayides
5c2f027a7a
Merge pull request #20 from ricardojmendez/commitment-level
...
Optional commitment level
2022-04-12 12:52:53 +01:00
Riordan Panayides
da1a5195f5
Merge branch 'main' into commitment-level
2022-04-12 12:51:10 +01:00
Riordan Panayides
3435a7680b
Merge pull request #21 from blockworks-foundation/settle
...
Settle positive PNL
2022-04-12 12:48:55 +01:00
Riordan Panayides
410bfc5691
Upgrade mango-client
2022-04-12 12:13:19 +01:00
Riordan Panayides
14736b4308
Merge pull request #17 from ricardojmendez/settling-perp-pnl
...
Settling Perp PnL on an account before we liquidate perp and token
2022-04-12 11:51:12 +01:00
Ricardo J. Mendez
79e5caa158
Optional commitment level
...
The Triton team recommends using the commitment level `confirmed` in
order to avoid BlockhashNotFound errors. Adding a parameter.
2022-02-24 14:03:10 +01:00
Riordan Panayides
d4b6db7649
Update default minEquity, update readme
2022-02-23 10:25:05 +00:00
Riordan Panayides
2a189ac952
Merge pull request #18 from ricardojmendez/skip-min-equity
...
Passing on accounts without a minimum of equity
2022-02-23 10:17:59 +00:00
Riordan Panayides
68d45dc7ab
Merge pull request #19 from blockworks-foundation/ckamm/readme
...
Expand readme to cover liquidatable-accounts-feed
2022-02-23 10:13:22 +00:00
Christian Kamm
84c07c81e8
Expand readme to cover liquidatable-accounts-feed
2022-02-22 12:53:23 +01:00
Riordan Panayides
1a957787e2
Fix logic for liquidating bankrupt negative quote position
2022-02-20 20:56:54 +00:00
Ricardo J. Mendez
1e1d7c527e
Passing on accounts without a minimum of equity
...
My liquidator was getting stuck on a loop with accounts with 0
equity but that were reported as negative health. This will also
help avoiding accounts that you don't consider worth the opportunity
cost.
2022-02-20 07:23:46 +01:00
Ricardo J. Mendez
6655afee8f
Improvements on settling perp pnl
...
This is an optimization on f97370f following Dafy's suggestion here:
https://github.com/blockworks-foundation/liquidator-v3/pull/17#issuecomment-1020808416
It uses the client's settlePosPnl function instead of doing all the work
itself. It required making the mangoAccounts array global so we can have
access to it when liquidating from the RPC endpoint, but I'm not getting
any movement from the feed anyway.
2022-02-16 11:44:26 +01:00
Christian Kamm
c3d18aa04f
Merge pull request #16 from blockworks-foundation/ckamm/liquidatable-feed
...
Support using the liquidatable accounts feed as data source
2022-02-07 17:28:02 +01:00
Christian Kamm
42969d1d38
Feed: Fix processing of potentially liquidatable accounts
2022-02-04 20:44:04 +01:00
Christian Kamm
ff53e19294
Support using the liquidatable accounts feed as data source
2022-02-04 12:35:47 +01:00
Riordan Panayides
8336a84da0
Fix hardcoded keypair path
2022-02-04 01:29:16 +00:00
Riordan Panayides
37306632b1
Fix liquidator test
2022-02-02 15:50:44 +00:00
Riordan Panayides
0c1ca7889d
Merge pull request #14 from mschneider/updated-deps
...
update mocha & jest
2022-01-11 02:02:12 +00:00
Maximilian Schneider
59e8f32ac8
update mocha & jest
2022-01-10 17:44:56 -08:00
Riordan Panayides
cc1a4bf3b7
Fix ansi-regex vuln
2022-01-10 23:40:54 +00:00
Riordan Panayides
7da01dcfdd
Merge pull request #11 from ricardojmendez/qol-tweaks
...
Allowing extra spaces on the TARGET environment variable
2022-01-10 23:32:09 +00:00
Riordan Panayides
73427175dc
Merge pull request #12 from silas-x/main
...
Automated security scanning
2022-01-10 23:31:30 +00:00
Riordan Panayides
bfb79fb727
Merge pull request #13 from mschneider/error-reporting
...
Improved error reporting
2022-01-10 23:30:47 +00:00
Riordan Panayides
90a09c0e58
Merge branch 'main' into error-reporting
2022-01-10 23:30:36 +00:00
Riordan Panayides
789a50cf3e
Upgrade mango-client, fix index bug
2022-01-10 23:28:18 +00:00
Maximilian Schneider
91dd326ce0
improved error reporting for promises
2022-01-10 12:55:42 -08:00
Maximilian Schneider
d2b96bb742
update dependencies
2022-01-10 12:54:41 -08:00
silas
c0d7810ad3
Delete semgrep-scan.yml
2022-01-09 12:43:34 +00:00
silas
e24b249110
Create semgrep-scan.yml
2022-01-09 11:24:30 +00:00
silas
50c6be8506
New feature: automated dependency scanning
...
Fail on crit, log rest.
2022-01-09 11:21:12 +00:00
silas
a1eb8034a6
New feature: automated code scanning
...
configured to ts/js
2022-01-09 11:20:22 +00:00
Riordan Panayides
49cfb7d260
Merge branch 'main' of github.com:blockworks-foundation/liquidator-v3
2022-01-04 16:15:34 +00:00
Riordan Panayides
af1d1c5f43
Upgrade mango-client
2022-01-04 16:14:34 +00:00
Ricardo J. Mendez
3e58974b41
Allowing extra spaces on the TARGET environment variable
...
The value is hard to read, and being able to column-align it with the
tokens makes it easier to scan if one is configuring it correctly and
avoid mistakes, in case one plans to keep more than one of these to
non-zero values.
2021-12-14 14:33:37 +01:00
Riordan Panayides
2ff7dbaf62
Upgrade mango-client
2021-12-13 22:55:05 +00:00