Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _bookdown_files/finalproj_files/figure-html/unnamed-chunk-5-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ bookdown::gitbook:
config:
toc:
before: |
<li><a href="./">SHORT TITLE HERE</a></li>
<li><a href="./">Crypto</a></li>
after: |
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
Binary file added data/.DS_Store
Binary file not shown.
23 changes: 18 additions & 5 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Tianyu Yao, Juntian Zhang" />


<meta name="date" content="2022-05-03" />
<meta name="date" content="2022-05-05" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -69,13 +69,13 @@
<nav role="navigation">

<ul class="summary">
<li><a href="./">SHORT TITLE HERE</a></li>
<li><a href="./">Crypto</a></li>

<li class="divider"></li>
<li class="chapter" data-level="1" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i><b>1</b> Introduction</a></li>
<li class="chapter" data-level="2" data-path="data-sources.html"><a href="data-sources.html"><i class="fa fa-check"></i><b>2</b> Data sources</a>
<ul>
<li class="chapter" data-level="2.1" data-path="data-sources.html"><a href="data-sources.html#contribution"><i class="fa fa-check"></i><b>2.1</b> COntribution</a></li>
<li class="chapter" data-level="2.1" data-path="data-sources.html"><a href="data-sources.html#contribution"><i class="fa fa-check"></i><b>2.1</b> Contribution</a></li>
<li class="chapter" data-level="2.2" data-path="data-sources.html"><a href="data-sources.html#data-collection"><i class="fa fa-check"></i><b>2.2</b> Data Collection</a></li>
<li class="chapter" data-level="2.3" data-path="data-sources.html"><a href="data-sources.html#dataset-information"><i class="fa fa-check"></i><b>2.3</b> Dataset Information</a>
<ul>
Expand All @@ -84,9 +84,22 @@
</ul></li>
<li class="chapter" data-level="2.4" data-path="data-sources.html"><a href="data-sources.html#issue"><i class="fa fa-check"></i><b>2.4</b> Issue</a></li>
</ul></li>
<li class="chapter" data-level="3" data-path="data-transformation.html"><a href="data-transformation.html"><i class="fa fa-check"></i><b>3</b> Data transformation</a></li>
<li class="chapter" data-level="3" data-path="data-transformation.html"><a href="data-transformation.html"><i class="fa fa-check"></i><b>3</b> Data transformation</a>
<ul>
<li class="chapter" data-level="3.1" data-path="data-transformation.html"><a href="data-transformation.html#select-data"><i class="fa fa-check"></i><b>3.1</b> Select Data</a></li>
<li class="chapter" data-level="3.2" data-path="data-transformation.html"><a href="data-transformation.html#combine-the-data"><i class="fa fa-check"></i><b>3.2</b> Combine the Data</a></li>
<li class="chapter" data-level="3.3" data-path="data-transformation.html"><a href="data-transformation.html#calculate-the-return-and-volatility"><i class="fa fa-check"></i><b>3.3</b> Calculate the Return and Volatility</a></li>
<li class="chapter" data-level="3.4" data-path="data-transformation.html"><a href="data-transformation.html#combine-all-the-value-into-one-table"><i class="fa fa-check"></i><b>3.4</b> Combine All the Value into One table</a></li>
</ul></li>
<li class="chapter" data-level="4" data-path="missing-values.html"><a href="missing-values.html"><i class="fa fa-check"></i><b>4</b> Missing values</a></li>
<li class="chapter" data-level="5" data-path="results.html"><a href="results.html"><i class="fa fa-check"></i><b>5</b> Results</a></li>
<li class="chapter" data-level="5" data-path="results.html"><a href="results.html"><i class="fa fa-check"></i><b>5</b> Results</a>
<ul>
<li class="chapter" data-level="5.1" data-path="results.html"><a href="results.html#overview"><i class="fa fa-check"></i><b>5.1</b> Overview</a></li>
<li class="chapter" data-level="5.2" data-path="results.html"><a href="results.html#correlation"><i class="fa fa-check"></i><b>5.2</b> Correlation</a></li>
<li class="chapter" data-level="5.3" data-path="results.html"><a href="results.html#how-hot-is-the-market"><i class="fa fa-check"></i><b>5.3</b> How hot is the market?</a></li>
<li class="chapter" data-level="5.4" data-path="results.html"><a href="results.html#dive-into-stable-coin"><i class="fa fa-check"></i><b>5.4</b> Dive into Stable Coin</a></li>
<li class="chapter" data-level="5.5" data-path="results.html"><a href="results.html#crypto-as-an-investment"><i class="fa fa-check"></i><b>5.5</b> Crypto as an Investment</a></li>
</ul></li>
<li class="chapter" data-level="6" data-path="interactive-component.html"><a href="interactive-component.html"><i class="fa fa-check"></i><b>6</b> Interactive component</a></li>
<li class="chapter" data-level="7" data-path="conclusion.html"><a href="conclusion.html"><i class="fa fa-check"></i><b>7</b> Conclusion</a></li>
<li class="divider"></li>
Expand Down
24 changes: 19 additions & 5 deletions docs/conclusion.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Tianyu Yao, Juntian Zhang" />


