Order Placement working via Python IDLE but this error is obtained when using Visual Studio. On changing 'e.message' to just 'e', i get error message something like "Dictionary changed during iteration" and order placement fails again. Both , IDLE and Visual Studio using same Python 3.5.2 version.
[Continuation of previously closed discussion. I noticed this later, so posting for info. Maybe 2.7 vs 3.5 issue again]
e
and check?Arrow marked is printing e with command:
print("Order placement failed", e)