This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from futu import * | |
############################ 全局变量设置 ############################ | |
FUTUOPEND_ADDRESS = '127.0.0.1' # Futu OpenD 监听地址 | |
FUTUOPEND_PORT = 11111 # Futu OpenD 监听端口 | |
TRADING_ENVIRONMENT = TrdEnv.SIMULATE # 交易环境:真实 / 模拟 | |
TRADING_MARKET = TrdMarket.HK # 交易市场权限,用于筛选对应交易市场权限的账户 | |
TRADING_PWD = '123456' # 交易密码,用于解锁交易 | |
TRADING_PERIOD = KLType.K_1M # 信号 K 线周期 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Default High Contrast", | |
"github.copilot.enable": { | |
"*": true, | |
"plaintext": true, | |
"markdown": true, | |
"scminput": false, | |
"yaml": false, | |
"ini": false | |
}, |
OlderNewer