From f21b87d17cd01187cf80c4fb723c193697a90bd8 Mon Sep 17 00:00:00 2001 From: serkor1 <77464572+serkor1@users.noreply.github.com> Date: Wed, 6 Nov 2024 20:35:22 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20serkor1/?= =?UTF-8?q?cryptoQuotes@a5396951c2b2c0a2cf59e2a36a20b3b84ee6b509=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/01-article.html | 164 ++++++++++++++++---------------- articles/02-article.html | 8 +- articles/03-article.html | 12 +-- articles/05-article.html | 2 +- articles/cryptoQuotes.html | 32 +++---- articles/custom_indicators.html | 8 +- articles/usecase.html | 4 +- pkgdown.yml | 2 +- reference/ATOM.html | 2 +- reference/BTC.html | 2 +- reference/DOGE.html | 2 +- reference/add_event.html | 2 +- reference/alma.html | 4 +- reference/assert.html | 2 +- reference/bollinger_bands.html | 2 +- reference/chart.html | 2 +- reference/dema.html | 4 +- reference/donchian_channel.html | 2 +- reference/ema.html | 4 +- reference/evwma.html | 4 +- reference/fetch.html | 2 +- reference/get_fgindex.html | 2 +- reference/get_fundingrate.html | 2 +- reference/get_lsratio.html | 2 +- reference/get_openinterest.html | 2 +- reference/get_quote.html | 2 +- reference/hma.html | 4 +- reference/kline.html | 2 +- reference/macd.html | 2 +- reference/ohlc.html | 2 +- reference/pline.html | 2 +- reference/rsi.html | 2 +- reference/sma.html | 4 +- reference/smi.html | 2 +- reference/volume.html | 2 +- reference/vwap.html | 4 +- reference/wma.html | 4 +- reference/write_xts.html | 4 +- reference/zlema.html | 4 +- search.json | 2 +- 40 files changed, 158 insertions(+), 158 deletions(-) diff --git a/articles/01-article.html b/articles/01-article.html index 8d27947..a5116f3 100644 --- a/articles/01-article.html +++ b/articles/01-article.html @@ -144,122 +144,122 @@

Open, Highl Low, Close and -2024-11-02 10:00:00 +2024-11-06 15:00:00 -69506.7 +73649.4 -69608.5 +74500 -69387.8 +73563.1 -69599.9 +74374.8 -67.617 +168.136 -2024-11-02 11:00:00 +2024-11-06 16:00:00 -69600 +74374.9 -69618 +74500 -69594.3 +74193.2 -69600 +74335.5 -2.916 +171.212 -2024-11-02 12:00:00 +2024-11-06 17:00:00 -69600.1 +74335.5 -69640 +74705.7 -69399.7 +74255 -69418.7 +74516.1 -7.373 +233.518 -2024-11-02 13:00:00 +2024-11-06 18:00:00 -69418.8 +74516 -69683.3 +75300 -69349.8 +74482.3 -69349.8 +75299.9 -7.087 +274.79 -2024-11-02 14:00:00 +2024-11-06 19:00:00 -69349.8 +75300 -69382.9 +75889.9 -69060 +75138.2 -69226.9 +75889.9 -136.984 +396.202 -2024-11-02 15:00:00 +2024-11-06 20:00:00 -69228 +75889.9 -69228 +76103.4 -69141.9 +75659.1 -69179.7 +75684.1 -13.11 +329.921 @@ -301,86 +301,86 @@

Sentiment data -2024-11-02 10:00:00 +2024-11-06 15:00:00 -0.736 +0.725 -0.264 +0.275 -2.782 +2.634 -2024-11-02 11:00:00 +2024-11-06 16:00:00 -0.74 +0.724 -0.26 +0.276 -2.842 +2.626 -2024-11-02 12:00:00 +2024-11-06 17:00:00 -0.738 +0.721 -0.262 +0.279 -2.818 +2.579 -2024-11-02 13:00:00 +2024-11-06 18:00:00 -0.742 +0.718 -0.258 +0.281 -2.876 +2.552 -2024-11-02 14:00:00 +2024-11-06 19:00:00 -0.732 +0.722 -0.268 +0.278 -2.734 +2.602 -2024-11-02 15:00:00 +2024-11-06 20:00:00 -0.734 +0.72 -0.266 +0.28 -2.758 +2.569 @@ -413,28 +413,28 @@

