def METHOD_NAME(
    self,
    instrument_id: InstrumentId,
    ts_init: int,
) -> TradeTick:
    return TradeTick(
        instrument_id=instrument_id,
        price=Price.from_str(self.p),
        size=Quantity.from_str(self.q),
        aggressor_side=AggressorSide.SELLER if self.m else AggressorSide.BUYER,
        trade_id=TradeId(str(self.t)),
        ts_event=millis_to_nanos(self.T),
        ts_init=ts_init,
    )