Compute health with an arbitrary AccountRetriever
Computes health for a mango account given a set of account infos
Creates a FixedOrderAccountRetriever where all banks are present
A FixedOrderAccountRetriever with n_banks <= active_token_positions().count(),
depending on which banks were passed.
Generate a HealthCache for an account and its health accounts.
Generate a special HealthCache for an account and its health accounts
where nonnegative token positions for bad oracles are skipped as well as missing banks.
How much of a token can be gained before health increases to zero?
How much of a token can be taken away before health decreases to zero?