<meta name="date" content="2022-05-03" />
<meta name="date" content="2022-05-05" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -69,13 +69,13 @@
<nav role="navigation">

<ul class="summary">
<li><a href="./">SHORT TITLE HERE</a></li>
<li><a href="./">Crypto</a></li>

<li class="divider"></li>
<li class="chapter" data-level="1" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i><b>1</b> Introduction</a></li>
<li class="chapter" data-level="2" data-path="data-sources.html"><a href="data-sources.html"><i class="fa fa-check"></i><b>2</b> Data sources</a>
<ul>
<li class="chapter" data-level="2.1" data-path="data-sources.html"><a href="data-sources.html#contribution"><i class="fa fa-check"></i><b>2.1</b> COntribution</a></li>
<li class="chapter" data-level="2.1" data-path="data-sources.html"><a href="data-sources.html#contribution"><i class="fa fa-check"></i><b>2.1</b> Contribution</a></li>
<li class="chapter" data-level="2.2" data-path="data-sources.html"><a href="data-sources.html#data-collection"><i class="fa fa-check"></i><b>2.2</b> Data Collection</a></li>
<li class="chapter" data-level="2.3" data-path="data-sources.html"><a href="data-sources.html#dataset-information"><i class="fa fa-check"></i><b>2.3</b> Dataset Information</a>
<ul>
Expand All @@ -84,9 +84,22 @@
</ul></li>
<li class="chapter" data-level="2.4" data-path="data-sources.html"><a href="data-sources.html#issue"><i class="fa fa-check"></i><b>2.4</b> Issue</a></li>
</ul></li>
<li class="chapter" data-level="3" data-path="data-transformation.html"><a href="data-transformation.html"><i class="fa fa-check"></i><b>3</b> Data transformation</a></li>
<li class="chapter" data-level="3" data-path="data-transformation.html"><a href="data-transformation.html"><i class="fa fa-check"></i><b>3</b> Data transformation</a>
<ul>
<li class="chapter" data-level="3.1" data-path="data-transformation.html"><a href="data-transformation.html#select-data"><i class="fa fa-check"></i><b>3.1</b> Select Data</a></li>
<li class="chapter" data-level="3.2" data-path="data-transformation.html"><a href="data-transformation.html#combine-the-data"><i class="fa fa-check"></i><b>3.2</b> Combine the Data</a></li>
<li class="chapter" data-level="3.3" data-path="data-transformation.html"><a href="data-transformation.html#calculate-the-return-and-volatility"><i class="fa fa-check"></i><b>3.3</b> Calculate the Return and Volatility</a></li>
<li class="chapter" data-level="3.4" data-path="data-transformation.html"><a href="data-transformation.html#combine-all-the-value-into-one-table"><i class="fa fa-check"></i><b>3.4</b> Combine All the Value into One table</a></li>
</ul></li>
<li class="chapter" data-level="4" data-path="missing-values.html"><a href="missing-values.html"><i class="fa fa-check"></i><b>4</b> Missing values</a></li>
<li class="chapter" data-level="5" data-path="results.html"><a href="results.html"><i class="fa fa-check"></i><b>5</b> Results</a></li>
<li class="chapter" data-level="5" data-path="results.html"><a href="results.html"><i class="fa fa-check"></i><b>5</b> Results</a>
<ul>
<li class="chapter" data-level="5.1" data-path="results.html"><a href="results.html#overview"><i class="fa fa-check"></i><b>5.1</b> Overview</a></li>
<li class="chapter" data-level="5.2" data-path="results.html"><a href="results.html#correlation"><i class="fa fa-check"></i><b>5.2</b> Correlation</a></li>
<li class="chapter" data-level="5.3" data-path="results.html"><a href="results.html#how-hot-is-the-market"><i class="fa fa-check"></i><b>5.3</b> How hot is the market?</a></li>
<li class="chapter" data-level="5.4" data-path="results.html"><a href="results.html#dive-into-stable-coin"><i class="fa fa-check"></i><b>5.4</b> Dive into Stable Coin</a></li>
<li class="chapter" data-level="5.5" data-path="results.html"><a href="results.html#crypto-as-an-investment"><i class="fa fa-check"></i><b>5.5</b> Crypto as an Investment</a></li>
</ul></li>
<li class="chapter" data-level="6" data-path="interactive-component.html"><a href="interactive-component.html"><i class="fa fa-check"></i><b>6</b> Interactive component</a></li>
<li class="chapter" data-level="7" data-path="conclusion.html"><a href="conclusion.html"><i class="fa fa-check"></i><b>7</b> Conclusion</a></li>
<li class="divider"></li>
Expand All @@ -110,6 +123,7 @@ <h1>
<section class="normal" id="section-">
<div id="conclusion" class="section level1 hasAnchor" number="7">
<h1><span class="header-section-number">Chapter 7</span> Conclusion<a href="conclusion.html#conclusion" class="anchor-section" aria-label="Anchor link to header"></a></h1>
<p>After series of analysis on top cryptocurrencies, we know that the trading market of cryptos are cooling down compare with last year. We identified there are mainly 2 groups of cryptos, one group is stable coins linked to fiat currencies and they have less volatility and price per coin is close to 1 unit of the currency they linked to. Another group is those famous cryptos that does not rely on real money, and they have high volatility. Although we observed a decreasing trend in price and returns from top 3 cryptos, we find volume of 2 stable coins increase drastically, indicating the crypto world is still expanding.</p>

