New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a407828329451172 calculation of client payments #61
a407828329451172 calculation of client payments #61
Conversation
d5d4e43
to
746f856
Compare
|
||
def client_payment(self): | ||
|
||
# Predefined values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
винеси тестові дані в окремий файл
days_for_discount_rate): | ||
'''Calculates client payments to a participant''' | ||
|
||
lists = zip( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а може ще якось і без зіпу?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ні)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
та ні, зроби таки без використання зіпу.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -28,3 +28,24 @@ | |||
'second_test': [Fraction(str(0))]*21, | |||
'third_test': [Fraction(str(0.12500))] * 21 | |||
} | |||
|
|||
CLIENT_PAYMENT_DATA = { | |||
'yearly_percentage': 70, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
подавай відсоток у вигляді 0.7, потрібно переробити під це логіку
конфлікти. |
@Tuoris чи розумієш ти поставлену задачу? |
@vmaksymiv, так |
@Tuoris розкажи |
Потрібно обчислити платежі Замовника на користь Учасника. Для цього потрібен відсоток платежів на користь Учасника помножити на скорочення витрат Замовника, помножити на кількість днів дії пропозиції учасника в відповідному періоді і поділити на кількість днів періоду для обчислення ставки дисконтування. |
Closed due to moving npv_calculation to separate package. |
No description provided.