This commit is contained in:
DidierRLopes
2022-07-24 14:08:20 +00:00
parent f6099131c9
commit 71b92924a5
3 changed files with 762 additions and 784 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,8 +9,8 @@
<meta name="description" content="usage: load [-c COIN] [--source {cp,cg,bin,cb}] [-s START] [--vs VS] [-i INTERVAL] [-h] Load crypto currency to perform analysis on. Available data sources are CoinGecko, CoinPaprika, Binance, Coinbase. By default main source used for analysis is CoinGecko (cg). To change it use &ndash;source flag.
optional arguments: -c COIN, --coin COIN Coin to get (default: None) --source {cp,cg,bin,cb} Source of data (default: cg) -s START, --start START The starting date (format YYYY-MM-DD) of the crypto (default: 2021-02-14) --vs VS Quote currency (what to view coin vs) (default: usd) -i INTERVAL, --interval INTERVAL Interval to get data (Only available on binance/coinbase) (default: 1day) -h, --help show this help message (default: False) All the sources share the arguments specified above but --interval and --vs differ from source to source.">
<meta name="description" content="usage: load [-c COIN] [-d {1,7,14,30,90,180,365}] [--vs {usd,eur}] [-h] Load crypto currency to perform analysis on CoinGecko is used as source for price and YahooFinance for volume.
optional arguments: -c COIN, --coin COIN Coin to get. Must be coin symbol (e.g., btc, eth) (default: None) -d {1,7,14,30,90,180,365}, --days {1,7,14,30,90,180,365} Data up to number of days ago (default: 365) --vs {usd,eur} Quote currency (what to view coin vs) (default: usd) -h, --help show this help message (default: False) ">
@@ -29645,36 +29645,14 @@ optional arguments: -c COIN, --coin COIN Coin to get (default: None) --source {c
<article class="gdoc-markdown gdoc-markdown__align--left">
<h1>Load</h1>
<pre><code>usage: load [-c COIN] [--source {cp,cg,bin,cb}] [-s START] [--vs VS] [-i INTERVAL] [-h]
</code></pre><p>Load crypto currency to perform analysis on. Available data sources are CoinGecko, CoinPaprika, Binance, Coinbase. By default main source used for analysis is CoinGecko (cg). To change it use &ndash;source flag.</p>
<pre><code>usage: load [-c COIN] [-d {1,7,14,30,90,180,365}] [--vs {usd,eur}] [-h]
</code></pre><p>Load crypto currency to perform analysis on CoinGecko is used as source for price and YahooFinance for volume.</p>
<pre><code>optional arguments:
-c COIN, --coin COIN Coin to get (default: None)
--source {cp,cg,bin,cb}
Source of data (default: cg)
-s START, --start START
The starting date (format YYYY-MM-DD) of the crypto (default: 2021-02-14)
--vs VS Quote currency (what to view coin vs) (default: usd)
-i INTERVAL, --interval INTERVAL
Interval to get data (Only available on binance/coinbase) (default: 1day)
-c COIN, --coin COIN Coin to get. Must be coin symbol (e.g., btc, eth) (default: None)
-d {1,7,14,30,90,180,365}, --days {1,7,14,30,90,180,365}
Data up to number of days ago (default: 365)
--vs {usd,eur} Quote currency (what to view coin vs) (default: usd)
-h, --help show this help message (default: False)
</code></pre><p>All the sources share the arguments specified above but <code>--interval</code> and <code>--vs</code> differ from source to source.</p>
<p>For CoinPaprika and CoinGecko are similar:</p>
<pre><code> --vs VS The currency to look the loaded coin against. Both USD and BTC are supported. Default: `USD`
-i/--interval Interval to look data for. These two sources only support daily data. Default: `1day`
</code></pre><p>For Coinbase:</p>
<pre><code> --vs VS The currency to look the loaded coin against. Depends on the crypto loaded. Default: `USDT`
-i/--interval Interval to look data for. Default is `1day` but support all of the following: ['1min', '5min', '15min', '1hour', '6hour', '24hour', '1day']
</code></pre><p>For Binance:</p>
<pre><code> --vs VS The currency to look the loaded coin against. Depends on the crypto loaded. Default: `USDT`
-i/--interval Interval to look data for. Default is `1day` but support all of the following: ['1day', '3day', '1hour', '2hour', '4hour', '6hour', '8hour', '12hour', '1week', '1min', '3min', '5min', '15min', '30min', '1month']
</code></pre><p>An example:</p>
<pre><code>2022 Feb 15, 05:51 (✨) /crypto/ $ load BTC
Loaded bitcoin against usd from CoinGecko source
Current Price: 44225.18 USD
Performance in interval (1day): 4.68%
Performance since 2021-02-14: -9.02%
</code></pre>
</article>