All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.knowm.xchange.vircurex.Vircurex Maven / Gradle / Ivy

There is a newer version: 4.3.21
Show newest version
package org.knowm.xchange.vircurex;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import org.knowm.xchange.vircurex.dto.marketdata.VircurexDepth;
import org.knowm.xchange.vircurex.dto.marketdata.VircurexLastTrade;

@Path("api")
@Produces(MediaType.APPLICATION_JSON)
public interface Vircurex {

  @GET
  @Path("orderbook.json")
  VircurexDepth getFullDepth(@QueryParam("base") String tradeableIdentifier, @QueryParam("alt") String currency);

  @GET
  @Path("get_last_trade.json")
  VircurexLastTrade getLastTrade(@QueryParam("base") String tradeableIdentifier, @QueryParam("alt") String currency);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy