if ( ioi.getSide().equals("SELL") ) side = new Side( Side.SELL );
if ( ioi.getSide().equals("UNDISCLOSED") )
side = new Side( Side.UNDISCLOSED );
// IOIShares
IOIShares shares = new IOIShares( ioi.getQuantity().toString() );
// Symbol
Symbol symbol = new Symbol( ioi.getSymbol() );
// Construct IOI from required fields