Skip to contents

Contains information available via the Summary tab in Yahoo Finance.

Usage

currency_summary(from = "USD", to = "INR")

Arguments

from

Currency to convert from.

to

Currency to convert to.

Value

A list.

Examples

# \donttest{
currency_summary('GBP', 'USD')
#> $language
#> [1] "en-US"
#> 
#> $region
#> [1] "US"
#> 
#> $quoteType
#> [1] "CURRENCY"
#> 
#> $typeDisp
#> [1] "Currency"
#> 
#> $quoteSourceName
#> [1] "Delayed Quote"
#> 
#> $triggerable
#> [1] TRUE
#> 
#> $customPriceAlertConfidence
#> [1] "HIGH"
#> 
#> $currency
#> [1] "USD"
#> 
#> $regularMarketChangePercent
#> [1] -0.06629097
#> 
#> $regularMarketPrice
#> [1] 1.142923
#> 
#> $shortName
#> [1] "GBP/USD"
#> 
#> $regularMarketChange
#> [1] -0.0007580519
#> 
#> $regularMarketDayHigh
#> [1] 1.145974
#> 
#> $regularMarketDayLow
#> [1] 1.140823
#> 
#> $regularMarketPreviousClose
#> [1] 1.143681
#> 
#> $bid
#> [1] 1.142923
#> 
#> $ask
#> [1] 1.142857
#> 
#> $regularMarketOpen
#> [1] 1.143602
#> 
#> $fiftyTwoWeekLow
#> [1] 1.135267
#> 
#> $fiftyTwoWeekHigh
#> [1] 1.383399
#> 
#> $fiftyDayAverage
#> [1] 1.186611
#> 
#> $twoHundredDayAverage
#> [1] 1.266869
#> 
#> $marketState
#> [1] "REGULAR"
#> 
#> $exchange
#> [1] "CCY"
#> 
#> $messageBoardId
#> [1] "finmb_GBP_X"
#> 
#> $exchangeTimezoneName
#> [1] "Europe/London"
#> 
#> $exchangeTimezoneShortName
#> [1] "BST"
#> 
#> $gmtOffSetMilliseconds
#> [1] 3600000
#> 
#> $market
#> [1] "ccy_market"
#> 
#> $esgPopulated
#> [1] FALSE
#> 
#> $firstTradeDateMilliseconds
#> [1] 1.070237e+12
#> 
#> $priceHint
#> [1] 4
#> 
#> $regularMarketTime
#> [1] 1663654937
#> 
#> $regularMarketDayRange
#> [1] "1.1408232 - 1.1459742"
#> 
#> $regularMarketVolume
#> [1] 0
#> 
#> $bidSize
#> [1] 0
#> 
#> $askSize
#> [1] 0
#> 
#> $fullExchangeName
#> [1] "CCY"
#> 
#> $averageDailyVolume3Month
#> [1] 0
#> 
#> $averageDailyVolume10Day
#> [1] 0
#> 
#> $fiftyTwoWeekLowChange
#> [1] 0.152093
#> 
#> $fiftyTwoWeekLowChangePercent
#> [1] 0.1339711
#> 
#> $fiftyTwoWeekRange
#> [1] "1.135267 - 1.3833995"
#> 
#> $fiftyTwoWeekHighChange
#> [1] -0.005900025
#> 
#> $fiftyTwoWeekHighChangePercent
#> [1] -0.004264875
#> 
#> $fiftyDayAverageChange
#> [1] 0.03221393
#> 
#> $fiftyDayAverageChangePercent
#> [1] 0.02714784
#> 
#> $twoHundredDayAverageChange
#> [1] 0.08560246
#> 
#> $twoHundredDayAverageChangePercent
#> [1] 0.0675701
#> 
#> $sourceInterval
#> [1] 15
#> 
#> $exchangeDataDelayedBy
#> [1] 0
#> 
#> $tradeable
#> [1] FALSE
#> 
#> $cryptoTradeable
#> [1] FALSE
#> 
#> $symbol
#> [1] "GBPUSD=X"
#> 
# }