alpheast.events.event module¶
- class alpheast.events.event.MarketEvent(symbol, timestamp, data)[source]¶
Bases:
EventHandles the receipt of new market data (e.g. a new bar for a specific symbol)
- class alpheast.events.event.SignalEvent(symbol, timestamp, direction)[source]¶
Bases:
EventHandles the generation of a trade signal by a strategy.
- class alpheast.events.event.OrderEvent(order_id, symbol, timestamp, direction, quantity, order_type=OrderType.MARKET, price=None)[source]¶
Bases:
EventHandles placing an order with the execution handler. Comes from the portfolio manager based on signal events.