# LoginAccount 方法
LoginAccount(Type, SiteName, Account, Password, PIN)
登录指定类型的交易账户
参数
| 参数 | 说明 |
|---|---|
| Type | Type=0时,代表期货 Type=1,代表股票 Type=2,代表股票期权 Type=3,代表外盘 |
| SiteName | 登录站点名称 注意:区分字母大小写,站点名称支持模糊匹配,但是建议填写完整,以保证精确登录 |
| Account | 交易账号 |
| Password | 账户密码 |
| PIN | PIN码,未使用PIN码时,则填空字符 |
login = Order.LoginAccount(0,"信达","1000000","123456","")
1
应用于