| marketInfo | R Documentation |
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.
marketInfo(src ,dst)
src |
List of the some crypto curencies which available in the function. |
dst |
The destination currency can be chosen in two values: 'rls' (Rial) or 'usdt' (US. Dollar). |
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
## Not run:
# Download daily data from last one month
marketInfo("btc","rls")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.