</div>
</section>
Expand Down
54 changes: 29 additions & 25 deletions docs/data-sources.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Tianyu Yao, Juntian Zhang" />


<meta name="date" content="2022-05-03" />
<meta name="date" content="2022-05-05" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -69,13 +69,13 @@
<nav role="navigation">

<ul class="summary">
<li><a href="./">SHORT TITLE HERE</a></li>
<li><a href="./">Crypto</a></li>

<li class="divider"></li>
<li class="chapter" data-level="1" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i><b>1</b> Introduction</a></li>
<li class="chapter" data-level="2" data-path="data-sources.html"><a href="data-sources.html"><i class="fa fa-check"></i><b>2</b> Data sources</a>
<ul>
<li class="chapter" data-level="2.1" data-path="data-sources.html"><a href="data-sources.html#contribution"><i class="fa fa-check"></i><b>2.1</b> COntribution</a></li>
<li class="chapter" data-level="2.1" data-path="data-sources.html"><a href="data-sources.html#contribution"><i class="fa fa-check"></i><b>2.1</b> Contribution</a></li>
<li class="chapter" data-level="2.2" data-path="data-sources.html"><a href="data-sources.html#data-collection"><i class="fa fa-check"></i><b>2.2</b> Data Collection</a></li>
<li class="chapter" data-level="2.3" data-path="data-sources.html"><a href="data-sources.html#dataset-information"><i class="fa fa-check"></i><b>2.3</b> Dataset Information</a>
<ul>
Expand All @@ -84,9 +84,22 @@
</ul></li>
<li class="chapter" data-level="2.4" data-path="data-sources.html"><a href="data-sources.html#issue"><i class="fa fa-check"></i><b>2.4</b> Issue</a></li>
</ul></li>
<li class="chapter" data-level="3" data-path="data-transformation.html"><a href="data-transformation.html"><i class="fa fa-check"></i><b>3</b> Data transformation</a></li>
<li class="chapter" data-level="3" data-path="data-transformation.html"><a href="data-transformation.html"><i class="fa fa-check"></i><b>3</b> Data transformation</a>
<ul>
<li class="chapter" data-level="3.1" data-path="data-transformation.html"><a href="data-transformation.html#select-data"><i class="fa fa-check"></i><b>3.1</b> Select Data</a></li>
<li class="chapter" data-level="3.2" data-path="data-transformation.html"><a href="data-transformation.html#combine-the-data"><i class="fa fa-check"></i><b>3.2</b> Combine the Data</a></li>
<li class="chapter" data-level="3.3" data-path="data-transformation.html"><a href="data-transformation.html#calculate-the-return-and-volatility"><i class="fa fa-check"></i><b>3.3</b> Calculate the Return and Volatility</a></li>
<li class="chapter" data-level="3.4" data-path="data-transformation.html"><a href="data-transformation.html#combine-all-the-value-into-one-table"><i class="fa fa-check"></i><b>3.4</b> Combine All the Value into One table</a></li>
</ul></li>
<li class="chapter" data-level="4" data-path="missing-values.html"><a href="missing-values.html"><i class="fa fa-check"></i><b>4</b> Missing values</a></li>
<li class="chapter" data-level="5" data-path="results.html"><a href="results.html"><i class="fa fa-check"></i><b>5</b> Results</a></li>
<li class="chapter" data-level="5" data-path="results.html"><a href="results.html"><i class="fa fa-check"></i><b>5</b> Results</a>
<ul>
<li class="chapter" data-level="5.1" data-path="results.html"><a href="results.html#overview"><i class="fa fa-check"></i><b>5.1</b> Overview</a></li>
<li class="chapter" data-level="5.2" data-path="results.html"><a href="results.html#correlation"><i class="fa fa-check"></i><b>5.2</b> Correlation</a></li>
<li class="chapter" data-level="5.3" data-path="results.html"><a href="results.html#how-hot-is-the-market"><i class="fa fa-check"></i><b>5.3</b> How hot is the market?</a></li>
<li class="chapter" data-level="5.4" data-path="results.html"><a href="results.html#dive-into-stable-coin"><i class="fa fa-check"></i><b>5.4</b> Dive into Stable Coin</a></li>
<li class="chapter" data-level="5.5" data-path="results.html"><a href="results.html#crypto-as-an-investment"><i class="fa fa-check"></i><b>5.5</b> Crypto as an Investment</a></li>
</ul></li>
<li class="chapter" data-level="6" data-path="interactive-component.html"><a href="interactive-component.html"><i class="fa fa-check"></i><b>6</b> Interactive component</a></li>
<li class="chapter" data-level="7" data-path="conclusion.html"><a href="conclusion.html"><i class="fa fa-check"></i><b>7</b> Conclusion</a></li>
<li class="divider"></li>
Expand All @@ -111,30 +124,27 @@ <h1>
<div id="data-sources" class="section level1 hasAnchor" number="2">
<h1><span class="header-section-number">Chapter 2</span> Data sources<a href="data-sources.html#data-sources" class="anchor-section" aria-label="Anchor link to header"></a></h1>
<div id="contribution" class="section level2 hasAnchor" number="2.1">
<h2><span class="header-section-number">2.1</span> COntribution<a href="data-sources.html#contribution" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<h2><span class="header-section-number">2.1</span> Contribution<a href="data-sources.html#contribution" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p>Tianyu is responsible to determine the cryptocurencies we are focus on. Juntian downloads corresponding cryptocurrencies’ datasets and determines the scale of the data.</p>
</div>
<div id="data-collection" class="section level2 hasAnchor" number="2.2">
<h2><span class="header-section-number">2.2</span> Data Collection<a href="data-sources.html#data-collection" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p>We use <a href="https://coinmarketcap.com">coinmarketcap</a> api to verified top 5 cryptocurrencies by market cap, and then pulled each cryptocurrency dataset from yahoo finance, including 1 year long trading information (2021 May - 2022 May).</p>
<p>We use <a href="https://coinmarketcap.com">coinmarketcap</a> api to verified top 5 cryptocurrencies by market cap, and then pulled each cryptocurrency dataset from <a href="https://www.coingecko.com">coingecko</a>, including historical trading information.</p>
<p>We then explore multiple financial sources and yahoo finance is the most tangible and flexible website to download dataset we desired. It not only offers detailed information about the crypto we are interested in, but also provides options to download dataset with self-define time frame.</p>
</div>
<div id="dataset-information" class="section level2 hasAnchor" number="2.3">
<h2><span class="header-section-number">2.3</span> Dataset Information<a href="data-sources.html#dataset-information" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p>We downloaded 5 datasets and each corresponding to one of the major cryptocurrencies we observed above. Each dataset include 366 rows and 7 columns.</p>
<p>We downloaded 5 datasets and each corresponding to one of the major cryptocurrencies we observed above. Each dataset include 7 columns and up to 3292 rows.</p>
<div id="format" class="section level3 hasAnchor" number="2.3.1">
<h3><span class="header-section-number">2.3.1</span> Format<a href="data-sources.html#format" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<p>The format of each dataset:</p>
<table>
<thead>
<tr class="header">
<th align="center">Date</th>
<th align="center">Open</th>
<th align="center">High</th>
<th align="center">Low</th>
<th align="center">Close</th>
<th align="center">Adj.Close</th>
<th align="center">Volume</th>
<th align="center">date</th>
<th align="center">price</th>
<th align="center">market_cap</th>
<th align="center">total_volume</th>
</tr>
</thead>
<tbody>
Expand All @@ -143,24 +153,18 @@ <h3><span class="header-section-number">2.3.1</span> Format<a href="data-sources
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
</tr>
</tbody>
</table>
</div>
<div id="column-details" class="section level3 hasAnchor" number="2.3.2">
<h3><span class="header-section-number">2.3.2</span> Column Details<a href="data-sources.html#column-details" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<ul>
<li>Date: date of the crypto record</li>
<li>Open: open price</li>
<li>High: highest price</li>
<li>Close: close price</li>
<li>Adj.Close: close price after adjustment</li>
<li>Volume: the number of shares traded</li>
<li>date: date of the crypto record</li>
<li>price: trading price (USD)</li>
<li>market_cap: total market cap</li>
<li>total_volume: the number of shares traded</li>
</ul>
<p>(all price are in USD)</p>
</div>
</div>
<div id="issue" class="section level2 hasAnchor" number="2.4">
Expand Down
Loading