Using The Graph to index a user’s borrowed and lent positions. This requires setting up a hardhat node against a local graph node to query all GammaSwap contract events by user.
If you're a windows/linux user, follow this setup. If you're a mac user, follow this setup.