Exchange v0.1.0 Exchange.Adapters.EventBus.TradeProcessed View Source
A struct representing the payload of :trade_processed events.
Link to this section Summary
Link to this section Types
Specs
t() :: %Exchange.Adapters.EventBus.TradeProcessed{
acknowledged_at: integer(),
buy_commission: Money.t(),
buy_order_id: Ecto.UUID.t(),
buy_total: Money.t(),
buyer_id: Ecto.UUID.t(),
currency: atom(),
price: Money.t(),
sell_commission: Money.t(),
sell_order_id: Ecto.UUID.t(),
sell_total: Money.t(),
seller_id: Ecto.UUID.t(),
size: integer(),
ticker: atom(),
trade_id: Ecto.UUID.t()
}
TradeProcessed