Finance
LoadHistory
load historic data for a given benchmark rate
Calling Sequence
Parameters
Description
Examples
Compatibility
LoadHistory(benchmark, starthistory, data)
benchmark
-
benchmark rate created using the BenchmarkRate command; benchmark rate
starthistory
a string containing a date specification in a format recognized by ParseDate or a Date data structure; start of the history
data
list or Vector of rates; historic data
The LoadHistory command loads historic data for the specified benchmark rate constructed using the BenchmarkRate command. Note that for dates preceding the global evaluation date, historic data can be used. Otherwise the forecasted interest rate is used.
with⁡Finance:
SetEvaluationDate⁡Jan-03-2005:
Create a 6-month USD LIBOR rate and use a float rate of 5% as forecast.
benchmark≔BenchmarkRate⁡6,Months,USDLIBOR,ZeroCurve⁡0.05
benchmark ≔ moduleend module
benchmark⁡Jan-11-2005
0.04993152460
This is the load history for this rate.
LoadHistory⁡benchmark,Jan-11-2005,0.07:
Note that historic data is used only for dates preceding the global evaluation date. Otherwise the forecasted interest rate is used.
SetEvaluationDate⁡Jan-15-2005:
0.07000000000
The Finance[LoadHistory] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
See Also
Finance[BenchmarkRate]
Finance[Calendar]
Finance[DayCounter]
Finance[DiscountCurve]
Finance[EquivalentRate]
Finance[ForwardCurve]
Finance[ForwardRate]
Finance[ImpliedRate]
Finance[ParRate]
Finance[ZeroCurve]
Download Help Document