资源加载中... loading...

商品期货更改密码

Author: 扫地僧, Date: 2021-10-26 16:45:22
Tags:

复制完以后在交易终端点右上角点击组件图标选种组件即可使用

img

img



function main() {
    if (exchange.GetName() != 'Futures_CTP') {
        throw "只支持CTP前置机";
    }
    var acc = exchange.GetAccount();
    if (!acc) {
        throw "获取账户基本信息失败";
    }
    return exchange.IO("api", "ReqUserPasswordUpdate", {BrokerID: acc.Info.BrokerID, UserID: acc.Info.AccountID, OldPassword: OldPassword, NewPassword: NewPassword})     
}
template: strategy.tpl:40:21: executing "strategy.tpl" at <.api.GetStrategyListByName>: wrong number of args for GetStrategyListByName: want 7 got 6