Start streaming prices in the background
stream_subscribeOpen a standing subscription for scrip codes so prices update in the background, then read latest values with stream_quotes without using REST rate-limit tokens.
Instructions
Open a standing subscription so prices keep updating in the background. Nothing is returned tick by tick — call stream_quotes afterwards to read the latest values instantly, without spending a REST rate-limit token. Useful when the same names come up repeatedly in one conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ltp | |
| scripCodes | Yes | REST-style scrip codes, e.g. ['NSE_2885']. Use search_instruments to resolve them. |