After the financial crisis of 2007, significant spreads between interbank rates associated to different maturities have emerged. To model them, we apply the Heath--Jarrow--Morton framework. The price of a financial instrument can then be approximated using cubature formulae on Wiener space in the infinite-dimensional setting. We present a short introduction to the area and illustrate the methods by examples.