pub fn new_fixed_order_account_retriever_with_optional_banks<'a, 'info>(
ais: &'a [AccountInfo<'info>],
account: &MangoAccountRef<'_>,
now_slot: u64
) -> Result<FixedOrderAccountRetriever<AccountInfoRef<'a, 'info>>>
Expand description
A FixedOrderAccountRetriever with n_banks <= active_token_positions().count(), depending on which banks were passed.
Note that this does not eagerly validate that the right accounts were passed. That validation happens only when banks, perps etc are requested.