@@ -0,0 +1,1126 @@
+package com.bitso;%0A%0Aimport java.util.ArrayList;%0A%0Aimport org.json.JSONArray;%0Aimport org.json.JSONObject;%0A%0Aimport com.bitso.exchange.BookOrder;%0A%0Apublic class BitsoOpenOrders %7B%0A%0A    public ArrayList%3CBookOrder%3E list;%0A%0A    public BitsoOpenOrders(String openOrdersJSON) %7B%0A        JSONArray obj;%0A        try %7B%0A            obj = new JSONArray(openOrdersJSON);%0A        %7D catch (Exception e) %7B%0A            System.err.println(%22BitsoOpenOrders cannot parse JSON%22);%0A            System.err.println(openOrdersJSON);%0A            System.err.println(e.getMessage());%0A            e.printStackTrace();%0A            return;%0A        %7D%0A        list = new ArrayList%3CBookOrder%3E(obj.length());%0A        for (int i = 0; i %3C obj.length(); i++) %7B%0A            JSONObject o = obj.getJSONObject(i);%0A            list.add(Bitso.processBookOrderJSON(o.toString()));%0A        %7D%0A    %7D%0A%0A    public String toString() %7B%0A        StringBuilder sb = new StringBuilder();%0A        sb.append(%22====OPEN_ORDERS====%22);%0A        if (list != null) %7B%0A            for (BookOrder o : list) %7B%0A                sb.append(o);%0A            %7D%0A        %7D%0A        return sb.toString();%0A    %7D%0A%7D%0A

add a BitsoOpenOrders object