e.printStackTrace();
return null;
}
AtlasCurrencyPair currencyPair = new AtlasCurrencyPair(baseSymbol, counterSymbol);
AtlasOptionContract optionContract = new AtlasOptionContract();
optionContract.setId(BigInteger.valueOf(id));
optionContract.setDescription(description);
optionContract.setCurrencyPair(currencyPair);
optionContract.setExpiration(expirationDate);
return optionContract;
}