Sterling API and VB .net 2010

For all the experts out there, could you please shed some light for me on this seemingly easy question.. I would like to be able to use the structSTIQuoteSnap command to pull in Bid/Ask data for any symbol. What should the code structure be? Thank you guys in advance.
 
I forgot to mention that I am trying to do this with Vb 2010.. but wow that's a great project you've got there tradelink.
 
Quote from eqty168:

For all the experts out there, could you please shed some light for me on this seemingly easy question.. I would like to be able to use the structSTIQuoteSnap command to pull in Bid/Ask data for any symbol. What should the code structure be? Thank you guys in advance.

structSTIQuoteSnap isn't a command. It is the format of the data you receive from a OnSTIQuoteUpdate event.

To get quotes use the RegisterQuote method.

I think Sterling's website has some working examples as well.

and btw, if you want the bid/ask more than once, ie. not a snapshot, you need to use the OnSTIQuoteUpdate event and struct.
 
Quote from Shreddog:

structSTIQuoteSnap isn't a command. It is the format of the data you receive from a OnSTIQuoteUpdate event.

To get quotes use the RegisterQuote method.

I think Sterling's website has some working examples as well.

and btw, if you want the bid/ask more than once, ie. not a snapshot, you need to use the OnSTIQuoteUpdate event and struct.

I noticed I had a typo in the first line. It should read:
structSTIQuoteSnap isn't a command. It is the format of the data you receive from a OnSTIQuoteSnap event.
 
Back
Top