Source code for examples.macro_model.spaces.credit_market
# Space Class Implementation
from .market import Market
[docs]class CreditMarket(Market):
""" The Credit Market """
[docs] def decide_cr_target(self, a_bank):
""" A bank agent decides capital ratio target """
pass
[docs] def decide_interest_rate_strategy(self, a_bank):
"""A bank decides the strategy for interest rate determination """
pass
[docs] def offer_credit(self, a_bank):
""" A bank offer credit on the credit market """
pass
[docs] def contract_credit(self, an_agent, a_bank):
""" An agent contracts credit from a Bank """
pass
[docs] def calculate_exposure(self, a_bank):
""" A bank calculates its exposure """
pass
[docs] def contract_cash_advances(self):
""" Central Bank Contract Cash Advances on the Credit Market """
pass
[docs] def receive_advances_CB(self, a_bank, central_bank, ammount):
""" A bank receive some ammount of money from the central bank at some interest rate """
pass
[docs] def buy_gov_bonds(self, a_bank, gov, ammount):
""" A bank buy government bonds """
pass
[docs] def pay_gov_bonds_interest(self):
""" A government pays bonds and interests """
pass
[docs] def offer_new_bonds(self):
""" A government offers bonds """
pass