Package | Description |
---|---|
org.oxerr.chbtc |
Client for CHBTC.
|
org.oxerr.chbtc.dto |
Data transfer objects.
|
org.oxerr.chbtc.service.polling |
Polling Services.
|
Modifier and Type | Method and Description |
---|---|
static Type |
CHBTCAdapters.adaptType(com.xeiam.xchange.dto.Order.OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
static com.xeiam.xchange.dto.Order.OrderType |
CHBTCAdapters.adaptOrderType(Type type) |
List<Order> |
CHBTCClient.getOrders(Type tradeType,
String currency,
int pageIndex)
获取多个委托买单或卖单,每次请求返回 10 条记录。
|
List<Order> |
CHBTCClient.getOrdersNew(Type tradeType,
String currency,
int pageIndex,
int pageSize)
获取多个委托买单或卖单,每次请求返回 pageSize<=100 条记录。
|
long |
CHBTCClient.order(BigDecimal price,
BigDecimal amount,
Type tradeType,
String currency)
委托 BTC/LTC 买单或卖单。
|
Modifier and Type | Method and Description |
---|---|
static Type |
Type.toType(int tradeType) |
static Type |
Type.toType(String typeString) |
static Type |
Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Order[] |
CHBTCTradeServiceRaw.getOrders(Type tradeType,
String currency,
int pageIndex)
Returns bid or ask orders, 10 records maximumly.
|
Order[] |
CHBTCTradeServiceRaw.getOrdersNew(Type tradeType,
String currency,
int pageIndex,
int pageSize)
Returns bid or ask orders.
|
long |
CHBTCTradeServiceRaw.order(BigDecimal price,
BigDecimal amount,
Type tradeType,
String currency)
Place order.
|
Copyright © 2013–2015. All rights reserved.