Add to Watching
The app adds a market to Watching.
Details#
Add one market to this member's Watching list. symbol and venue are resolved the same way as create_alert and open_chart: the venue you pass is opened exactly (BINANCE is that venue's spot book, not a perpetual) and a miss is an error, so nothing is added from another venue. Pass kind perp only when you want the perpetual. section is the name of an existing Watching section; omit it to leave the row ungrouped. The row is stored as the compact pair (BTCUSDT, not BTC/USDT). A market already in Watching, in either spelling, is not duplicated: status is already_watching and changed is false. A new row has status added and changed true, and is placed first. Watching holds at most 200 markets. The row does not open the chart and does not create an alert; call open_chart or create_alert for those. The chart rail shows the new row the next time the list loads. Example: symbol BTC/USDT, venue BINANCE. With a section: symbol AAPL, venue NASDAQ, section Stocks.
Inputs#
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | Required | Ticker or pair, for example BTCUSDT or AAPL. |
| venue | string | Optional | Optional venue, for example BINANCE, COINBASE, BITSTAMP or NASDAQ. BINANCE is Binance spot, not Binance futures. |
| kind | string | Optional | Optional. spot or perp. Omit to open a spot market. Perpetuals are only opened when kind is perp or the venue is a futures venue. |
| section | string | Optional | Optional. Name of an existing Watching section from get_watchlist. Omit to leave the row ungrouped. |