diff --git a/articles/01-article.html b/articles/01-article.html index ab38737..bd94849 100644 --- a/articles/01-article.html +++ b/articles/01-article.html @@ -267,13 +267,13 @@

OHLC data -67610.5 +67480 -67610.5 +67546.2 -2.049 +19.442 @@ -388,13 +388,13 @@

Sentiment data -0.746 +0.752 -0.254 +0.248 -2.935 +3.029 diff --git a/articles/02-article.html b/articles/02-article.html index 1931b53..9ad979f 100644 --- a/articles/02-article.html +++ b/articles/02-article.html @@ -146,7 +146,7 @@

Candlestick charts= kline() )
- +

OHLC charts @@ -159,7 +159,7 @@

OHLC charts= ohlc() )

-
+

The chart()-function comes with various options for color deficiency and themes. Use ?chart for further details.

@@ -191,7 +191,7 @@

Charting indicators) )
- +

Charting events @@ -267,7 +267,7 @@

Charting events event_data = event_data )

- +

Limitations diff --git a/articles/05-article.html b/articles/05-article.html index 0edde85..ac4f6b3 100644 --- a/articles/05-article.html +++ b/articles/05-article.html @@ -150,24 +150,24 @@

Building Cryptocurrency Trade Mode ## 3) trade the model quantmod::tradeModel(built_model, leverage = 2) #> -#> Model: lm1717190012.22198 +#> Model: lm1717191000.52823 #> -#> C.A.G.R.: 69.21% H.P.R.: 33.94% +#> C.A.G.R.: 68.68% H.P.R.: 33.70% #> #> Returns by period summary: #> #> weekly monthly quarterly yearly -#> Max. 25.77% 48.73% 31.94% 58.17% -#> 3rd Qu. 6.62% 47.45% 28.92% 58.17% -#> Mean 2.79% 13.29% 25.91% 58.17% -#> Median -1.69% 1.88% 25.91% 58.17% -#> 2rd Qu. -4.94% -12.93% 22.90% 58.17% -#> Min. -14.61% -18.69% 19.88% 58.17% +#> Max. 25.77% 48.73% 31.94% 57.89% +#> 3rd Qu. 6.62% 47.19% 28.87% 57.89% +#> Mean 2.78% 13.24% 25.81% 57.89% +#> Median -1.69% 1.88% 25.81% 57.89% +#> 2rd Qu. -4.94% -12.93% 22.74% 57.89% +#> Min. -14.61% -18.69% 19.67% 57.89% #> #> Period to date returns: #> #> weekly monthly quarterly yearly -#> -2.58% 47.45% 19.88% 58.17%

+#> -2.75% 47.19% 19.67% 57.89%

Charting Cryptocurrency with quantmod @@ -415,22 +415,22 @@

Cryptocurrency and TTR -67610.5 +67552 -1143.184 +1160.603 -61892.001 +61891.536 -67068.278 +67067.303 -72244.556 +72243.071 -0.566 +0.564 diff --git a/articles/05-article_files/figure-html/unnamed-chunk-5-1.png b/articles/05-article_files/figure-html/unnamed-chunk-5-1.png index e615046..166c392 100644 Binary files a/articles/05-article_files/figure-html/unnamed-chunk-5-1.png and b/articles/05-article_files/figure-html/unnamed-chunk-5-1.png differ diff --git a/articles/cryptoQuotes.html b/articles/cryptoQuotes.html index 5ea5f8f..c8259d2 100644 --- a/articles/cryptoQuotes.html +++ b/articles/cryptoQuotes.html @@ -158,7 +158,7 @@

Open, High, Low, Close an Volume#> 2024-05-31 18:00:00 67360.1 67431.0 67200.0 67411.7 3.4434494 #> 2024-05-31 19:00:00 67406.1 67948.0 67361.9 67660.4 5.4238393 #> 2024-05-31 20:00:00 67672.2 67792.7 67597.9 67668.0 3.3599569 -#> 2024-05-31 21:00:00 67668.1 67711.1 67668.1 67674.7 0.0365553 +#> 2024-05-31 21:00:00 67668.1 67713.8 67579.3 67579.4 0.4943657

The market data can be extracted in different intervals using the interval-argument. To see available intervals, the available_intervals()-function can be used,

@@ -215,7 +215,7 @@

Sentiment Data#> 2024-05-31 18:00:00 0.7507 0.2493 3.011231 #> 2024-05-31 19:00:00 0.7541 0.2459 3.066694 #> 2024-05-31 20:00:00 0.7443 0.2557 2.910833 -#> 2024-05-31 21:00:00 0.7463 0.2537 2.941663 +#> 2024-05-31 21:00:00 0.7519 0.2481 3.030633

The ticker specific to the perpetual futures market can be extracted using the available_tickers with futures = TRUE as follows,

@@ -254,7 +254,7 @@

Charting cryptocurrency market data ) )

-
+

Adding indicators

The cryptoQuotes-package also acts as an API-client to @@ -284,7 +284,7 @@

Adding indicators) )

- +