StockTwits API Streaming and Search Used Like Twitter Streaming

1.2k Views Asked by At

The StockTwits API documentation describes steams in a way that sounds like static search results, for example streams/symbol:

This allows an API application to search for a symbol or user. 30 Results will be a  
combined list of symbols and users.

This seems similar to search/symbols:

This allows an API application to search for a symbol directly. 30 Results will return
only ticker symbols. 

Other than the fact that search excludes users, I don't see the difference.

In contrast, the Twitter API provides methods to request a continuous stream of tweets, which I have gotten to provide tens of thousands of tweets in a few days.

Is it possible to have StockTwit pump tweets continuously, similar to Twitter?

If so, what is required? Since StockTwit streaming looks like searching to me, the only option I have seen is to submit repeated search requests, but that would exhaust the rate limit.

I prefer C#, but I am glad to study answers in other languages, such as PHP.

2

There are 2 best solutions below

1
On BEST ANSWER

This is a static search for symbols or both symbols and users as a combined search. This isn't a streaming search endpoint for filtering content. This is strictly for use for finding a symbol or a user to go directly to the stream.

We are looking into offering streaming endpoints and search would be part of this offering.

0
On


You may be interested in using streamdata.io which allows to stream any APIs. We have already implemented a StockTwits demo, which can be found here and explanations can be found in this blog post.
I think it's quite easy to transpose what has been done with Android to the C# world. All you need is an EventSource library and a JSON-Patch library.