天软金融分析.NET函数大全 > 算法交易支撑函数 > 交易支撑函数 > 交易指令 > TT_Query

使用范例    

  • timeout := 3000;
    h := TT_UserLogin("上期技术",
    "tcp://asp-sim2-front1.financial-trading-platform.com:26205@2030", "123456",
    “888888”,timeout,errmsg);if (h) then Begin
    a := TT_Query(h,"查询资金","",timeout);
    b := TT_Query(h,"查询持仓","",timeout);
    c := TT_Query(h,"查询委托","",timeout);
    d := TT_Query(h,"查询成交","",timeout);
    e := TT_Query(h,"结算查询","",timeout);
    f := TT_Query(h,"结算确认","",timeout);
    End;