Set a flag
The app sets or clears a flag.
Details#
Set or clear the one flag on a symbol. color is orange, pink, purple, cyan, gray, or none. Pass id from get_watchlist, or symbol and venue. A new symbol is flagged and counts once. Clearing the flag of a symbol that is on no list removes the row. A Position is never changed. Example: symbol NVDA, venue NASDAQ, color purple.
Inputs#
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Optional | Row id from get_watchlist. Omit when symbol and venue name the row. |
| symbol | string | Optional | 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. |
| color | string | Required | orange, pink, purple, cyan, gray, or none. |