class_docstr: Tick filtering event operators that ``emit(time, price, size)``.
class_docstr_tok: ["Tick","filtering","event","operators","that","``","emit","(","time",",","price",",","size",")","``","."]
code: def on_source(self, ticker):
      for t in ticker.ticks:
          if t.tickType in self._tickTypes:
              self.emit(t.time, t.price, t.size)
  
imports: from dataclasses import dataclass, field
  from datetime import datetime
  from typing import ClassVar, List, Optional, Union
  from eventkit import Event, Op
  from ib_insync.contract import Contract
  from ib_insync.objects import DOMLevel, Dividends, FundamentalRatios, MktDepthData, OptionComputation, TickByTickAllLast, TickByTickBidAsk, TickByTickMidPoint, TickData
  from ib_insync.util import dataclassRepr, isNan
label_desc: Use image node_id 2 for calling the Tickfilter obj's underlying member method code with example usage: obj.on_source(ticker) without return types