Margin requirement for option position

I was just following few strategies on option trading, and in Sensibull, I had added few positions for draft on 19th AUGUST 2024 as:

  • 29th AUG 430 PE : Sell x 3lot
  • 29th AUG 440 CE : Buy x 3lot
  • 29th AUG 440 PE : BUY x 3lot
  • 29th AUG 450 CE : Sell x 3lot

Back then the Margin requirement were:
Funds needed: 4.47L
Margin needed: 3.82L

As of today 29th AUG (expiry days), the margin requirements are as follows:

  • when trying enter the same position as above freshly:
    • Funds needed: 19.25L
    • Margin needed: 2.97L
  • margin requirements as shown in draft portfolio:
    • Funds needed: NA
    • Margin needed: 1.76L

I am really not able to understand how much margin I really need to maintain on the above trade. Is it the “funds needed” or “margin needed” that I need to maintain after I enter into trade?

If it is “margin needed”, the number is different in draft portfolio and when I try to take same fresh position. Which one do I need to maintain?

Have attached screenshots for reference:

Draft portfolio:

Margin requirements when I try to enter fresh trade:

After I had entered the trade on 19th AUG, please let me know how much margin I should have been maintained for today?(as per the screenshots)

How the Margin calculations increase closer to expiry is still a mystery to me, have asked a few times here and also raised a ticket but they just give copy paste ready answers instead on replying simply to the asked question :smiling_face_with_tear:

Bro i dnt use strategy builder so nt havin much knowledge bt still like to ask why u using strategy builder fr funds margin req instead of basket order? Wnt bo be more accurate

Because strategy builder gives much more info