Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebranding, efficiency and end-user upgrades 🚀 🚀 #28

Merged
merged 15 commits into from
Jul 7, 2024
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
34 changes: 22 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
Package: cryptoQuotes
Title: A Streamlined Access to Cryptocurrency OHLC-V Market Data and Sentiment Indicators
Version: 1.3.1
Title: Open Access to Cryptocurrency Market Data, Sentiment Indicators and Interactive Charts
Version: 1.3.2
Authors@R: c(
person("Serkan", "Korkmaz", , "[email protected]", role = c("cre", "aut", "ctb", "cph"),
comment = c(ORCID = "0000-0002-5052-0982")),
person("Jonas", "Cuzulan Hirani", , "[email protected]", role = "ctb",
comment = c(ORCID = "0000-0002-9512-1993"))
person(
given = "Serkan",
family = "Korkmaz",
email = "[email protected]",
role = c("cre", "aut", "ctb", "cph"),
comment = c(ORCID = "0000-0002-5052-0982")
),
person(
given = "Jonas",
family = "Cuzulan Hirani",
email = "[email protected]",
role = "ctb",
comment = c(ORCID = "0000-0002-9512-1993")
)
)
Description:
This high-level API client offers a streamlined access to public cryptocurrency market data and sentiment indicators. It features OHLC-V (Open, High, Low, Close, Volume) that comes
with granularity ranging from seconds to months and essential sentiment indicators to develop and backtest trading strategies, or conduct detailed market analysis. By interacting directly with
the major cryptocurrency exchanges this package ensures a reliable, and stable, flow of market information, eliminating the need for complex, low-level API interactions or webcrawlers.
Description:
This high-level API client provides open access to cryptocurrency market data, sentiment indicators, and interactive charting tools.
The data is sourced from major cryptocurrency exchanges via cURL and processed using the xts package. The data comes in open, high, low, and close (OHLC) format with flexible granularity, ranging from seconds to months.
This flexibility makes it ideal for developing and backtesting trading strategies or conducting detailed market analysis.
License: GPL (>= 2)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand All @@ -24,14 +34,14 @@ Suggests:
tidyverse
Config/testthat/edition: 3
Imports:
cli (>= 3.6.2),
cli (>= 3.6.3),
curl (>= 5.2.1),
jsonlite (>= 1.8.8),
lifecycle (>= 1.0.4),
plotly (>= 4.10.4),
TTR (>= 0.24.4),
utils,
xts (>= 0.13.2),
xts (>= 0.14.0),
zoo (>= 1.8-12)
Depends:
R (>= 4.0.0)
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export(lsr)
export(macd)
export(ohlc)
export(pline)
export(read_xts)
export(remove_bound)
export(rsi)
export(sma)
Expand All @@ -31,6 +32,7 @@ export(split_window)
export(volume)
export(vwap)
export(wma)
export(write_xts)
export(zlema)
importFrom(TTR,BBands)
importFrom(curl,has_internet)
Expand Down
11 changes: 7 additions & 4 deletions NEWS.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@ library(cryptoQuotes)

## Improvements

## Read and Write `xts`-objects

* `read_xts()` and `write_xts()` reads and stores `xts`-objects. These functions are essentially just wrappers of `zoo::read.zoo()` and `zoo::write.zoo()`. Thank you @gokberkcan7 for the suggestion.

### Charting

