Ejemplo n.º 1
0
 def event_position_changed(position) -> PositionChanged:
     return PositionChanged(
         position,
         position.last_event,
         uuid4(),
         UNIX_EPOCH,
     )
Ejemplo n.º 2
0
 def event_position_changed(position) -> PositionChanged:
     return PositionChanged(
         position=position,
         order_fill=position.last_event,
         event_id=uuid4(),
         timestamp_ns=0,
     )