Watch Instrument
WatchInstrumentPut a stock or an option contract on one of the USER's portfolio watchlists, without recording any position. A watched instrument shows up in GetMyPortfolio's 'Watching (not held)' section with a current mark and nothing else - no quantity, no cost, no value.
For a stock, pass its ticker. For an option, pass BOTH the underlying ticker and the OCC symbol in optionContract, exactly as AddPortfolioLot takes them; the contract is verified against the live options data before anything is stored.
Watching something the portfolio already holds is allowed - the page shows one row, and selling out later keeps the instrument on the list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker. For an option, the UNDERLYING ticker, e.g. AAPL. | |
| portfolio | Yes | The portfolio whose watchlist to add to, by name. | |
| optionContract | No | Optional. The OCC option symbol, e.g. O:AAPL260724C00110000. Provide it to watch an option contract; omit it for the stock itself. |