com.kucoin.sdk.rest.interfaces.retrofit.SymbolAPIRetrofit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kucoin-java-sdk Show documentation
Show all versions of kucoin-java-sdk Show documentation
Fixed fork of the official Kucoin SDK
The newest version!
/**
* Copyright 2019 Mek Global Limited.
*/
package com.kucoin.sdk.rest.interfaces.retrofit;
import com.kucoin.sdk.rest.response.KucoinResponse;
import com.kucoin.sdk.rest.response.SymbolResponse;
import com.kucoin.sdk.rest.response.SymbolTickResponse;
import com.kucoin.sdk.rest.response.TickerResponse;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import java.util.List;
/**
* Created by chenshiwei on 2019/1/11.
*/
public interface SymbolAPIRetrofit {
@GET("api/v1/symbols")
Call>> getSymbols();
@GET("api/v1/market/orderbook/level1")
Call> getTicker(@Query("symbol") String symbol);
@GET("api/v1/market/stats")
Call> getMarketStats(@Query("symbol") String symbol);
}