¿ªÔÆÌåÓý

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

Help getting realtime data stream via TWS API for TICK-NYSE and TRIN-NYSE


 

Hi,

I want to get the data stream for the index TICK and TRIN. I read around the group and saw that i need to create the contract with the name TICK-NYSE and TRIN-NYSE with secType as "IND".

After that, I tried to subscribe to realtime data using both reqMktData and?reqRealTimeBars but I am not getting any ticks for it.

I want to know how to get the real time data stream for these two indices.?

Thanks


 

Go into TWS and right click on any instrument (TRIN or TICK) and select Financial Instrument Info -> Description.? The correct information to put into the Contract object will be specified on the left side of the window that pops up.? In the case of TICK you get:

Underlying = TICK-AMEX
Security Type = IND
Currency = USD
Exchange = AMEX
Symbol = TICK-AMEX

That's what you set for TICK-AMEX.

Hunter

On Thursday, March 18, 2021, 2:20:03 AM PDT, Ullas Diwakar <ullasdiwakar96@...> wrote:


Hi,

I want to get the data stream for the index TICK and TRIN. I read around the group and saw that i need to create the contract with the name TICK-NYSE and TRIN-NYSE with secType as "IND".

After that, I tried to subscribe to realtime data using both reqMktData and?reqRealTimeBars but I am not getting any ticks for it.

I want to know how to get the real time data stream for these two indices.?

Thanks


 

Hunter,

Thanks for that tip.

I can compare this to reqContractDetails() query and understand better.

For TWS > Financial Description window *right side (not left) information, is there a single API request call one can make to get all that data? (For example it includes Dividends, Valuations, Growth,...)

- Bruce

On Thu, Mar 18, 2021, 5:34 AM Hunter C Payne via <hunterpayne2001=[email protected]> wrote:
Go into TWS and right click on any instrument (TRIN or TICK) and select Financial Instrument Info -> Description.? The correct information to put into the Contract object will be specified on the left side of the window that pops up.? In the case of TICK you get:

Underlying = TICK-AMEX
Security Type = IND
Currency = USD
Exchange = AMEX
Symbol = TICK-AMEX

That's what you set for TICK-AMEX.

Hunter

On Thursday, March 18, 2021, 2:20:03 AM PDT, Ullas Diwakar <ullasdiwakar96@...> wrote:


Hi,

I want to get the data stream for the index TICK and TRIN. I read around the group and saw that i need to create the contract with the name TICK-NYSE and TRIN-NYSE with secType as "IND".

After that, I tried to subscribe to realtime data using both reqMktData and?reqRealTimeBars but I am not getting any ticks for it.

I want to know how to get the real time data stream for these two indices.?

Thanks