
com.xeiam.xchange.okcoin.service.polling.OkCoinAccountServiceRaw Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-okcoin Show documentation
Show all versions of xchange-okcoin Show documentation
XChange implementation for OKCoin
package com.xeiam.xchange.okcoin.service.polling;
import java.io.IOException;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.okcoin.dto.account.OkCoinUserInfo;
public class OkCoinAccountServiceRaw extends OKCoinBaseTradePollingService {
/**
* Constructor
*
* @param exchange
*/
protected OkCoinAccountServiceRaw(Exchange exchange) {
super(exchange);
}
public OkCoinUserInfo getUserInfo() throws IOException {
OkCoinUserInfo userInfo = okCoin.getUserInfo(apikey, signatureCreator);
return returnOrThrow(userInfo);
}
/** Unfinished **/
public OkCoinUserInfo getFutureUserInfo() throws IOException {
OkCoinUserInfo userInfo = okCoin.getFuturesUserInfo(apikey, signatureCreator);
return returnOrThrow(userInfo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy