Merge branch 'main' of github.com:blockworks-foundation/liquidator-v3 into main
This commit is contained in:
commit
7674cd4899
|
@ -21,10 +21,10 @@ To run the liquidator you will need:
|
||||||
| `INTERVAL` | `3500` | Milliseconds to wait before checking for sick accounts |
|
| `INTERVAL` | `3500` | Milliseconds to wait before checking for sick accounts |
|
||||||
| `INTERVAL_ACCOUNTS` | `600000` | Milliseconds to wait before reloading all Mango accounts |
|
| `INTERVAL_ACCOUNTS` | `600000` | Milliseconds to wait before reloading all Mango accounts |
|
||||||
| `INTERVAL_WEBSOCKET` | `300000` | Milliseconds to wait before reconnecting to the websocket |
|
| `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 |
|
| `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 |
|
| `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:
|
You can add these variables to a `.env` file in the project root to load automatically on liquidator startup. For example:
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue