Package | Description |
---|---|
org.oxerr.okcoin.examples.rest |
Demonstrations for RESTful API.
|
org.oxerr.okcoin.rest |
RESTful API implementation.
|
org.oxerr.okcoin.rest.service |
Services.
|
org.oxerr.okcoin.rest.service.web |
Trading through submitting web form and parsing from HTML page.
|
Modifier and Type | Method and Description |
---|---|
void |
TradeDemo.cancelOrder(long orderId) |
void |
TradeDemo.cancelOrder(String orderId) |
void |
TradeDemo.demoBatchTrade() |
void |
AccountServiceDemo.demoGetAccountRecords() |
void |
BorrowDemo.demoGetBorrowsInfo() |
void |
TradeDemo.demoLimitOrder() |
void |
TradeDemo.demoLimitOrderRaw() |
void |
OrderInfoDemo.getOrderHistory() |
void |
OrderInfoDemo.getOrders() |
void |
OrderInfoDemo.getUnfilledOrders() |
static void |
TradeDemo.main(String[] args) |
static void |
OrderInfoDemo.main(String[] args) |
static void |
BorrowDemo.main(String[] args) |
Modifier and Type | Method and Description |
---|---|
BatchTradeResult |
OKCoin.batchTrade(String apiKey,
String symbol,
Type type,
String ordersData,
si.mazi.rescu.ParamsDigest sign)
Batch trade.
|
BorrowResult |
OKCoin.borrowMoney(String apiKey,
String symbol,
String days,
BigDecimal amount,
BigDecimal rate,
si.mazi.rescu.ParamsDigest sign)
Request borrow.
|
BorrowResult |
OKCoin.cancelBorrow(String apiKey,
String symbol,
long borrowId,
si.mazi.rescu.ParamsDigest sign)
Cancel borrow order.
|
CancelOrderResult |
OKCoin.cancelOrder(String apiKey,
String symbol,
String orderId,
si.mazi.rescu.ParamsDigest sign)
Cancel orders.
|
Withdrawal |
OKCoin.cancelWithdraw(String apiKey,
String symbol,
long withdrawId,
si.mazi.rescu.ParamsDigest sign)
Withdrawal Cancellation Request.
|
AccountRecords |
OKCoin.getAccountRecords(String apiKey,
String symbol,
int type,
int currentPage,
int pageLength,
si.mazi.rescu.ParamsDigest sign)
Get user deposits or withdraw Records.
|
BorrowOrderInfo |
OKCoin.getBorrowOrderInfo(String apiKey,
long borrowId,
si.mazi.rescu.ParamsDigest sign)
Get borrowing order info.
|
BorrowsInfo |
OKCoin.getBorrowsInfo(String apiKey,
String symbol,
si.mazi.rescu.ParamsDigest sign)
Get user borrow information.
|
LendDepth |
OKCoin.getLendDepth(String symbol)
Get top 10 lending entries.
|
OrderResult |
OKCoin.getOrder(String apiKey,
String symbol,
long orderId,
si.mazi.rescu.ParamsDigest sign)
Get order info.
|
OrderFee |
OKCoin.getOrderFee(String apiKey,
String symbol,
long orderId,
si.mazi.rescu.ParamsDigest sign)
Query fee.
|
OrderHistory |
OKCoin.getOrderHistory(String apiKey,
String symbol,
int status,
int currentPage,
int pageLength,
si.mazi.rescu.ParamsDigest sign)
Returns the most recent 7 days orders.
|
OrderResult |
OKCoin.getOrders(String apiKey,
String symbol,
int type,
String orderId,
si.mazi.rescu.ParamsDigest sign)
Get order information in batch.
|
Trade[] |
OKCoin.getTradeHistory(String apiKey,
String symbol,
Long since,
si.mazi.rescu.ParamsDigest sign)
Get Trade History (Not for Personal).
|
UnrepaymentsInfo |
OKCoin.getUnrepaymentsInfo(String apiKey,
String symbol,
int currentPage,
int pageLength,
si.mazi.rescu.ParamsDigest sign)
Get debt list.
|
UserInfo |
OKCoin.getUserInfo(String apiKey,
si.mazi.rescu.ParamsDigest sign)
Get user account info.
|
BorrowResult |
OKCoin.repay(String apiKey,
long borrowId,
si.mazi.rescu.ParamsDigest sign)
Pay off debt.
|
TradeResult |
OKCoin.trade(String apiKey,
String symbol,
Type type,
BigDecimal price,
BigDecimal amount,
si.mazi.rescu.ParamsDigest sign)
Place order.
|
Withdrawal |
OKCoin.withdraw(String apiKey,
String symbol,
BigDecimal chargeFee,
String tradePassword,
String withdrawAddress,
BigDecimal withdrawAmount,
si.mazi.rescu.ParamsDigest sign)
BTC/LTC Withdraw.
|
Modifier and Type | Method and Description |
---|---|
BatchTradeResult |
OKCoinTradeServiceRaw.batchTrade(String symbol,
Type type,
OrderData[] orders) |
BorrowResult |
OKCoinTradeServiceRaw.borrowMoney(String symbol,
String days,
BigDecimal amount,
BigDecimal rate) |
BorrowResult |
OKCoinTradeServiceRaw.cancelBorrow(String symbol,
long borrowId) |
boolean |
OKCoinTradeService.cancelOrder(String orderId) |
CancelOrderResult |
OKCoinTradeServiceRaw.cancelOrder(String symbol,
long... orderIds) |
Withdrawal |
OKCoinAccountServiceRaw.cancelWithdraw(String symbol,
long withdrawId) |
org.knowm.xchange.dto.account.AccountInfo |
OKCoinAccountService.getAccountInfo() |
org.knowm.xchange.dto.account.AccountInfo |
OKCoinAccountService.getAccountInfo() |
AccountRecords |
OKCoinAccountServiceRaw.getAccountRecords(String symbol,
int type,
int currentPage,
int pageLength)
Returns the user deposits or withdraw records.
|
BorrowOrderInfo |
OKCoinTradeServiceRaw.getBorrowOrderInfo(long borrowId) |
BorrowsInfo |
OKCoinTradeServiceRaw.getBorrowsInfo(String symbol) |
org.knowm.xchange.dto.trade.OpenOrders |
OKCoinTradeService.getOpenOrders() |
OrderResult |
OKCoinTradeServiceRaw.getOrder(String symbol,
long orderId) |
OrderFee |
OKCoinTradeServiceRaw.getOrderFee(String symbol,
long orderId) |
OrderHistory |
OKCoinTradeServiceRaw.getOrderHistory(String symbol,
int status,
int currentPage,
int pageLength) |
OrderResult |
OKCoinTradeServiceRaw.getOrders(String symbol,
int type,
Iterable<Long> orderIds) |
OrderResult |
OKCoinTradeServiceRaw.getOrders(String symbol,
int type,
long[] orderIds) |
OrderResult |
OKCoinTradeServiceRaw.getOrders(String symbol,
int type,
Long[] orderIds) |
org.knowm.xchange.dto.trade.UserTrades |
OKCoinTradeService.getTradeHistory(Object... arguments)
Deprecated.
|
org.knowm.xchange.dto.trade.UserTrades |
OKCoinTradeService.getTradeHistory(org.knowm.xchange.service.trade.params.TradeHistoryParams params) |
UnrepaymentsInfo |
OKCoinTradeServiceRaw.getUnrepaymentsInfo(String symbol,
int currentPage,
int pageLength) |
UserInfo |
OKCoinAccountServiceRaw.getUserInfo() |
String |
OKCoinTradeService.placeLimitOrder(org.knowm.xchange.dto.trade.LimitOrder limitOrder) |
BorrowResult |
OKCoinTradeServiceRaw.repay(long borrowId) |
TradeResult |
OKCoinTradeServiceRaw.trade(String symbol,
Type type,
BigDecimal price,
BigDecimal amount) |
Withdrawal |
OKCoinAccountServiceRaw.withdraw(String symbol,
BigDecimal chargeFee,
String tradePassword,
String withdrawAddress,
BigDecimal withdrawAmount) |
String |
OKCoinAccountService.withdrawFunds(org.knowm.xchange.currency.Currency currency,
BigDecimal amount,
String address) |
Modifier and Type | Class and Description |
---|---|
class |
LoginRequiredException |
class |
OKCoinClientException |
Copyright © 2013–2017. All rights reserved.