find_settlement_price_at

Documentation for eth_defi.tokenised_fund.securitize.settlement.find_settlement_price_at function.

find_settlement_price_at(prices, block_number)

Find the latest settlement at or before a block.

A settlement’s NAV stays in force until the next settlement, so rows between settlements repeat the last struck value.

Parameters
Returns

Latest settlement no later than block_number, or None before the first settlement.

Return type

Optional[eth_defi.tokenised_fund.securitize.settlement.SecuritizeSettlementPrice]