public TestTrade(string investor, string pwd, string instrument = "rb1809", double price = 3900) { _investor = investor; _pwd = pwd; _inst = instrument; _price = price; _t = new CTPTrade(new FileInfo("../../../dll/ctp_trade.dll").FullName); }
public TestTrade(string investor, string pwd, string instrument = "rb1809", double price = 3900) { _investor = investor; _pwd = pwd; _inst = instrument; _price = price; _t = new CTPTrade(); }
public CtpTrade(string dir, String tcp_ip_quote, String tcp_ip_trade, String investor, String investorpass, String broker, String price_first, String sub1) { this.root_dir = dir; _broker = broker; _investor = investor; _investorpass = investorpass; _sub1 = sub1; _tcp_ip_quote = tcp_ip_quote; _tcp_ip_trade = tcp_ip_trade; //_lt_trade = lt_trade; //_lt_trade_success = lt_trade_success; _t = new CTPTrade(); }
public TestTrade() { _t = new CTPTrade(); }