VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 84
声望: 1

下载了3.5.0后默认安装,然后去gitee上下载了vnpy/ examples / veighna_trader下的run.py
在替换了很多中文符号的问题后,运行了python run.py后出现错误
C:\veighna_studio\Lib\site-packages\vnpy_ctastrategy>python run.py
File "C:\veighna_studio\Lib\site-packages\vnpy_ctastrategy\run.py", line 1
<!DOCTYPE html>
^
SyntaxError: invalid syntax

这就超出我的知识范围了,看了一下这个文件提交是9个月前,那别人应该不会有这个问题吧?

针对我这个问题怎么解决呢?

run.py的文件的前面几行是这样的:
<!DOCTYPE html>

<html lang='zh-CN'>

<head>

<title>examples/veighna_trader/run.py vn.py官方/vn.py - Gitee.com</title>

<meta content='on' http-equiv='x-dns-prefetch-control'>

<link href='//e.gitee.com' rel='dns-prefetch'>

<link href='//files.gitee.com' rel='dns-prefetch'>

<link href='//toscode.gitee.com' rel='dns-prefetch'>

<link href='https://cn-assets.gitee.com' rel='dns-prefetch'>

<link href='https://portrait.gitee.com' rel='dns-prefetch'>

<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="https://cn-assets.gitee.com/assets/favicon-9007bd527d8a7851c8330e783151df58.ico" />

<link rel="canonical" href="https://gitee.com/vnpy/vnpy" />

<meta content='gitee.com/vnpy/vnpy git https://gitee.com/vnpy/vnpy.git' name='go-import'>

<meta charset='utf-8'>
Member
avatar
加入于:
帖子: 84
声望: 1

下载错误,不用理我

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】