Exemplo n.º 1
0
 def historicalNews(
         self, reqId: int, time: str, providerCode: str,
         articleId: str, headline: str):
     dt = parseIBDatetime(time)
     dt = cast(datetime, dt)
     article = HistoricalNews(dt, providerCode, articleId, headline)
     self._results[reqId].append(article)
Exemplo n.º 2
0
 def historicalNews(self, reqId, time, providerCode, articleId, headline):
     article = HistoricalNews(time, providerCode, articleId, headline)
     self._results[reqId].append(article)