Skip to content

fix(watchlists): use /iserver/watchlists endpoint (not /iserver/account/watchlists) (#14)#15

Open
SAY-5 wants to merge 2 commits into
rcontesti:mainfrom
SAY-5:fix/issue-14-watchlists-url
Open

fix(watchlists): use /iserver/watchlists endpoint (not /iserver/account/watchlists) (#14)#15
SAY-5 wants to merge 2 commits into
rcontesti:mainfrom
SAY-5:fix/issue-14-watchlists-url

Conversation

@SAY-5

@SAY-5 SAY-5 commented Apr 30, 2026

Copy link
Copy Markdown

Fixes #14. get_watchlists proxied to GET /iserver/account/watchlists, which returns 404 on the IBKR Client Portal Gateway from build 10.44.1d onwards. The current endpoint is GET /iserver/watchlists (response shape: user lists under data.user_lists[]).

This PR aligns both the FastAPI route path and the upstream call. Other endpoints in this file already correctly use /iserver/account/watchlist[/...] (singular) for per-watchlist operations, which the IBKR docs continue to support unchanged.

Test plan

  • AST parse on mcp_server/routers/watchlists.py is clean
  • Endpoint and tag/summary/description preserved; only the path string changed
  • Other endpoints in the same router are unchanged

…nt/watchlists) (rcontesti#14)

Signed-off-by: SAY-5 <say.apm35@gmail.com>
@rcontesti

Copy link
Copy Markdown
Owner

@SAY-5 thank you for your collaboration. Allow some days to look into the matter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Wrong URL for watch lists

2 participants