Merge branch 'main' of github.com:blockworks-foundation/liquidator-v3 into main

This commit is contained in:
Riordan Panayides 2021-12-13 17:23:50 +00:00
commit 7674cd4899
1 changed files with 2 additions and 2 deletions

View File

@ -21,10 +21,10 @@ To run the liquidator you will need:
| `INTERVAL` | `3500` | Milliseconds to wait before checking for sick accounts |
| `INTERVAL_ACCOUNTS` | `600000` | Milliseconds to wait before reloading all Mango accounts |
| `INTERVAL_WEBSOCKET` | `300000` | Milliseconds to wait before reconnecting to the websocket |
| `INTERVAL_REBALANCE` | `10000` | Milliseconds to wait before reconnecting to the websocket |
| `INTERVAL_REBALANCE` | `10000` | Milliseconds to wait before doing another account rebalance |
| `LIQOR_PK` | N/A | Liqor Mango Account Public Key, by default uses the largest value account owned by the keypair |
| `WEBHOOK_URL` | N/A | Discord webhook URL to post liquidation events and errors to |
| `LIAB_LIMIT` | `0.9` | Percentage of your available margin to use when taking on liabs |
| `LIAB_LIMIT` | `0.9` | Percentage of your available margin to use when taking on liabilities |
You can add these variables to a `.env` file in the project root to load automatically on liquidator startup. For example:
```bash