using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WdtSdk; namespace TradeQuery { class TradeQuery { static void Main(string[] args) { WdtClient client = new WdtClient(); client.sid = ""; client.appkey = ""; client.appsecret = ""; client.gatewayUrl = "http://121.41.177.115/openapi2/trade_query.php"; client.putParams("start_time", "2018-12-23 06:02:02"); client.putParams("end_time", "2018-12-23 06:05:02"); string result = client.wdtOpenapi(); Console.WriteLine(result); Console.ReadKey(); } } }