vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 163
声望: 18

github上的wiki教程只有关于vntrader的手动操作,小白可能无法直接从回测到实盘,一般回测熟悉以后,想要进行自动化的模拟交易,所以希望出个关于vntrader的自动根据给定策略模拟交易的教程。
不知道这个建议行不行

Administrator
avatar
加入于:
帖子: 1711
声望: 80

方里明 wrote:

github上的wiki教程只有关于vntrader的手动操作,小白可能无法直接从回测到实盘,一般回测熟悉以后,想要进行自动化的模拟交易,所以希望出个关于vntrader的自动根据给定策略模拟交易的教程。
不知道这个建议行不行

2.0文档正在编写中,会有这块的内容。

Member
avatar
加入于:
帖子: 13
声望: 0

文档大概什么时候出来

Member
avatar
加入于:
帖子: 4
声望: 0

我是小白 ,安装的时候出现这个问题怎么解决呢?

windows server 2016. 安装完 一点登陆就异常报错 打不开

Ubuntu

Successfully installed MarkupSafe-1.1.1 PyCryptodome-3.8.0 PyQt5-5.11.3 PyQt5-sip-4.19.15 Send2Trash-1.5.0 attrs-19.1.0 backcall-0.1.0 bleach-3.1.0 cycler-0.10.0 decorator-4.4.0 defusedxml-0.5.0 entrypoints-0.3 futu-api-3.7.2 ipykernel-5.1.0 ipython-7.4.0 ipython-genutils-0.2.0 ipywidgets-7.4.2 jedi-0.13.3 jinja2-2.10 jsonschema-3.0.1 jupyter-1.0.0 jupyter-client-5.2.4 jupyter-console-6.0.0 jupyter-core-4.4.0 kiwisolver-1.0.1 matplotlib-3.0.3 mistune-0.8.4 nbconvert-5.4.1 nbformat-4.4.0 notebook-5.7.7 numpy-1.16.2 pandas-0.24.2 pandocfilters-1.4.2 parso-0.3.4 peewee-3.9.3 pexpect-4.6.0 pickleshare-0.7.5 prometheus-client-0.6.0 prompt-toolkit-2.0.9 protobuf-3.7.1 ptyprocess-0.6.0 pygments-2.3.1 pyparsing-2.3.1 pyrsistent-0.14.11 python-dateutil-2.8.0 pytz-2018.9 pyzmq-18.0.1 qdarkstyle-2.6.5 qtconsole-4.4.3 scipy-1.2.1 seaborn-0.9.0 simplejson-3.16.0 six-1.12.0 terminado-0.8.2 testpath-0.4.2 tornado-6.0.2 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 websocket-client-0.56.0 widgetsnbextension-3.4.2
install.sh: line 4: ::: command not found
running install
running bdist_egg
running egg_info
creating vnpy.egg-info
writing vnpy.egg-info/PKG-INFO
writing dependency_links to vnpy.egg-info/dependency_links.txt
Traceback (most recent call last):
File "setup.py", line 64, in <module>
ext_modules=ext_modules
File "/usr/local/lib/python3.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 289, in run
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
File "/usr/local/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 666, in write_toplevel_names
for k in cmd.distribution.iter_distribution_names()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 665, in <listcomp>
k.split('.', 1)[0]
File "/usr/local/lib/python3.7/site-packages/setuptools/dist.py", line 1089, in iter_distribution_names
name = ext.name
AttributeError: 'list' object has no attribute 'name'

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