public static Map getNymTrades(String serverID, String nymID) {
Map tradeNymData = new HashMap();
TradeListNym tradeListNym = Helpers.getNYMTrades(serverID, nymID);
if (tradeListNym == null) {
System.out.println("getNymTrades - tradeListNym returns null");
return null;
}
for (int j = 0; j < tradeListNym.GetTradeDataNymCount(); j++) {
TradeDataNym tradeDataNym = tradeListNym.GetTradeDataNym(j);
if (tradeDataNym == null) {
continue;
}
String[] tradeDataRow = new String[5];