Limitations} ) -#> open high low close volume -#> 2024-10-08 00:00:00 62209 62330 62205 62291 32.2282 -#> 2024-10-08 00:05:00 62291 62364 62119 62171 28.5250 -#> 2024-10-08 00:10:00 62171 62361 62165 62340 21.0045 -#> 2024-10-08 00:15:00 62340 62400 62220 62274 29.2859 -#> 2024-10-08 00:20:00 62274 62407 62273 62395 17.7019 -#> 2024-10-08 00:25:00 62395 62464 62353 62376 13.9593 -#> 2024-10-08 00:30:00 62376 62571 62376 62544 30.0925 -#> 2024-10-08 00:35:00 62544 62548 62451 62501 19.1111 -#> 2024-10-08 00:40:00 62501 62557 62476 62534 1.7833 -#> 2024-10-08 00:45:00 62534 62576 62464 62491 13.8635 -#> ... -#> 2024-10-14 21:50:00 65813 65814 65785 65785 3.5600 -#> 2024-10-14 21:55:00 65785 65790 65757 65768 3.3085 -#> 2024-10-14 22:00:00 65768 65919 65768 65916 3.0371 -#> 2024-10-14 22:05:00 65916 65988 65860 65951 6.5730 -#> 2024-10-14 22:10:00 65951 65978 65890 65973 5.2253 -#> 2024-10-14 22:15:00 65973 66180 65935 66106 155.2373 -#> 2024-10-14 22:20:00 66106 66238 66071 66106 31.7142 -#> 2024-10-14 22:25:00 66106 66208 66088 66095 22.0092 -#> 2024-10-14 22:30:00 66095 66147 66014 66036 16.4620 -#> 2024-10-14 22:35:00 66036 66060 65998 66041 7.8976 +#> open high low close volume +#> 2024-10-12 00:00:00 62534 62574 62493 62574 7.2722 +#> 2024-10-12 00:05:00 62574 62597 62557 62582 5.1110 +#> 2024-10-12 00:10:00 62582 62773 62567 62750 14.3307 +#> 2024-10-12 00:15:00 62750 62750 62602 62658 7.3184 +#> 2024-10-12 00:20:00 62658 62737 62651 62723 6.0311 +#> 2024-10-12 00:25:00 62723 62733 62657 62729 3.6331 +#> 2024-10-12 00:30:00 62729 62816 62721 62801 9.4428 +#> 2024-10-12 00:35:00 62801 62801 62712 62745 4.3974 +#> 2024-10-12 00:40:00 62745 62774 62701 62760 1.3941 +#> 2024-10-12 00:45:00 62760 62762 62694 62697 1.2606 +#> ... +#> 2024-10-18 21:50:00 68459 68459 68222 68323 38.6922 +#> 2024-10-18 21:55:00 68323 68415 68322 68405 3.5347 +#> 2024-10-18 22:00:00 68405 68411 68285 68294 13.0908 +#> 2024-10-18 22:05:00 68294 68332 68255 68332 4.5775 +#> 2024-10-18 22:10:00 68332 68347 68254 68332 2.8239 +#> 2024-10-18 22:15:00 68332 68413 68302 68392 6.3030 +#> 2024-10-18 22:20:00 68392 68413 68348 68385 4.0436 +#> 2024-10-18 22:25:00 68385 68386 68324 68324 1.8154 +#> 2024-10-18 22:30:00 68324 68357 68264 68280 2.6975 +#> 2024-10-18 22:35:00 68280 68318 68241 68290 5.0234

If you need more data than this, you need to do multiple calls. One such solution is the following,

- +

OHLC charts @@ -138,7 +138,7 @@

OHLC charts= ohlc() )

-
+

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

@@ -172,7 +172,7 @@

Charting indicators) )
- +

Charting events @@ -248,7 +248,7 @@

Charting events event_data = event_data )

- +

Limitations diff --git a/articles/03-article.html b/articles/03-article.html index 9f313e7..fb6aef1 100644 --- a/articles/03-article.html +++ b/articles/03-article.html @@ -170,26 +170,26 @@

