Package org.knowm.xchange.bitflyer
Interface Bitflyer
@Path("/v1")
@Produces("application/json")
public interface Bitflyer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAddresses
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getBalances
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getBankAccounts
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getBoard()
return "BTC_JPY" or "BTC_USD" for U.S.getCashDeposits
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getChildOrders
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String productCode, String childOrderState) getCoinIns
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getCoinOuts
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getExecutions
(String productCode) getMarginAccounts
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getMarginHistory
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getMarginStatus
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getPermissions
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getPositions
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String productCode) return "BTC_JPY" or "BTC_USD" for U.S.getTradingCommission
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String productCode) getWithdrawals
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) sendChildOrder
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, BitflyerChildOrder parentOrder) sendParentOrder
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, BitflyerParentOrder parentOrder) withdrawFunds
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, BitflyerWithdrawRequest body)
-
Field Details
-
ACCESS_KEY
- See Also:
-
ACCESS_TIMESTAMP
- See Also:
-
ACCESS_SIGN
- See Also:
-
-
Method Details
-
getMarkets
- Throws:
IOException
BitflyerException
-
getTicker
return "BTC_JPY" or "BTC_USD" for U.S. accounts.- Throws:
IOException
BitflyerException
-
getTicker
@GET @Path("getticker") BitflyerTicker getTicker(@QueryParam("product_code") String productCode) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getBoard
return "BTC_JPY" or "BTC_USD" for U.S. accounts.- Throws:
IOException
BitflyerException
-
getBoard
@GET @Path("getboard") BitflyerOrderbook getBoard(@QueryParam("product_code") String productCode) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getExecutions
@GET @Path("getexecutions") List<BitflyerExecution> getExecutions() throws IOException, BitflyerException- Throws:
IOException
BitflyerException
-
getExecutions
@GET @Path("getexecutions") List<BitflyerExecution> getExecutions(@QueryParam("product_code") String productCode) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getPermissions
@GET @Path("me/getpermissions") List<String> getPermissions(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getBalances
@GET @Path("/me/getbalance") List<BitflyerBalance> getBalances(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getMarginStatus
@GET @Path("me/getcollateral") BitflyerMarginStatus getMarginStatus(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getMarginAccounts
@GET @Path("me/getcollateralaccounts") List<BitflyerMarginAccount> getMarginAccounts(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getAddresses
@GET @Path("me/getaddresses") @Produces("application/json") List<BitflyerAddress> getAddresses(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getCoinIns
@GET @Path("me/getcoinins") List<BitflyerCoinHistory> getCoinIns(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getCoinOuts
@GET @Path("me/getcoinouts") List<BitflyerCoinHistory> getCoinOuts(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getBankAccounts
@GET @Path("me/getbankaccounts") List<BitflyerBankAccount> getBankAccounts(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getCashDeposits
@GET @Path("me/getdeposits") List<BitflyerDepositOrWithdrawal> getCashDeposits(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
withdrawFunds
@POST @Path("me/withdraw") @Produces("application/json") @Consumes("application/json") BitflyerWithdrawResponse withdrawFunds(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest, BitflyerWithdrawRequest body) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getWithdrawals
@GET @Path("me/getwithdrawals") List<BitflyerDepositOrWithdrawal> getWithdrawals(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getPositions
@GET @Path("me/getpositions") List<BitflyerPosition> getPositions(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest, @QueryParam("product_code") String productCode) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getMarginHistory
@GET @Path("me/getcollateralhistory") List<BitflyerMarginTransaction> getMarginHistory(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getTradingCommission
@GET @Path("me/gettradingcommission") BitflyerTradingCommission getTradingCommission(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest, @QueryParam("product_code") String productCode) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
getChildOrders
@GET @Path("me/getchildorders") List<BitflyerQueryChildOrderResult> getChildOrders(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest, @QueryParam("product_code") String productCode, @QueryParam("child_order_state") String childOrderState) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
sendParentOrder
@POST @Produces("application/json") @Consumes("application/json") @Path("me/sendparentorder") BitflyerParentOrderAcceptance sendParentOrder(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest, BitflyerParentOrder parentOrder) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-
sendChildOrder
@POST @Produces("application/json") @Consumes("application/json") @Path("me/sendchildorder") BitflyerChildOrderAcceptance sendChildOrder(@HeaderParam("ACCESS-KEY") String apiKey, @HeaderParam("ACCESS-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("ACCESS-SIGN") si.mazi.rescu.ParamsDigest paramsDigest, BitflyerChildOrder parentOrder) throws IOException, BitflyerException - Throws:
IOException
BitflyerException
-