Skip to content

Commit

Permalink
Fix broken short rate downloads.
Browse files Browse the repository at this point in the history
  • Loading branch information
chipkent committed May 1, 2024
1 parent b44eab1 commit 7aa5b8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deephaven_ib/_internal/short_rates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7aa5b8c

Please sign in to comment.