Class OkCoinPosition

java.lang.Object
org.knowm.xchange.okcoin.dto.trade.OkCoinPosition

public class OkCoinPosition extends Object
Instances of this class represent all holdings related to a specific contract, e.g. `this_week`. If you have 2 open positions for this week then all fields (buy/sell) will be fully populated. If you have multiple contracts open (`this_week`, `next_week`, ..) then each contract will be its own instance.