adapts a cexiotrade to a trade object concode_field_sep PlaceHolder placeHolder concode_field_sep Wallet adaptWallet concode_elem_sep LimitOrder createOrder concode_elem_sep Ticker adaptTicker concode_elem_sep OrderBook adaptOrderBook concode_elem_sep List<LimitOrder> createOrders concode_elem_sep Trades adaptTrades concode_elem_sep OpenOrders adaptOpenOrders concode_elem_sep Balance adaptBalance concode_elem_sep void checkArgument
Trade function ( CexIOTrade arg0 , CurrencyPair arg1 ) { BigDecimal loc0 = arg0 . getAmount ( ) ; BigDecimal loc1 = arg0 . getPrice ( ) ; Date loc2 = DateUtils . fromMillisUtc ( arg0 . getDate ( ) * 1000L ) ; return new Trade ( null , loc0 , arg1 , loc1 , loc2 , String . valueOf ( arg0 . getTid ( ) ) ) ; }