public static List < LimitOrder > createOrders ( CurrencyPair currencyPair , Order . OrderType orderType , BitcoindeOrder [ ] orders ) { List < LimitOrder > limitOrders = new ArrayList <> ( ) ; for ( BitcoindeOrder order : orders ) { limitOrders . add ( createOrder ( currencyPair , order , orderType , null , null ) ) ; } return limitOrders ; }
Create a list of orders from a list of asks or bids .