Search¶
-
class
avanza.
Search
(search_query)¶ Bases:
avanza.base.Base
-
by_instrument
(instrument)¶ Grabs the results filtered by instrument type
Parameters: instrument (str) – instrument type Returns: list
-
count
¶ Grabs total number of hits
Returns: int
-
first
¶ Grabs the first result
Returns: Dict Note
Results are ordered by instrument, which means stock is the most likely result
-
info
¶ Grabs full json of ticker call
Returns: dict
-
results
¶ Grabs the list of results
Returns: list
-