in tbapi/__init__.py [0:0]
def executeQuery(self, query: str, options: SelectionOptions = None, timestamp: int = JAVA_LONG_MIN_VALUE, entities: 'list[str]' = None, params: 'list[QueryParameter]' = []) -> 'TickCursor':
'''Execute Query and creates a message source for reading data from it,
according to the specified options. The messages
are returned from the cursor strictly ordered by time. Within the same
exact time stamp, the order of messages is undefined and may vary from
call to call, i.e. it is non-deterministic.
Args:
query (str): Query text element.
options (SelectionOptions): Selection options.
timestamp (int): The start timestamp in millis.
entities (list[str]): Specified entities to be subscribed.
If null, then all entities will be subscribed.
params (list[QueryParameter]): The parameter values of the query.
Returns:
TickCursor: An iterable message source to read messages.
'''
if options == None:
return self.__executeQuery(query)
else:
return self.__executeQueryFull(query, options, timestamp, entities, params);