Um, the TWS API is not a web server or http based at all. It uses
a custom protocol, http is not going to work.
I am not a python expert so I apologize if your example is
running a python TWS API library rather than http.
On 3/9/2022 9:57 AM, Eric Eikrem via
groups.io wrote:
toggle quoted message
Show quoted text
r =
requests.post(,
data='{"symbol": "GWO","secType": "STK"}')