pycharm编写脚本时提示unresolved reference,执行时又报:NameError: name 'TradeCreate' is not defined 可能是你的代码缩进出了问题!!!!!! 改后: