Package org.knowm.xchange.okcoin
Class OkexAdaptersV3
java.lang.Object
org.knowm.xchange.okcoin.OkexAdaptersV3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FundingRecordstatic FundingRecordstatic Balanceconvert(String currency, FuturesAccountsResponse.FuturesAccount acc) static Balancestatic Balancestatic Tickerstatic LimitOrderstatic Balancestatic OrderBookconvertOrderBook(OkexOrderBook book, CurrencyPair currencyPair) static CurrencyPairthere are different types of instruments: spot (ie 'ETH-BTC'), future (ie 'BCH-USD-190927'), swap (ie 'ETH-USD-SWAP')static StringtoSpotInstrument(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
-