Plots the historical rate of the entered currencies within a specific period of time.
plot_historical.Rd
Plots the historical rate of the entered currencies within a specific period of time.
Arguments
- start_date
Entered starting date in the format specified '%YYYY-%mm-%dd'
- end_date
Entered ending date in the format specified '%YYYY-%mm-%dd'
- currency1
The type of based currency asked for plotting
- currency2
The type of exchange currency asked for plotting
Examples
plot_historical('2020-05-23', '2022-05-30', 'USD', 'CAD')
#>
#> Attaching package: ‘plotly’
#> The following object is masked from ‘package:ggplot2’:
#>
#> last_plot
#> The following object is masked from ‘package:stats’:
#>
#> filter
#> The following object is masked from ‘package:graphics’:
#>
#> layout