This commit is contained in:
jmaslek
2022-03-16 18:20:57 +00:00
parent 2c8b5dae1a
commit f19ccff476
3 changed files with 712 additions and 703 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: load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [--source {yf,av,iex}] [-p] [-r {ytd,1y,2y,5y,6m}] [-h] Load a symbol to perform analysis using the string above as a template. Optional arguments and their descriptions are listed below.
<meta name="description" content="usage: load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [--source {yf,av,iex}] [-p] [-f {Test.csv}] [-m] [-w] [-r {ytd,1y,2y,5y,6m}] [-h] Load a symbol to perform analysis using the string above as a template. Optional arguments and their descriptions are listed below.
The default source is, yFinance (https://pypi.org/project/yfinance/). Alternatively, one may select either AlphaVantage (https://www.alphavantage.co/documentation/) or IEX Cloud (https://iexcloud.io/docs/api/) as the data source for the analysis. Please note that certain analytical features are exclusive to the source.">
@@ -23314,7 +23314,7 @@ The default source is, yFinance (https://pypi.org/project/yfinance/). Alternativ
<article class="gdoc-markdown gdoc-markdown__align--left">
<h1>Load</h1>
<pre><code>usage: load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [--source {yf,av,iex}] [-p] [-r {ytd,1y,2y,5y,6m}] [-h]
<pre><code>usage: load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [--source {yf,av,iex}] [-p] [-f {Test.csv}] [-m] [-w] [-r {ytd,1y,2y,5y,6m}] [-h]
</code></pre><p>Load a symbol to perform analysis using the string above as a template. Optional arguments and their descriptions are listed below.</p>
<p>The default source is, yFinance (<a class="gdoc-markdown__link" href="https://pypi.org/project/yfinance/%29">https://pypi.org/project/yfinance/)</a>. Alternatively, one may select either AlphaVantage (<a class="gdoc-markdown__link" href="https://www.alphavantage.co/documentation/">https://www.alphavantage.co/documentation/</a>) or IEX Cloud (<a class="gdoc-markdown__link" href="https://iexcloud.io/docs/api/">https://iexcloud.io/docs/api/</a>) as the data source for the analysis. Please note that certain analytical features are exclusive to the source.</p>
<p>To load a symbol from an exchange outside of the NYSE/NASDAQ default, use yFinance as the source and add the corresponding exchange to the end of the symbol. i.e. &lsquo;BNS.TO&rsquo;.</p>
@@ -23323,19 +23323,28 @@ The default source is, yFinance (https://pypi.org/project/yfinance/). Alternativ
<p>Certain analytical features, such as VWAP, require the ticker to be loaded as intraday using the &lsquo;-i x&rsquo; argument. When encountering this error, simply reload the symbol using the interval argument. i.e. &lsquo;load -t BNS -s YYYY-MM-DD -i 1 -p&rsquo; loads one-minute intervals, including Pre/After Market data, using the default source, yFinance.</p>
<p>Certain features, such as the Prediction menu, require the symbol to be loaded as daily and not intraday.</p>
<pre><code>optional arguments:
optional arguments:
-t TICKER, --ticker TICKER
Stock ticker (default: None)
-s START, --start START
The starting date (format YYYY-MM-DD) of the stock (default: 2019-02-12)
-e END, --end END The ending date (format YYYY-MM-DD) of the stock (default: 2022-02-16)
The starting date (format YYYY-MM-DD) of the stock (default: 2019-03-12)
-e END, --end END The ending date (format YYYY-MM-DD) of the stock (default: 2022-03-16)
-i {1,5,15,30,60}, --interval {1,5,15,30,60}
Intraday stock minutes (default: 1440)
--source {yf,av,iex} Source of historical data. (default: yf)
-p, --prepost Pre/After market hours. Only works for 'yf' source, and intraday data (default: False)
-f {Test.csv}, --file {Test.csv}
Path to load custom file. (default: None)
-m, --monthly Load monthly data (default: False)
-w, --weekly Load weekly data (default: False)
-r {ytd,1y,2y,5y,6m}, --iexrange {ytd,1y,2y,5y,6m}
Range for using the iexcloud api. Note that longer range requires more tokens in account (default: ytd)
-h, --help show this help message (default: False)
</code></pre><p>Example:</p>
</code></pre><p>Note that loading monthly and weekly data are limited to yahoo finance, and monthly data has displayed issues where
older data just downloads as <code>nan</code>.</p>
<p>Loading a custom file looks in the folder <code>custom_imports/stocks</code> and is currently only designed for csv files.</p>
<p>Example:</p>
<pre><code>2022 Feb 16, 08:29 (✨) /stocks/ $ load TSLA
Loading Daily TSLA stock with starting period 2019-02-11 for analysis.