Tinkoff / invest-python

Tinkoff Invest Python gRPC client
https://tinkoff.github.io/invest-python/
Apache License 2.0
312 stars 89 forks source link

[Feature] Календарь частичных погашений бондов с амортизацией #86

Open neumond opened 2 years ago

neumond commented 2 years ago

Описание

Сейчас ни в приложении, ни в апи, нельзя получить наряду с календарём купонов календарь погашений.

Желаемое решение

Хочется примерно такую табличку: https://bonds.finam.ru/issue/details01E4000002/default.asp

Например в вызове GetBondCoupons добавить поле погашение

Coupon(
figi='BBG00F5FK1W7',
coupon_date=datetime.datetime(2022, 10, 30, 0, 0, tzinfo=datetime.timezone.utc),
coupon_number=24, fix_date=datetime.datetime(2022, 10, 28, 0, 0, tzinfo=datetime.timezone.utc),
...
nominal_repayment=MoneyValue(currency='rub', units=300, nano=0),
)

Дополнительно

No response

FerrusM commented 1 year ago

связанная тема https://github.com/Tinkoff/invest-python/issues/243