Wrong underlying selection

what is the wrong in it. it is configured for “NIFTY”, but trade taken for nifty and there after Finnifty. How Finnifty ? ce_strike, pe_strike, strike = tsl.ATM_Strike_Selection(Underlying =“NIFTY”,Expiry =0)
lot_size = tsl.get_lot_size(ce_strike)*1
entry_orderid = tsl.order_placement(ce_strike,‘NFO’, lot_size, 0, 0, ‘MARKET’, ‘BUY’, ‘MIS’)
traded = “yes”
trade_info[‘options_name’] = ce_strike
trade_info[‘qty’] = lot_size
trade_info[‘sl’] = first_candle[‘low’]
trade_info[‘CE_PE’] = “CE”

Market Open
BUY 2025-03-21 09:38:02.487096 True True True True True True True True True first_candle 09:36:00
SELL 2025-03-21 09:38:02.487096 False False False True True True False True True first_candle 09:36:00

BUY Signal Formed
FINNIFTY 27 MAR 23250 CALL FINNIFTY 27 MAR 23250 PUT 23250 65 6225032196816 yes {‘options_name’: ‘FINNIFTY 27 MAR 23250 CALL’, ‘qty’: 65, ‘sl’: 23240.65, ‘CE_PE’: ‘CE’}
Market Open
BUY 2025-03-21 09:38:12.775103 True True True True True False True True True first_candle 09:36:00
SELL 2025-03-21 09:38:12.775103 False False False True True False False True True first_candle 09:36:00

Market Open
BUY 2025-03-21 09:38:20.142855 True True True True True False True True True first_candle 09:36:00
SELL 2025-03-21 09:38:20.142855 False False False True True False False True True first_candle 09:36:00

STRIKE SELECTED of NIFTY but executed FINNIFTY, not able to understand, how we can cross check before order placement.