XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
Currently the remoteInit for okx only loads the spot and swap products, I propose we add the futures products, so that functions like getOpenPostions will work when they do things key looks ups like this on futures positiions exchangeMetaData.getInstruments().get(adaptOkexInstrumentId(okexPosition.getInstrumentId())).getContractValue()
Currently the remoteInit for okx only loads the spot and swap products, I propose we add the futures products, so that functions like getOpenPostions will work when they do things key looks ups like this on futures positiions
exchangeMetaData.getInstruments().get(adaptOkexInstrumentId(okexPosition.getInstrumentId())).getContractValue()