Esempio n. 1
0
 void Poloniex.IOnTradeAction.OnTradeEvent(Poloniex.Trade trade)
 {
     OnTradeAction?.OnTrade(new Trade
     {
         CurrencyPair  = trade.CurrencyPair,
         TradeId       = trade.TradeId,
         TradeType     = (TradeType)(int)trade.TradeType,
         Price         = trade.Price,
         Quantity      = trade.Quantity,
         UnixEpochTime = trade.UnixEpochTime,
     });
 }