Package | Description |
---|---|
org.oxerr.chbtc |
Client for CHBTC.
|
org.oxerr.chbtc.service.polling |
Polling Services.
|
Modifier and Type | Method and Description |
---|---|
Order |
CHBTCClient.getOrder(long id,
String currency)
获取委托买单或卖单。
|
Order |
CHBTC.getOrder(String method,
String accessKey,
long id,
String currency,
String sign,
long reqTime)
Deprecated.
Use
CHBTCClient.getOrder(long, String) instead. |
Order[] |
CHBTC.getOrders(String method,
String accessKey,
int tradeType,
String currency,
int pageIndex,
String sign,
long reqTime)
Deprecated.
The response JSON maybe array
or object
{"code":3001,"message":"挂单没有找到"} ,
then it will be parsed failed. |
Order[] |
CHBTC.getOrdersIgnoreTradeType(String method,
String accessKey,
String currency,
int pageIndex,
int pageSize,
String sign,
long reqTime)
Deprecated.
The response JSON may be array
or object
{"code":3001,"message":"挂单没有找到"} ,
then it will be parsed failed. |
Order[] |
CHBTC.getOrdersNew(String method,
String accessKey,
int tradeType,
String currency,
int pageIndex,
int pageSize,
String sign,
long reqTime)
Deprecated.
The response JSON maybe array
or object
{"code":3001,"message":"挂单没有找到"} ,
then it will be parsed failed. |
Order[] |
CHBTC.getUnfinishedOrdersIgnoreTradeType(String method,
String accessKey,
String currency,
int pageIndex,
int pageSize,
String sign,
long reqTime)
Deprecated.
The response JSON maybe array
or object
{"code":3001,"message":"挂单没有找到"} ,
then it will be parsed failed. |
Modifier and Type | Method and Description |
---|---|
List<Order> |
CHBTCClient.getOrders(Type tradeType,
String currency,
int pageIndex)
获取多个委托买单或卖单,每次请求返回 10 条记录。
|
List<Order> |
CHBTCClient.getOrdersIgnoreTradeType(String currency,
int pageIndex,
int pageSize)
与 gerOrders 的区别是取消 tradeType 字段过滤,可同时获取买单和卖单。
|
List<Order> |
CHBTCClient.getOrdersNew(Type tradeType,
String currency,
int pageIndex,
int pageSize)
获取多个委托买单或卖单,每次请求返回 pageSize<=100 条记录。
|
List<Order> |
CHBTCClient.getUnfinishedOrdersIgnoreTradeType(String currency,
int pageIndex,
int pageSize)
获取未成交或部份成交的买单和卖单,每次请求返回 pageSize<=100 条记录。
|
Modifier and Type | Method and Description |
---|---|
static List<com.xeiam.xchange.dto.trade.LimitOrder> |
CHBTCAdapters.adaptLimitOrders(Order[] orders) |
static com.xeiam.xchange.dto.trade.UserTrades |
CHBTCAdapters.adaptUserTrades(Order[] orders,
int priceScale) |
static com.xeiam.xchange.dto.trade.UserTrades |
CHBTCAdapters.adaptUserTrades(Order order,
int priceScale) |
Modifier and Type | Method and Description |
---|---|
Order |
CHBTCTradeServiceRaw.getOrder(long id,
String currency)
Returns order with given order ID in the specified market.
|
Order[] |
CHBTCTradeServiceRaw.getOrders(Type tradeType,
String currency,
int pageIndex)
Returns bid or ask orders, 10 records maximumly.
|
Order[] |
CHBTCTradeServiceRaw.getOrdersIgnoreTradeType(String currency,
int pageIndex,
int pageSize)
Returns bid or ask orders.
|
Order[] |
CHBTCTradeServiceRaw.getOrdersNew(Type tradeType,
String currency,
int pageIndex,
int pageSize)
Returns bid or ask orders.
|
Order[] |
CHBTCTradeServiceRaw.getUnfinishedOrdersIgnoreTradeType(String currency,
int pageIndex,
int pageSize)
Returns bid or ask orders.
|
Copyright © 2013–2015. All rights reserved.