From 7aa5b8c4028ecb3c760e54f12a6256bb2fa43db1 Mon Sep 17 00:00:00 2001 From: Chip Kent Date: Wed, 1 May 2024 14:01:30 -0600 Subject: [PATCH] Fix broken short rate downloads. --- src/deephaven_ib/_internal/short_rates.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/deephaven_ib/_internal/short_rates.py b/src/deephaven_ib/_internal/short_rates.py index ede01ec72..7252fc5b9 100644 --- a/src/deephaven_ib/_internal/short_rates.py +++ b/src/deephaven_ib/_internal/short_rates.py @@ -71,7 +71,8 @@ def write(self, line: str) -> None: def load_short_rates() -> Table: """Downloads the short rates from the IB FTP site and returns them as a table.""" - host: str = "ftp3.interactivebrokers.com" + # See: https://www.ibkrguides.com/kb/article-2024.htm + host: str = "ftp2.interactivebrokers.com" user: str = "shortstock" with ftplib.FTP(host=host, user=user) as ftp, IBFtpWriter() as p: