Learn Algo Trading with Python | Codes | Youtube Series

Yes @Tradehull_Imran works in 2.3.

However, getting

Getting Error at OTM strike Selection as '<' not supported between instances of 'int' and 'str'
None
Enter valid Script Name
'Got exception in place_order as 'NoneType' object has no attribute 'upper'

for

tsl.ITM_Strike_Selection("SENSEX", "27-12-2024", 3)

and also, logging info is incorrect

		except Exception as e:
			print(f"Getting Error at OTM strike Selection as {e}")
			return None,None,0,0