¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: No response from scanner


 

Did you run It on weekend or holiday??


On Mon, Jun 12, 2023, 5:22 PM <unclekensson@...> wrote:
tl;dr: My calls to reqScannerSubscription arrive at TWS fine, but no data or error is returned.

(Note: I am puzzled why this was originally rejected. I do not believe this to be a golang problem and I've already translated the very few implementation details to use the terms in the TWS API docs.)

Hello,

I'm trying to set up a simple scanner (MOST_ACTIVE_AVG_USD) via a golang implementation of the TWS API. Late last week, I briefly had a few successful scanners running; this week, I'm getting no response back.

I don't just mean "no data" -- I would expect a scannerDataEnd response in that case -- I mean, nothing at all comes back. No data, no scannerDataEnd, no error, nothing.

The request is certainly reaching TWS; the scanner can be cancelled perfectly fine, and sending an incorrect request (e.g., with a bad scan code) does provoke an error. Other requests can be handled while the scanner is sitting there.

I see this in the client log:
> 14:34:48:024 <- 22-4-20-STK-STK.US.MAJOR-MOST_ACTIVE_AVG_USD--------------0------

but then nothing afterwards.

Any suggestions about what might be going wrong? I'm grateful for any help, and happy to fill in any details I've missed.

C

Join [email protected] to automatically receive all group messages.