Overview
Thebigdata_edit_watchlist tool updates a watchlist you own in your Bigdata.com account. In a single call you can rename it, change or clear its description, add Knowledge Graph IDs, remove Knowledge Graph IDs, or any combination of these. Fields you leave out are unchanged.
When to Use
Edit Watchlist is ideal for:- Rebalancing: Adding new positions and removing closed ones after a portfolio update
- Growing a list: Extending a watchlist beyond the 100 items allowed at creation time
- Housekeeping: Renaming a watchlist or rewriting its description so it is easy to find later
How It Works
- Find the watchlist
idwithbigdata_get_watchlistif the user has not supplied it - Resolve any securities to add or remove to their Knowledge Graph IDs
- Call
bigdata_edit_watchlistwith theidand at least one change - Read the returned watchlist to confirm the final
items
Parameters
Important Notes
- At least one of
name,description,add_items, orremove_itemsis required. A call with onlyidreturns the errorat least one of name, description, add_items, or remove_items is required - The same ID cannot appear in both
add_itemsandremove_items - Adds and removes are applied as set operations. There is no way to reorder items or replace the whole list in one call. To replace the list, remove the current items and add the new ones
- Only watchlists you own can be edited
Data Returned
Returns a JSON object with awatchlists array containing the updated watchlist:
Usage Monitoring
The toolbigdata_edit_watchlist does not consume any quota.
Practical Tips
Confirm before removing
When a user asks to remove positions by name, resolve the names first and show the IDs and matching securities before calling the tool, so the wrong entity is not dropped.Next steps after editing
Pass the returneditems to bigdata_portfolio_tearsheet to refresh the grid for the updated list.