signals {limexhub} | R Documentation |
Get Signals Data
Description
Retrieves signals data for a specified stock symbol and model from the Limex API. The function uses the API token that is stored in the 'LIMEX_API_TOKEN' environment variable.
Usage
signals(
vendor = "boosted",
model = "50678d2d-fd0f-4841-aaee-7feac83cb3a1",
symbol = "AAPL",
from = "2010-01-01",
to = Sys.Date()
)
Arguments
vendor |
The vendor name associated with the signals data. |
model |
The model identifier for which signals data is requested. |
symbol |
The stock symbol for which signals data is requested. |
from |
The start date for the signals data retrieval in 'YYYY-MM-DD' format. |
to |
The end date for the signals data retrieval in 'YYYY-MM-DD' format. |
Value
A data frame containing the signals data if the request is successful; NULL otherwise.
Examples
## Not run:
signals_data <- signals(vendor = "boosted", symbol = "AAPL")
## End(Not run)
[Package limexhub version 0.1.5 Index]