Bases: pyalgotrade.observer.Subject
Class responsible for connecting to Twitter’s public stream API and dispatching events. Check https://dev.twitter.com/docs/streaming-apis/streams/public for more information.
Parameters: |
|
---|
Note
Subscribe to Twitter events. The event handler will receive a dictionary with the data as defined in: https://dev.twitter.com/docs/streaming-apis/messages#Public_stream_messages.