Search
Search any available asset at Investing.com.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
query |
str
|
Query to search for. |
required |
limit |
int
|
Maximum number of results to retrieve. Defaults to 10. |
10
|
type |
Union[Literal['Stock', 'ETF', 'Commodity', 'Index', 'Future', 'Yield', 'FX'], None]
|
Type of asset to search for. Defaults to None. |
None
|
exchange |
Union[str, None]
|
Exchange to search for. Defaults to None. |
None
|
Returns:
| Type | Description |
|---|---|
List[Dict[str, Any]]
|
A list of dictionaries with the search results from Investing.com. |
Source code in investiny/search.py
Last update:
2022-10-18
Created: 2022-10-18
Created: 2022-10-18