adapts a virtextrade to a trade object concode_field_sep PlaceHolder placeHolder concode_field_sep Ticker adaptTicker concode_elem_sep Trades adaptTrades concode_elem_sep LimitOrder adaptOrder concode_elem_sep List<LimitOrder> adaptOrders concode_elem_sep String getPriceString
Trade function ( VirtExTrade arg0 , String arg1 , String arg2 ) { BigDecimal loc0 = arg0 . getAmount ( ) ; BigMoney loc1 = MoneyUtils . parse ( arg1 + "srini_string" + arg0 . getPrice ( ) ) ; Date loc2 = DateUtils . fromMillisUtc ( ( long ) arg0 . getDate ( ) * 1000L ) ; return new Trade ( null , loc0 , arg2 , arg1 , loc1 , loc2 , arg0 . getTid ( ) ) ; }