StockTwits#

Following methods are provided:

class rug.stocktwits.StockTwits(symbol=None)#
get_earnings_calendar(from_date, to_date)#

Fetches upcomming earnings annoucements within the given date range. Maximum date span is 14 days.

Each earning dict has the following structure:

  • date

  • symbol

  • time

  • when (BEFORE_OPEN or AFTER_CLOSE)

Parameters:
  • from_date (date) – Beginning of the calendar span.

  • end_date (date) – End of the calendar span.

Returns:

List of earning objects.

Return type:

list