List < Order > function ( ) { List < Order > loc0 = new LinkedList < Order > ( ) ; for ( Order loc1 = this ; loc1 != null ; loc1 = loc1 . getChild ( ) ) { if ( ! loc1 . isFilled ( ) ) loc0 . add ( loc1 ) ; } return loc0 ; }
if an order results in a partial fill then it will get split into two or more orders . this method fetches the fragmented orders which have not yet been filled . concode_field_sep SimulationTime timeStamp concode_elem_sep boolean filled concode_elem_sep TradingAgent agent concode_elem_sep int quantity concode_elem_sep double price concode_elem_sep Order child concode_elem_sep DecimalFormat currencyFormatter concode_elem_sep boolean isBid concode_field_sep long totalVolume concode_elem_sep int getQuantity concode_elem_sep long aggregateUnfilledVolume concode_elem_sep int compareTo concode_elem_sep long aggregateFilledVolume concode_elem_sep void setPrice concode_elem_sep boolean isBid concode_elem_sep boolean isAsk concode_elem_sep Order split concode_elem_sep double price concode_elem_sep void setIsBid concode_elem_sep boolean isFilled concode_elem_sep void makeChildless concode_elem_sep boolean isValid concode_elem_sep Order getChild concode_elem_sep TradingAgent getAgent concode_elem_sep Order splat concode_elem_sep long aggregateVolume concode_elem_sep boolean matches concode_elem_sep double getPrice concode_elem_sep void copyFrom concode_elem_sep void setAgent concode_elem_sep void setFilled concode_elem_sep SimulationTime getTimeStamp concode_elem_sep void setTimeStamp concode_elem_sep void setQuantity concode_elem_sep double minPrice concode_elem_sep Object clone concode_elem_sep String toPrettyString concode_elem_sep String toString concode_elem_sep double maxPrice