limexhub is a comprehensive R library designed to simplify interactions with the financial data and services provided by Limex DataHub. It provides an easy-to-use interface for fetching various types of financial data, including instruments, candles, fundamentals, news, events, and predictive signals.
limexhub library has a straightforward, intuitive interface that enables quick access to Limex DataHub.Install limexhub from CRAN:
install.packages('limexhub')
The library needs to be configured with an API key from your account. Sign up for free and you will automatically receive a set of API keys to start with.
library(limexhub)
limex_token("your_api_key")
instruments_data <- instruments(assets = 'stocks')
candles(symbol="AAPL",
to_date="2024-01-01",
from_date="2023-01-01",
timeframe=3)
fundamental(symbol="AAPL",
from_date="2023-01-01",
to_date="2024-01-01")
events(symbol="AAPL",
from_date="2023-01-01",
to_date="2024-01-01",
event_type="dividends")
news(symbol="AAPL",
from_date="2023-03-01",
to_date="2024-03-03")
models(vendor = 'boosted')
signals(vendor="boosted",
symbol="AAPL",
from_date="2023-01-01")