Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.8%) to scientific vocabulary
Keywords
Repository
An R client to the Public Rest API for Binance.
Basic Info
- Host: GitHub
- Owner: daroczig
- Language: R
- Default Branch: master
- Homepage: https://daroczig.github.io/binancer
- Size: 177 KB
Statistics
- Stars: 54
- Watchers: 13
- Forks: 55
- Open Issues: 15
- Releases: 0
Topics
Metadata Files
README.md
binancer
An R client to the Public Rest API for Binance.
API docs: https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md
Quick intro to using binancer by getting the most recent ~USD price of the cryptocurrencies supported on Binance:
r
library(binancer)
binance_coins_prices()
Getting data on a specific symbol pair, e.g. the most recent Bitcoin/USDT changes:
r
(klines <- binance_klines('BTCUSDT', interval = '1m'))
Visualize this data, e.g. on a simple line chart:
r
library(ggplot2)
ggplot(klines, aes(close_time, close)) + geom_line()
Poor man's candle chart with some ggplot2 tweaks:
r
library(scales)
ggplot(klines, aes(open_time)) +
geom_linerange(aes(ymin = open, ymax = close, color = close < open), size = 2) +
geom_errorbar(aes(ymin = low, ymax = high), size = 0.25) +
theme_bw() + theme('legend.position' = 'none') + xlab('') +
ggtitle(paste('Last Updated:', Sys.time())) +
scale_y_continuous(labels = dollar) +
scale_color_manual(values = c('#1a9850', '#d73027')) # RdYlGn
Extend this to multiple pairs in the past 24 hours using 15 mins intervals:
r
library(data.table)
klines <- rbindlist(lapply(
c('ETHBTC', 'ARKBTC', 'NEOBTC', 'IOTABTC'),
binance_klines,
interval = '15m',
limit = 4*24))
ggplot(klines, aes(open_time)) +
geom_linerange(aes(ymin = open, ymax = close, color = close < open), size = 2) +
geom_errorbar(aes(ymin = low, ymax = high), size = 0.25) +
theme_bw() + theme('legend.position' = 'none') + xlab('') +
ggtitle(paste('Last Updated:', Sys.time())) +
scale_color_manual(values = c('#1a9850', '#d73027')) +
facet_wrap(~symbol, scales = 'free', nrow = 2)
Owner
- Name: Gergely Daróczi
- Login: daroczig
- Kind: user
- Location: Los Angeles & Hungary
- Company: @SpareCores / @rxstudioinc
- Website: https://daroczig.github.io
- Twitter: daroczig
- Repositories: 123
- Profile: https://github.com/daroczig
Happy #rstats dev & open-source enthusiast, ex @cardcorp & @openmail, (co)founder of @rxstudioinc, @Rapporter, Hun RUG, @satRdays & @eRum2018 confs. Father of 4
GitHub Events
Total
- Issues event: 2
- Watch event: 2
- Issue comment event: 4
- Fork event: 2
Last Year
- Issues event: 2
- Watch event: 2
- Issue comment event: 4
- Fork event: 2
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| madsurgeon | a****l@b****h | 96 |
| Gergely Daroczi (@daroczig) | d****g@r****t | 58 |
| krzychu paliga | p****u@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 35
- Total pull requests: 5
- Average time to close issues: 5 months
- Average time to close pull requests: 7 days
- Total issue authors: 26
- Total pull request authors: 5
- Average comments per issue: 2.17
- Average comments per pull request: 3.4
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: about 22 hours
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 3.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- waynelapierre (4)
- johnatasjmo (3)
- larry77 (3)
- siegfried (2)
- dimitry-ishenko (2)
- neahook (1)
- cjmcnair (1)
- vkorobeynyk (1)
- 1tomdawson (1)
- rflsierra (1)
- viniciushdasilva (1)
- YsoSirius (1)
- Miguel0809 (1)
- canholyavkin (1)
- Trader12345a (1)
Pull Request Authors
- daroczig (2)
- madsurgeon (1)
- stanyip (1)
- siegfried (1)
- krzysztofpaliga (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 402 last-month
- Total dependent packages: 0
- Total dependent repositories: 3
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: binancer
API Client to 'Binance'
- Homepage: https://daroczig.github.io/binancer/
- Documentation: http://cran.r-project.org/web/packages/binancer/binancer.pdf
- License: AGPL
-
Latest release: 1.2.0
published about 4 years ago
Rankings
Maintainers (1)
Dependencies
- data.table * imports
- digest * imports
- httr * imports
- jsonlite * imports
- logger * imports
- snakecase * imports
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite