Yes, i guess the use of it is for benchmarking execution algos.

Have a look at ib-insync.