Merge pull request #10 from ricardojmendez/docs

Fixed INTERVAL_REBALANCE explanation
This commit is contained in:
Riordan Panayides 2021-12-13 13:47:16 +00:00 committed by GitHub
commit a0ea741bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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