예제 #1
0
        public async Task <List <MarketTrade> > GetMarketTrades(MarketId marketId)
        {
            VircurexMarketId vircurexMarketId = (VircurexMarketId)marketId;

            return(VircurexParsers.ParseMarketTrades(marketId,
                                                     await CallPublic <JArray>(Method.trades,
                                                                               vircurexMarketId.BaseCurrencyCode, vircurexMarketId.QuoteCurrencyCode, null)));
        }
예제 #2
0
 public async Task <List <MarketTrade> > GetMarketTrades(VircurexMarketId vircurexMarketId, VircurexOrderId since)
 {
     return(VircurexParsers.ParseMarketTrades(vircurexMarketId,
                                              await CallPublic <JArray>(Method.trades,
                                                                        vircurexMarketId.BaseCurrencyCode, vircurexMarketId.QuoteCurrencyCode, since)));
 }