I have an algorithm running and connected to IB paper account. My algorithm made a limit order to symbol CAP TSNM2NXOOCBP.

I then received error message and my algorithm is stopped: Runtime Error: No security definition has been found for the request. Origin: [Id=5155] IBPlaceOrder: CAP (STK CAP USD Smart   0  )

I have 2 questions;

Q1. How to avoid this error?

Q2. If the error cannot be avoided, I would like to ask how to avoid the algorithm stopped?

I am using python, and I have already used a try except pattern to wrap the Limitorder().