get_subscriptions()
Description:
Returns a list of all currently subscribed symbols, as registered through prior get_quotes() calls where subscribe=True. This is useful for monitoring which instruments are being actively tracked for updates during a session.
Function Signature:
get_subscriptions() -> tupleParameters:
| Parameter | Type | Required | Default | Description |
| (none) | — | — | — | This function does not take any arguments. |
Return:
Returns a tuple of symbol strings that are currently subscribed.
Notes:
- Subscriptions are set using get_quotes() by passing subscribe=True.
- Subscriptions persist for the session unless explicitly removed (clear_subscriptions()) or the session ends.
- Useful for managing real-time quote tracking and optimizing delta monitoring (get_deltas()).