Housing Market API Reference¶
This section documents the Housing Market module, which manages property transactions, rental markets, and housing market clearing.
macromodel.markets.housing_market.housing_market.HousingMarket
¶
Housing market model implementing property transactions and rental agreements.
This class implements a comprehensive housing market model that handles both property sales and rental agreements. It manages property valuations, market clearing mechanisms, and tracks various market metrics over time.
Key Features: 1. Property Management: - Track property ownership and occupancy - Update property valuations - Monitor rental status - Handle property transactions
- Market Clearing:
- Match buyers with sellers
- Match tenants with landlords
- Process transactions
-
Update ownership records
-
Market Analysis:
- Track price-to-value ratios
- Monitor rent-to-value ratios
- Calculate market statistics
-
Generate market reports
-
Time Series Tracking:
- Property values over time
- Transaction volumes
- Price and rent distributions
- Market efficiency metrics
The model supports: - Owner-occupied and rental properties - Multiple property ownership - Vacant properties - Price discovery mechanisms - Market clearing algorithms
Clearing Mechanisms (Abstract)¶
macromodel.markets.housing_market.func.clearing.HousingMarketClearer
¶
Abstract base class for housing market clearing algorithms.
This class defines the interface for market clearing mechanisms that match properties with potential buyers or renters. It supports both sales and rental markets with configurable matching behavior.