Package org.knowm.xchange.okcoin
Class OkexAdaptersV3
java.lang.Object
org.knowm.xchange.okcoin.OkexAdaptersV3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FundingRecord
static FundingRecord
static Balance
convert
(String currency, FuturesAccountsResponse.FuturesAccount acc) static Balance
static Balance
static Ticker
static LimitOrder
static Balance
static OrderBook
convertOrderBook
(OkexOrderBook book, CurrencyPair currencyPair) static CurrencyPair
there are different types of instruments: spot (ie 'ETH-BTC'), future (ie 'BCH-USD-190927'), swap (ie 'ETH-USD-SWAP')static String
toSpotInstrument
(CurrencyPair pair)
-
Constructor Details
-
OkexAdaptersV3
public OkexAdaptersV3()
-
-
Method Details
-
convert
-
convert
-
convert
-
convert
-
toSpotInstrument
-
toPair
there are different types of instruments: spot (ie 'ETH-BTC'), future (ie 'BCH-USD-190927'), swap (ie 'ETH-USD-SWAP')- Parameters:
instrument
-- Returns:
-
convert
-
convert
-
adaptFundingRecord
-
adaptFundingRecord
-
convertOrderBook
-