Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Sep 20, 2024
1 parent 3c3baa9 commit 961a2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/events/ohlcv.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

@dataclass(frozen=True)
class MarketEvent(Event):
symbol: Symbol
timeframe: Timeframe
meta: EventMeta = field(
default_factory=lambda: EventMeta(priority=4, group=EventGroup.market),
init=False,
Expand All @@ -17,8 +19,6 @@ class MarketEvent(Event):

@dataclass(frozen=True)
class NewMarketDataReceived(MarketEvent):
symbol: Symbol
timeframe: Timeframe
bar: Bar

def to_dict(self):
Expand Down

0 comments on commit 961a2ca

Please sign in to comment.