R/tradeInfo.R

Defines functions tradeInfo

Documented in tradeInfo

tradeInfo <- function(src){
  sc <-  paste0('https://apiv2.nobitex.ir/v2/trades/',src)
  res <- fromJSON(paste(readLines(sc,warn=FALSE), collapse=""))
  
  res0<-as.data.frame(do.call(rbind,res$trades))
  res0
}

Try the TSEtools package in your browser

Any scripts or data that you put into this service are public.

TSEtools documentation built on Jan. 8, 2026, 5:07 p.m.