GetAccountStatus 账户状态
来自tradeStar帮助系统
函数 | GetAccountStatus |
别名 | 账户状态 |
所属类别 | 交易账户函数 |
参数数量 | 1 |
运行模式 | 逐根 |
说明 | 返回指定账户的状态 |
用法 | GetAccountStatus(Account=)
参数:Account为账户名,为空字串或无此参数表示当前账户 返回值定义如下: 0 = asInvalid //无该账户 1 = asActibe //可交易 2 = asInactive //不可交易 例如: //返回当前策略关联的账户的状态 value1 := GetAccountStatus(GetAccountID); |