MetaTrader 5 Python用户组 - 如何在Metatrader中使用Python - 页 49

 
Renat Fatkhullin :

在3.5、3.6、3.7、3.8和3.9版本下构建了5.0.23 python库。

通过更新。

谢谢你的答复。

 
Sergey Golubev :

我正试图通过pip安装它,但得到一个错误信息。

C:\Users\jw>pip install --upgrade metatrader5
ERROR: Could not find a version that satisfies the requirement metatrader5 (from versions: none)
ERROR: No matching distribution found for metatrader5

C:\Users\jw>pip install --upgrade metatrader5==5.0.23
ERROR: Could not find a version that satisfies the requirement metatrader5==5.0.23 (from versions: none)
ERROR: No matching distribution found for metatrader5==5.0.23

C:\Users\jw>pip install metatrader5
ERROR: Could not find a version that satisfies the requirement metatrader5 (from versions: none)
ERROR: No matching distribution found for metatrader5

我看到pypi里有一个分布 https://pypi.org/project/MetaTrader5/#files

但在所需的版本中并没有提到这一点。因此,我认为这就是我无法安装的原因。

请确保它可以通过项目下载。

MetaTrader5
MetaTrader5
  • 2020.02.27
  • pypi.org
Download the file for your platform. If you're not sure which to choose, learn more about installing packages. Files for MetaTrader5, version 5.0.23 Filename, size File type Python version Upload date Hashes MetaTrader5-5.0.23-cp35-cp35m-win32.whl (91.8 kB) MetaTrader5-5.0.23-cp35-cp35m-win_amd64.whl (105.5 kB...
 
jaffer wilson:

我正试图通过pip安装它,但得到一个错误信息。

我看到pypi里有一个分布 https://pypi.org/project/MetaTrader5/#files

但在所需的版本中并没有提到这一点。因此,我认为这就是我无法安装的原因。

请确保它可以通过项目下载。

5.0.24发布。

请再试一次。

 
Renat Fatkhullin :

5.0.24发布。

请再试一次。

是的,它成功了。我认为问题出在所需的版本上。

 
Renat Fatkhullin:

为3.5、3.6、3.7、3.8和3.9版本建立了5.0.23 python库。

通过以下方式更新。

功能、参数没有变化?

 

我在哪里可以得到更新的MetaTrader5 python 模块的更新文件?

 
Kiran Sawant:

我在哪里可以得到更新的MetaTrader5 python模块的更新文件?

至少在这里 -https://www.mql5.com/en/docs/integration/python_metatrader5

Documentation on MQL5: Integration / MetaTrader for Python
Documentation on MQL5: Integration / MetaTrader for Python
  • www.mql5.com
Python is a modern high-level programming language for developing scripts and applications. It contains multiple libraries for machine learning, process automation, as well as data analysis and visualization. MetaTrader package for Python is designed...
 
谢谢你,拉希德,这对我帮助很大。
 

先生们,你们能否发布信息,说明MetaTrader5 可以生成什么以及何时生成前链

我们现在先简单说一下,这个方法是一个excepshin。

if not mt5.initialize(login=00000000, server="MetaQuotes-Demo",password="0000000"):
    print("initialize() failed")

我们得到,RuntimeError: Terminal: Authorization failed, but not false

 

大家好。

尝试了Python集成脚本,一切正常,但是......

检查结论交易的脚本不起作用!

我特意在DEMO账户上做了交易,但反映出来的是,好像他们不在那里。

它只在真实账户 上工作吗?


另外,当我用OrderCheck 功能询问交易机会时,它说我的余额为零)

我检查过了,它连接到了正确的账户,余额不是零。

附加的文件: