public class OrderBookAPIAdapter extends AuthRetrofitAPIImpl<OrderBookAPIRetrofit> implements OrderBookAPI
apiKey, apiKeyVersion, baseUrl, passPhrase, secret| 构造器和说明 |
|---|
OrderBookAPIAdapter(String baseUrl,
String apiKey,
String secret,
String passPhrase,
Integer apiKeyVersion) |
| 限定符和类型 | 方法和说明 |
|---|---|
OrderBookResponse |
getAllLevel2OrderBook(String symbol)
Request via this endpoint to get the order book of the specified symbol.
|
OrderBookResponse |
getTop100Level2OrderBook(String symbol)
Get a list of open orders for a symbol.
|
OrderBookResponse |
getTop20Level2OrderBook(String symbol)
Get a list of open orders for a symbol.
|
getAPIImplexecuteSync, getApiKey, getBaseUrl, getErrorResponse, getPassPhrase, getSecret, setApiKey, setBaseUrl, setPassPhrase, setSecretpublic OrderBookResponse getTop100Level2OrderBook(String symbol) throws IOException
OrderBookAPIgetTop100Level2OrderBook 在接口中 OrderBookAPIIOExceptionpublic OrderBookResponse getTop20Level2OrderBook(String symbol) throws IOException
OrderBookAPIgetTop20Level2OrderBook 在接口中 OrderBookAPIIOExceptionpublic OrderBookResponse getAllLevel2OrderBook(String symbol) throws IOException
OrderBookAPIgetAllLevel2OrderBook 在接口中 OrderBookAPIIOExceptionCopyright © 2023. All rights reserved.