mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-13 04:41:24 +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>
94 lines
3.4 KiB
Markdown
Vendored
94 lines
3.4 KiB
Markdown
Vendored
---
|
|
title: raw
|
|
description: This documentation page explains the usage of the 'raw' command in Python
|
|
which prints raw data to console. It outlines parameters and usage, and provides
|
|
an example of output sorted by a specific column in either ascending or descending
|
|
order.
|
|
keywords:
|
|
- raw data
|
|
- console
|
|
- parameters
|
|
- usage
|
|
- limit
|
|
- reverse
|
|
- sortby
|
|
- ascending
|
|
- descending
|
|
---
|
|
|
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
|
|
|
|
<HeadTitle title="economy/qa/raw - Reference | OpenBB Terminal Docs" />
|
|
|
|
Print raw data to console
|
|
|
|
### Usage
|
|
|
|
```python
|
|
raw [-l LIMIT] [-r] [-s SORTBY]
|
|
```
|
|
|
|
---
|
|
|
|
## Parameters
|
|
|
|
| Name | Description | Default | Optional | Choices |
|
|
| ---- | ----------- | ------- | -------- | ------- |
|
|
| limit | Number to show | 20 | True | None |
|
|
| reverse | Data is sorted in descending order by default. Reverse flag will sort it in an ascending way. Only works when raw data is displayed. | False | True | None |
|
|
| sortby | The column to sort by | None | True | None |
|
|
|
|
|
|
---
|
|
|
|
## Examples
|
|
|
|
```python
|
|
2022 Feb 16, 11:05 (🦋) /stocks/qa/ $ raw
|
|
Raw Data
|
|
┏━━━━━━━━━━━━┳━━━━━━━━━━┓
|
|
┃ ┃ Adjclose ┃
|
|
┡━━━━━━━━━━━━╇━━━━━━━━━━┩
|
|
│ 2022-01-19 │ 995.650 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-20 │ 996.270 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-21 │ 943.900 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-24 │ 930.000 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-25 │ 918.400 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-26 │ 937.410 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-27 │ 829.100 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-28 │ 846.350 │
|
|
├────────────┼──────────┤
|
|
│ 2022-01-31 │ 936.720 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-01 │ 931.250 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-02 │ 905.660 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-03 │ 891.140 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-04 │ 923.320 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-07 │ 907.340 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-08 │ 922.000 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-09 │ 932.000 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-10 │ 904.550 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-11 │ 860.000 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-14 │ 875.760 │
|
|
├────────────┼──────────┤
|
|
│ 2022-02-15 │ 922.430 │
|
|
└────────────┴──────────┘
|
|
```
|
|
---
|