This commit is contained in:
colin99d
2022-08-09 19:47:55 +00:00
parent e953c46443
commit a249c763f9
3 changed files with 658 additions and 656 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@
<meta name="description" content="usage: index [-i INDICES [INDICES ...]] [-si] [-iv {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}] [-s START_DATE] [-e END_DATE] [-c COLUMN] [-q QUERY [QUERY ...]] [-r] [-st] [-h] [--export {csv,json,xlsx}] [--raw] [-l LIMIT] Obtain any set of indices and plot them together. With the -si argument the major indices are shown. By using the arguments (for example &lsquo;nasdaq&rsquo; and &lsquo;sp500&rsquo;) you can collect data and plot the graphs together. [Source: Yahoo finance / FinanceDatabase]
<meta name="description" content="usage: index [-i INDICES [INDICES ...]] [--show] [--interval {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}] [-s START_DATE] [-e END_DATE] [-c COLUMN] [-q QUERY [QUERY ...]] [-r] [-h] [--export EXPORT] [--raw] [-l LIMIT] Obtain any set of indices and plot them together. With the &ndash;show argument the major indices are shown. By using the arguments (for example &lsquo;nasdaq&rsquo; and &lsquo;sp500&rsquo;) you can collect data and plot the graphs together. [Source: Yahoo finance / FinanceDatabase]
optional arguments: -i INDICES [INDICES .">
@@ -26042,27 +26042,29 @@ optional arguments: -i INDICES [INDICES .">
<article class="gdoc-markdown gdoc-markdown__align--left">
<h1>Index</h1>
<pre><code>usage: index [-i INDICES [INDICES ...]] [-si] [-iv {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}] [-s START_DATE] [-e END_DATE] [-c COLUMN] [-q QUERY [QUERY ...]] [-r] [-st] [-h] [--export {csv,json,xlsx}] [--raw] [-l LIMIT]
</code></pre><p>Obtain any set of indices and plot them together. With the -si argument the major indices are shown. By using the arguments (for example &lsquo;nasdaq&rsquo; and &lsquo;sp500&rsquo;) you can collect data and plot the graphs together. [Source: Yahoo finance / FinanceDatabase]</p>
<pre><code>usage: index [-i INDICES [INDICES ...]] [--show] [--interval {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}]
[-s START_DATE] [-e END_DATE] [-c COLUMN] [-q QUERY [QUERY ...]] [-r] [-h] [--export EXPORT] [--raw]
[-l LIMIT]
</code></pre><p>Obtain any set of indices and plot them together. With the &ndash;show argument the major indices are shown. By using the arguments (for example &lsquo;nasdaq&rsquo; and &lsquo;sp500&rsquo;) you can collect data and plot the graphs together. [Source: Yahoo finance / FinanceDatabase]</p>
<pre><code>optional arguments:
-i INDICES [INDICES ...], --indices INDICES [INDICES ...]
One or multiple indices (default: None)
-si, --show_indices Show the major indices, their arguments and ticker (default: False)
-iv {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}, --interval {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}
The preferred interval data is shown at. This can be 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo or 3mo (default: 1d)
-s START_DATE, --start_date START_DATE
--show Show the major indices, their arguments and ticker (default: False)
--interval {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}
The preferred interval data is shown at. This can be 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d,
1wk, 1mo or 3mo (default: 1d)
-s START_DATE, --start START_DATE
The start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31) (default: 2000-01-01)
-e END_DATE, --end_date END_DATE
-e END_DATE, --end END_DATE
The end date of the data (format: YEAR-MONTH-DAY, i.e. 2021-06-20) (default: None)
-c COLUMN, --column COLUMN
The column you wish to load in, by default this is the Adjusted Close column (default: Adj Close)
The column you wish to load in, by default this is the Adjusted Close column (default: Adj
Close)
-q QUERY [QUERY ...], --query QUERY [QUERY ...]
Search for indices with given keyword (default: None)
-st, --store Store the data to be used for plotting with the 'plot' command. (default: False)
-r, --returns Flag to show compounded returns over interval. (default: False)
-h, --help show this help message (default: False)
--export {csv,json,xlsx}
Export raw data into csv, json, xlsx (default: )
--export EXPORT Export raw data into csv, json, xlsx (default: )
--raw Flag to display raw data (default: False)
-l LIMIT, --limit LIMIT
Number of entries to show in data. (default: 10)
@@ -26071,7 +26073,7 @@ optional arguments: -i INDICES [INDICES .">
</code></pre><p><img src="https://user-images.githubusercontent.com/46355364/158573612-f2e4b04c-b833-4899-9817-62e40b9fe1d2.png" alt="index nasdaq dowjones" /></p>
<pre><code>2022 Mar 15, 07:29 (✨) /economy/ $ index vix
</code></pre><p><img src="https://user-images.githubusercontent.com/46355364/158573676-9871c58e-3ffd-44d5-888a-c1d76ec98251.png" alt="index vix" /></p>
<pre><code>2022 Mar 15, 07:30 (✨) /economy/ $ index -si
<pre><code>2022 Mar 15, 07:30 (✨) /economy/ $ index --show
Major Indices
┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Argument ┃ Name ┃ Ticker ┃