Here is the VBA function to calculate the cap price

enter image description here

Can anyone tell me what is N and t0? From the textbook, N = the number of reset (or payment) dates and t0 = time until the first reset date. But can we find out the N and t0 of the option from the website?

  • 1
    $\begingroup$ The cap is a sum of caplets, the N is the number of caplets constituting your cap. $\endgroup$ – byouness Oct 11 '19 at 18:02
  • $\begingroup$ Can we find the N from some website?? $\endgroup$ – Lai Chi Kit Oct 12 '19 at 11:26
  • 1
    $\begingroup$ can we get the input for testing from any website?? $\endgroup$ – Lai Chi Kit Oct 12 '19 at 16:38