如何为我的问题使用Apply Family而不是嵌套的for循环

I want to fill a new data frame called hd5 based on a conditions from a old data frame called dfnew1.

Can I do it without a nested for loop ?

   for(  j in 2 : length(hd6)  )
   {
     for( i in 1: length(hd5$DATE) )
    {
     abcd= dfnew1 %>%  
     filter( (Date == hd5$DATE[i]) , (StrikePrice== hd6[j]) , (OptionType== "CE"))  %>%
     arrange( dte  )          
     hd5[i,j]= abcd[1,9]
     }
   }