search for: dniftyopt

Displaying 1 result from an estimated 1 matches for "dniftyopt".

2011 Jan 12
1
snowfall
...lt;- NROW(getTradingDates(toDt,fromDt)) return(NoOfDays/252) }, error = function (ex){ #print (paste("Error in",toDt,fromDt)) NoOfDays <- 0 return(NoOfDays/252) } ) } Question: The following two lines work but the third and parallel one doesn't ... why? 1) > apply(dNiftyOpt,1,getTimeToMaturity) #Works 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 0.02380952 0.01984127 0.07936508 0.02380952 0.01984127 0.01190476 0...