@kiran1808 said in Can't stop reactor that isn't running.:
how to automatically exit the program after printing LTP only once?
If your sole objective is to print LTP once, then you should use ltpData function.
obj.ltpData('exchange', 'tradingsymbol', token)It prints LTP only once.