package com.jeeplus.test.wdt.wangdian.api.trade;



import com.jeeplus.test.wdt.wangdian.api.WdtClient;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

public class TradeQuery {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		WdtClient client = new WdtClient("", "", "", "");
		
		Map<String, String> params = new HashMap<String, String>();
		params.put("start_time", "2018-12-11 12:00:00");
		params.put("end_time", "2018-12-11 13:00:00");
		params.put("page_size", "30");
		params.put("page_no", "0");
		
		try {
			String response = client.execute("trade_query.php", params);
			System.out.println(response);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
