{% extends "global/Page.html" %}
{% load otree static %}
{% block title %}
Round {{ player.round_number }} of {{num_rounds}}: Choose your Money Holdings
{% endblock %}
{% block content %}
{{ if message == 'yes' and player.round_number == 1 }}
Remember:
For the first {{half_num_round|to0}} rounds the interest rate for borrowing money will be {{r_percentage|to0}}%. That means, if you borrow L$100, you'll have to pay back {{principal_plus_interest_example|cu|to0}}.
{{else}}
{{endif}}
{{ if message == 'yes' and player.round_number == half_num_round_plus_one }}
Remember:
From now on the interest rate for borrowing money will be {{r_percentage|to0}}%. That means, if you borrow $10, you'll have to pay back {{principal_plus_interest_example|cu|to0}}.
{{else}}
{{endif}}
You are a Buyer, for this round, you can borrow up to {{borrow_max|cu|to1}} to bring to the bargaining stage where you'll meet with a Seller.
{{if r == 0}}
Remember, you'll have to pay the loan back using your payoff from trading plus whatever you have left from your loan after paying the seller.
{{else }}
Remember, you'll have to pay the loan plus interests back using your payoff from trading, whatever you have left from your loan after paying the seller and your round endowment of {{endowment|cu|to1}}, which you receive only after the meeting.
{{endif}}
Enter the amount, m, you would like to borrow at an interest rate of {{r_percentage|to0}}% :
{{borrow_max|cu|to0}}
{{0|cu|to0}}
Total amount to payback from your after bargain with the seller would be
Given this borrowed amount:
You could request to trade this amount for up to units of Output from the seller, which, if accepted would imply a gross payoff of $ for you.
That gross payoff minus the payback of the loan would give you a net payoff of $
Note: If you do not make a choice, you'll move to the bargaining stage without borrowing.
{% endblock %}