Description Usage Arguments Value Examples
View source: R/get_market_crypto.R
Get market crypto data from FMP cloud API.
1 2 3 4 5 6 7 8 9 | get_market_crypto(
symbol,
multiply = 1,
time = "hour",
from = as.character(Sys.Date() - 7),
to = as.character(Sys.Date()),
api_key,
limit
)
|
symbol |
Crypto symbol |
multiply |
Multiply time yo get final frequency |
time |
Time frequency |
from |
Start date, character |
to |
End date, character |
api_key |
FMP cloud API key |
limit |
= Response limit, default is 500. (Maximum 1000) |
Data table of OHLCV prices
1 2 | get_market_crypto(symbol = 'btcusd', multiply = 1, time = 'h', from = as.character(Sys.Date() - 7),
to = as.character(Sys.Date()), api_key = Sys.getenv("APIKEY"), limit = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.