From 948f0abf655b47939ef9857b1c7600ec2c456053 Mon Sep 17 00:00:00 2001 From: Timur Gilmullin Date: Sat, 5 Nov 2022 22:35:52 +0300 Subject: [PATCH] #10 #63 little typo --- tksbrokerapi/TKSBrokerAPI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tksbrokerapi/TKSBrokerAPI.py b/tksbrokerapi/TKSBrokerAPI.py index 9aa56ba..7d84182 100644 --- a/tksbrokerapi/TKSBrokerAPI.py +++ b/tksbrokerapi/TKSBrokerAPI.py @@ -845,7 +845,7 @@ def ShowInstrumentInfo(self, iJSON: dict, show: bool = True) -> str: ]) if "aciValue" in iJSON.keys() and iJSON["aciValue"]: - info.append("| Current Accrued Interest (ACI): | {:<54} |\n".format("{:.2f} {}".format( + info.append("| Current accumulated coupon income (ACI): | {:<54} |\n".format("{:.2f} {}".format( NanoToFloat(str(iJSON["aciValue"]["units"]), iJSON["aciValue"]["nano"]), iJSON["aciValue"]["currency"] ))) @@ -3983,7 +3983,7 @@ def CreateBondsCalendar(self, extBonds: pd.DataFrame, xlsx: bool = False) -> pd. uLogger.debug("Generating bond payments calendar data. Wait, please...") - colNames = ["Paid", "Payment date", "FIGI", "Ticker", "Name", "No.", "Value", "Currency", "Type", "Period", "End registry date", "Coupon start date", "Coupon end date"] + colNames = ["Paid", "Payment date", "FIGI", "Ticker", "Name", "No.", "Value", "Currency", "Coupon type", "Period", "End registry date", "Coupon start date", "Coupon end date"] colID = ["paid", "couponDate", "figi", "ticker", "name", "couponNumber", "payOneBond", "payCurrency", "couponType", "couponPeriod", "fixDate", "couponStartDate", "couponEndDate"] calendar = None for bond in extBonds.iterrows():