| getNBTX | R Documentation |
Download the history data of the crypto currencies from the Nobitex (website of "nobitex.ir").
getNBTX(src,frame,from,to)
src |
List of the some crypto curencies which available in the function. |
frame |
A character value shows the data frame. The frame is defined as |
from |
"2025-12-23 13:13:57 +0330"
The character string in the date format ("%Y-%m-%d %H:%M:%S") shows the start date of the time frame. Since, the data is time series format, the rules of |
to |
The character string in the date format ("%Y-%m-%d %H:%M:%S") shows the end date of the time frame. Since, the data is time series format, the rules of |
A symbol of the crypto currency can be named and the values will be assigned the variable. Component data is an array with xts time series object. The names for dimensions are: Open, High, Low, Close, Volume. The value of symbol are appear in Global Environment.
The output is an object of the “cryto currency” assigned the variable's name.
## Not run:
# Download daily data from last one month
x <- getNBTX("BTCUSDT", frame = "D", from = paste0(Sys.Date()-30, substr(Sys.time(), 11, 19))
, to=Sys.time())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.