OHLC-V -2024-11-01 15:00:00 +2024-11-05 15:00:00 -2024-11-01 16:00:00 +2024-11-05 16:00:00 -2024-11-01 16:00:00 +2024-11-05 16:00:00 -2024-11-01 17:00:00 +2024-11-05 17:00:00 -2024-11-01 17:00:00 +2024-11-05 17:00:00 -2024-11-01 18:00:00 +2024-11-05 18:00:00 diff --git a/articles/05-article.html b/articles/05-article.html index 1670c31..1a522c7 100644 --- a/articles/05-article.html +++ b/articles/05-article.html @@ -136,7 +136,7 @@

Building Cryptocurrency Trade Mode ## 3) trade the model quantmod::tradeModel(built_model, leverage = 2) #> -#> Model: lm1730560498.14875 +#> Model: lm1730925305.1015 #> #> C.A.G.R.: 39.35% H.P.R.: 28.26% #> diff --git a/articles/cryptoQuotes.html b/articles/cryptoQuotes.html index a162b84..ad13520 100644 --- a/articles/cryptoQuotes.html +++ b/articles/cryptoQuotes.html @@ -113,7 +113,7 @@ ), size = 5 ) -#> [1] "DOTETH" "MATICUSDT" "NTRNUSD" "ATOMETH" "OXYEUR"

+#> [1] "DOTETH" "MATICUSDT" "NYMUSD" "ATOMETH" "PAXGETH"

These available tickers can be passed into the ticker-argument of all the get_*-functions with the appropriate source and @@ -137,13 +137,13 @@

Open, High, Low, Close an Volume futures = FALSE, interval = "1h" ) -
#>                        open    high     low   close    volume
-#> 2024-11-02 10:00:00 69556.9 69591.5 69470.3 69591.5 2.7689264
-#> 2024-11-02 11:00:00 69597.3 69687.6 69593.9 69616.3 0.2346585
-#> 2024-11-02 12:00:00 69603.6 69669.6 69421.1 69426.4 0.8759090
-#> 2024-11-02 13:00:00 69483.9 69688.1 69420.0 69420.0 1.1154062
-#> 2024-11-02 14:00:00 69420.0 69420.0 69084.7 69269.6 3.6717378
-#> 2024-11-02 15:00:00 69262.3 69268.3 69139.5 69185.3 0.1325981
+
#>                        open    high     low   close   volume
+#> 2024-11-06 15:00:00 73599.0 74486.1 73598.9 74312.3 59.81621
+#> 2024-11-06 16:00:00 74306.1 74523.4 74153.0 74296.0 32.42358
+#> 2024-11-06 17:00:00 74295.9 75000.0 74181.0 74464.4 51.38818
+#> 2024-11-06 18:00:00 74401.6 75215.4 74401.3 75215.4 28.37683
+#> 2024-11-06 19:00:00 75215.4 76200.0 75048.5 75817.0 83.91236
+#> 2024-11-06 20:00:00 75835.7 76007.4 75578.0 75634.5 52.89763

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

@@ -198,12 +198,12 @@

Sentiment Data interval = "1h" )
#>                       long  short ls_ratio
-#> 2024-11-02 10:00:00 0.7356 0.2644 2.782148
-#> 2024-11-02 11:00:00 0.7397 0.2603 2.841721
-#> 2024-11-02 12:00:00 0.7381 0.2619 2.818251
-#> 2024-11-02 13:00:00 0.7420 0.2580 2.875969
-#> 2024-11-02 14:00:00 0.7322 0.2678 2.734130
-#> 2024-11-02 15:00:00 0.7333 0.2667 2.749531
+#> 2024-11-06 15:00:00 0.7248 0.2752 2.633721 +#> 2024-11-06 16:00:00 0.7242 0.2758 2.625816 +#> 2024-11-06 17:00:00 0.7206 0.2794 2.579098 +#> 2024-11-06 18:00:00 0.7185 0.2815 2.552398 +#> 2024-11-06 19:00:00 0.7224 0.2776 2.602305 +#> 2024-11-06 20:00:00 0.7168 0.2832 2.531073

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

@@ -241,7 +241,7 @@

Charting cryptocurrency market data ) )
-
+

Adding indicators

{cryptoQuotes} @@ -271,7 +271,7 @@

Adding indicators) )

- +