mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 07:51:49 +00:00
* add first iteration of content for Terminal Pro * Update index.md * Update dashboards.md * Update folders.md * Update grouping.md * Update report.md * Update templates.md * Update quick-start.md * Update index.md * Update index.md * Update home.md * Update news.md * Update index.md * Update index.md * Update index.md * Update data-provider.md * Update chat-with-widget.md * Update data-manipulation.md * Update forecasting.md * fix: images self closing tags * fix: only pro visitors can see pro * inter font * improve SEO content and restructuring * add new package for toggle on tutorials * move folder around * improve main page of each prod * small updates and improvements * fix logo above * small improvement in headtitle for portfolio funcs * fix typos from OpenAI's GPT-4 * fix _category_ json * remove generic SEO words * add script that generates SEO for documentation * add missing file * remove sdk warning message * fix links for andrew --------- Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
74 lines
2.3 KiB
Markdown
Vendored
74 lines
2.3 KiB
Markdown
Vendored
---
|
|
title: queries
|
|
description: This page provides documentation on how to use the 'queries' function
|
|
to print the top related queries associated with a stock's query. Learn how to set
|
|
a limit on the number of queries and view examples of the output.
|
|
keywords:
|
|
- stock
|
|
- query
|
|
- stock query
|
|
- top related queries
|
|
- print
|
|
- stock's query
|
|
- function
|
|
- Google source
|
|
- limit
|
|
- parameters
|
|
- examples
|
|
- output
|
|
---
|
|
|
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
|
|
|
|
<HeadTitle title="stocks/ba/queries - Reference | OpenBB Terminal Docs" />
|
|
|
|
Print top related queries with this stock's query. [Source: Google]
|
|
|
|
### Usage
|
|
|
|
```python
|
|
queries [-l LIMIT]
|
|
```
|
|
|
|
---
|
|
|
|
## Parameters
|
|
|
|
| Name | Description | Default | Optional | Choices |
|
|
| ---- | ----------- | ------- | -------- | ------- |
|
|
| limit | limit of top related queries to print. | 10 | True | None |
|
|
|
|
|
|
---
|
|
|
|
## Examples
|
|
|
|
```python
|
|
2022 Feb 16, 10:38 (🦋) /stocks/ba/ $ queries
|
|
Top AMZN's related queries
|
|
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━┓
|
|
┃ query ┃ value ┃
|
|
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━┩
|
|
│ amzn stock │ 100% │
|
|
├──────────────────┼───────┤
|
|
│ amzn price │ 31% │
|
|
├──────────────────┼───────┤
|
|
│ amzn stock price │ 26% │
|
|
├──────────────────┼───────┤
|
|
│ aapl │ 25% │
|
|
├──────────────────┼───────┤
|
|
│ tsla │ 18% │
|
|
├──────────────────┼───────┤
|
|
│ aapl stock │ 15% │
|
|
├──────────────────┼───────┤
|
|
│ fb stock │ 12% │
|
|
├──────────────────┼───────┤
|
|
│ msft │ 12% │
|
|
├──────────────────┼───────┤
|
|
│ tsla stock │ 12% │
|
|
├──────────────────┼───────┤
|
|
│ goog │ 9% │
|
|
└──────────────────┴───────┘
|
|
```
|
|
---
|