* The `chart()`-function are now exported as `.svg`-images in 4k resolution via the `modebar`.
* The `chart()`-function are now more interactive and supports drawing lines and rectangles via the `modebar`. It is also possible to interactively change the `title` and `subtitle` by double clicking these (Thank you @andreltr for the suggestion. See [Discussion](https://github.com/serkor1/cryptoQuotes/discussions/19).
* The `chart()`-function are now more interactive and supports drawing lines and rectangles via the `modebar`. It is also possible to interactively change the `title` and `subtitle` by double clicking these (Thank you @andreltr for the suggestion. See [Discussion](https://github.com/serkor1/cryptoQuotes/discussions/19)).
* The `chart()`-function now has a new option `static` that is equal to `FALSE` by default. If `FALSE` the chart can be edited, annotated and explored interactively.
* The `chart()`-function now has a new option `palette` that is set to "hawaii" by default. See [hcl.pals()] for accepted values.
* The `chart()`-function now has a new option `scale` that is set to 1 by default. Scales
#' all fonts on the chart.
* The `chart()`-function now has a new option `palette` that is set to "hawaii" by default. See `hcl.pals()` for accepted values.
* The `chart()`-function now has a new option `scale` that is set to 1 by default. Scales all fonts on the chart.

<details>
<summary>Static set to FALSE (Default Palette) </summary>
Expand Down
48 changes: 27 additions & 21 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

## Improvements

## Read and Write `xts`-objects

- `read_xts()` and `write_xts()` reads and stores `xts`-objects. These
functions are essentially just wrappers of `zoo::read.zoo()` and
`zoo::write.zoo()`. Thank you @gokberkcan7 for the suggestion.

### Charting

- The `chart()`-function are now exported as `.svg`-images in 4k
Expand All @@ -15,14 +21,14 @@
lines and rectangles via the `modebar`. It is also possible to
interactively change the `title` and `subtitle` by double clicking
these (Thank you @andreltr for the suggestion. See
[Discussion](https://github.com/serkor1/cryptoQuotes/discussions/19).
[Discussion](https://github.com/serkor1/cryptoQuotes/discussions/19)).
- The `chart()`-function now has a new option `static` that is equal to
`FALSE` by default. If `FALSE` the chart can be edited, annotated and
explored interactively.
- The `chart()`-function now has a new option `palette` that is set to
“hawaii” by default. See \[hcl.pals()\] for accepted values.
“hawaii” by default. See `hcl.pals()` for accepted values.
- The `chart()`-function now has a new option `scale` that is set to 1
by default. Scales \#’ all fonts on the chart.
by default. Scales all fonts on the chart.

<details>
<summary>
Expand Down Expand Up @@ -174,12 +180,12 @@ tail(
```

#> open_interest
#> 2024-07-01 19:00:00 2517.698
#> 2024-07-01 20:00:00 2538.052
#> 2024-07-01 21:00:00 2532.170
#> 2024-07-01 22:00:00 2523.813
#> 2024-07-01 23:00:00 2530.148
#> 2024-07-02 00:00:00 2519.876
#> 2024-07-07 10:00:00 2474.917
#> 2024-07-07 11:00:00 2522.876
#> 2024-07-07 12:00:00 2522.405
#> 2024-07-07 13:00:00 2520.337
#> 2024-07-07 14:00:00 2514.162
#> 2024-07-07 15:00:00 2512.482

</details>

Expand Down Expand Up @@ -361,12 +367,12 @@ tail(
```

#> funding_rate
#> 2024-06-30 02:00:00 1e-04
#> 2024-06-30 10:00:00 1e-04
#> 2024-06-30 18:00:00 1e-04
#> 2024-07-01 02:00:00 1e-04
#> 2024-07-01 10:00:00 1e-04
#> 2024-07-01 18:00:00 1e-04
#> 2024-07-05 18:00:00 1.762e-05
#> 2024-07-06 02:00:00 5.729e-05
#> 2024-07-06 10:00:00 7.512e-05
#> 2024-07-06 18:00:00 3.250e-05
#> 2024-07-07 02:00:00 8.164e-05
#> 2024-07-07 10:00:00 1.000e-04

</details>

Expand All @@ -388,12 +394,12 @@ tail(
```

#> open_interest
#> 2024-06-26 02:00:00 75584.46
#> 2024-06-27 02:00:00 74876.90
#> 2024-06-28 02:00:00 74906.65
#> 2024-06-29 02:00:00 78522.05
#> 2024-06-30 02:00:00 80535.81
#> 2024-07-01 02:00:00 85675.69
#> 2024-07-02 02:00:00 81856.18
#> 2024-07-03 02:00:00 84473.52
#> 2024-07-04 02:00:00 88025.51
#> 2024-07-05 02:00:00 88552.55
#> 2024-07-06 02:00:00 83117.83
#> 2024-07-07 02:00:00 80177.38

</details>

Expand Down
Loading
Loading