BotVS开发基础—2.5 策略交互

一、代码部分 isOpen = False; # 是否 开仓 price = 0; # 全局变量 价格 amount = 0; # 全局变量 下单量 def exec_command(command): global isOpen, price, amount cmdlist = command.split(":") key = cmdlist[0]
相关文章
相关标签/搜索