diff --git a/articles/01-article.html b/articles/01-article.html index a82daca..ab38737 100644 --- a/articles/01-article.html +++ b/articles/01-article.html @@ -158,122 +158,122 @@

OHLC data -2024-05-31 14:00:00 +2024-05-31 16:00:00 -68051.4 +67162.5 -68051.4 +67256.8 -67224.2 +66652.4 -67439.7 +67155 -167.055 +151.83 -2024-05-31 15:00:00 +2024-05-31 17:00:00 -67437.4 +67155 -67460.2 +67376 -67140 +67099.9 -67170.9 +67286.6 -82.508 +100.205 -2024-05-31 16:00:00 +2024-05-31 18:00:00 -67162.5 +67286.6 -67256.8 +67374.7 -66652.4 +67107.4 -67155 +67333.4 -151.83 +50.193 -2024-05-31 17:00:00 +2024-05-31 19:00:00 -67155 +67338.6 -67376 +67857.6 -67099.9 +67294.4 -67286.6 +67569.6 -100.205 +79.29 -2024-05-31 18:00:00 +2024-05-31 20:00:00 -67286.6 +67569.7 -67374.7 +67696.8 -67107.4 +67526 -67333.4 +67632.5 -50.193 +37.706 -2024-05-31 19:00:00 +2024-05-31 21:00:00 -67338.6 +67632.6 -67521.8 +67632.6 -67294.4 +67610.5 -67511.1 +67610.5 -21.145 +2.049 @@ -315,86 +315,86 @@

Sentiment data -2024-05-31 14:00:00 +2024-05-31 16:00:00 -0.744 +0.746 -0.256 +0.254 -2.9 +2.942 -2024-05-31 15:00:00 +2024-05-31 17:00:00 -0.753 +0.75 -0.247 +0.25 -3.042 +3.006 -2024-05-31 16:00:00 +2024-05-31 18:00:00 -0.746 +0.751 -0.254 +0.249 -2.942 +3.011 -2024-05-31 17:00:00 +2024-05-31 19:00:00 -0.75 +0.754 -0.25 +0.246 -3.006 +3.067 -2024-05-31 18:00:00 +2024-05-31 20:00:00 -0.751 +0.744 -0.249 +0.256 -3.011 +2.911 -2024-05-31 19:00:00 +2024-05-31 21:00:00 -0.753 +0.746 -0.247 +0.254 -3.052 +2.935 diff --git a/articles/02-article.html b/articles/02-article.html index b67ff93..1931b53 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 b43fe32..0edde85 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: lm1717184203.27163 +#> Model: lm1717190012.22198 #> -#> C.A.G.R.: 68.21% H.P.R.: 33.50% +#> C.A.G.R.: 69.21% H.P.R.: 33.94% #> #> Returns by period summary: #> #> weekly monthly quarterly yearly -#> Max. 25.77% 48.73% 31.94% 57.65% -#> 3rd Qu. 6.62% 46.96% 28.82% 57.65% -#> Mean 2.77% 13.19% 25.71% 57.65% -#> Median -1.69% 1.88% 25.71% 57.65% -#> 2rd Qu. -4.94% -12.93% 22.60% 57.65% -#> Min. -14.61% -18.69% 19.49% 57.65% +#> 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% #> #> Period to date returns: #> #> weekly monthly quarterly yearly -#> -2.91% 46.96% 19.49% 57.65%

+#> -2.58% 47.45% 19.88% 58.17% -
#>                        open    high     low   close    volume
-#> 2024-05-31 14:00:00 68062.2 68062.2 67281.4 67448.0 18.738182
-#> 2024-05-31 15:00:00 67483.0 67506.0 67261.6 67261.6  9.119218
-#> 2024-05-31 16:00:00 67255.7 67255.7 66692.3 67188.8 26.041747
-#> 2024-05-31 17:00:00 67176.7 67449.1 67165.7 67344.1  4.485146
-#> 2024-05-31 18:00:00 67360.1 67431.0 67200.0 67411.7  3.443449
-#> 2024-05-31 19:00:00 67406.1 67598.2 67361.9 67585.1  3.173481
+
#>                        open    high     low   close     volume
+#> 2024-05-31 16:00:00 67255.7 67255.7 66692.3 67188.8 26.0417470
+#> 2024-05-31 17:00:00 67176.7 67449.1 67165.7 67344.1  4.4851455
+#> 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

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

@@ -210,12 +210,12 @@

Sentiment Data interval = "1h" )
#>                       long  short ls_ratio
-#> 2024-05-31 14:00:00 0.7436 0.2564 2.900156
-#> 2024-05-31 15:00:00 0.7526 0.2474 3.042037
 #> 2024-05-31 16:00:00 0.7463 0.2537 2.941663
 #> 2024-05-31 17:00:00 0.7504 0.2496 3.006410
 #> 2024-05-31 18:00:00 0.7507 0.2493 3.011231
-#> 2024-05-31 19:00:00 0.7528 0.2472 3.045307
+#> 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

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) )

- +