marketInfo: The information on the last trades

View source: R/marketInfo.R

marketInfoR Documentation

The information on the last trades

Description

Obtain information about the most recent trades conducted in the cryptocurrency market. This data can provide insights into the market trends and help investors make informed decisions.

Usage

marketInfo(src ,dst)

Arguments

src

List of the some crypto curencies which available in the function.
btc, eth, ltc, usdt, xrp, bch, bnb, eos, xlm, etc, trx, pmn, doge, uni, dai, link, dot, aave, ada, shib, ftm, matic, axs, mana, sand, avax, mkr, gmt, atom, uma, w, rsr, wld, 1m_nft, flow, agld, ton, mask, snt, agix, algo, ssv, band, omg, comp, zrx, rdnt, imx, 1inch, mdt, sushi, bico, gmx, zro, bal, dao, gal, not, nmr, xmr, enj, apt, lrc, dydx, grt, near, cvx, 100k_floki, fil, sol, ldo, crv, aevo, qnt, om, woo, storj, ant, 1m_btt, magic, ape, rndr, hbar, lpt, glm, blur, wbtc, meme, ethfi, egala, arb, fet, skl, cvc, snx, jst, ens, trb, chz, xtz, slp, t, bat, celr, yfi, egld, one, usdc

dst

The destination currency can be chosen in two values: 'rls' (Rial) or 'usdt' (US. Dollar).

Value

The values return as format of a data frame. The colnames of the dimensions are
isClosed: Logit value. TRUE is market close and FALSE is market Open
bestSell: The first line price of bid list
bestBuy: The first line price of ask list
volumeSrc: The volume of the source (src) currency traded.
volumeDst: The volume of the distination (dst) currency traded.
latest: The last price traded.
mark: The mark price is a calculated by the bestSell, bestBuy and latest price.
dayLow: Lowest price in the day
dayHigh: Highes price in the day
dayOpen: Open price in the day
dayClose: Close price in the day
dayChange: Changes price in a day

Examples

## Not run: 
# Download daily data from last one month

marketInfo("btc","rls")

## End(Not run)

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