I noticed that when reqContractDetails requests many contracts (ex. option chain) and R invokes a remote TWS (not in the same machine) it doesn't work (socket error).
Expected behavior
I fixed the problem adding a small delay during the iteration. It works very well for me.
Hope it is useful!
Description
I noticed that when reqContractDetails requests many contracts (ex. option chain) and R invokes a remote TWS (not in the same machine) it doesn't work (socket error).
Expected behavior
I fixed the problem adding a small delay during the iteration. It works very well for me. Hope it is useful!
Minimal, reproducible example