Git Product home page Git Product logo

Comments (14)

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024 1

docker pull for the last version or clone the repository of MT5 DOCKER

i tried and worked, but suddenly let works, so i'm trying to install from zero

from ejtradermt.

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024

I want to add that using MetaTrader5 library i can connect it and work with it, but its a bullshit lib, i prefer yours.

from ejtradermt.

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024

In addition, i'm not able to build the ejtrader Expert into Metatrader... there is warnings and errors previous to build.

Could you help me?? I'm so interested in try it.

@traderpedroso

from ejtradermt.

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024
Screenshot 2023-08-11 at 12 13 33

from ejtradermt.

traderpedroso avatar traderpedroso commented on May 30, 2024

docker pull for the last version or clone the repository of MT5 DOCKER

from ejtradermt.

traderpedroso avatar traderpedroso commented on May 30, 2024

docker pull for the last version or clone the repository of MT5 DOCKER

i tried and worked, but suddenly let works, so i'm trying to install from zero

make sure to pip install ejtraderMT -U to install the last version of the library

from ejtradermt.

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024

Yes i did, but same.. :(

from ejtradermt.

makovez avatar makovez commented on May 30, 2024

I have same problem here:

(py311) MetaTrader5:~# python
Python 3.11.5 (main, Aug 26 2023, 10:26:28) [GCC 13.1.1 20230722] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ejtraderMT import Metatrader

>>> 
>>> api = Metatrader()
/root/py311/lib/python3.11/site-packages/tzlocal/unix.py:158: UserWarning: Can not find any timezone configuration, defaulting to UTC.
  warnings.warn('Can not find any timezone configuration, defaulting to UTC.')
Traceback (most recent call last):
  File "/root/py311/lib/python3.11/site-packages/ejtraderMT/api/mql.py", line 71, in _pull_reply
    msg = self.sys_socket.recv_json()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/py311/lib/python3.11/site-packages/zmq/sugar/socket.py", line 1009, in recv_json
    msg = self.recv(flags)
          ^^^^^^^^^^^^^^^^
  File "zmq/backend/cython/socket.pyx", line 805, in zmq.backend.cython.socket.Socket.recv
  File "zmq/backend/cython/socket.pyx", line 841, in zmq.backend.cython.socket.Socket.recv
  File "zmq/backend/cython/socket.pyx", line 199, in zmq.backend.cython.socket._recv_copy
  File "zmq/backend/cython/socket.pyx", line 194, in zmq.backend.cython.socket._recv_copy
  File "zmq/backend/cython/checkrc.pxd", line 22, in zmq.backend.cython.checkrc._check_rc
zmq.error.Again: Resource temporarily unavailable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/py311/lib/python3.11/site-packages/ejtraderMT/api/mql.py", line 138, in __init__
    self.__utc_brocker_offset = self.___utc_brocker_offset()
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/py311/lib/python3.11/site-packages/ejtraderMT/api/mql.py", line 407, in ___utc_brocker_offset
    broker = self.accountInfo()
             ^^^^^^^^^^^^^^^^^^
  File "/root/py311/lib/python3.11/site-packages/ejtraderMT/api/mql.py", line 279, in accountInfo
    return self.__api.Command(action="ACCOUNT")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/py311/lib/python3.11/site-packages/ejtraderMT/api/mql.py", line 113, in Command
    return self._pull_reply()
           ^^^^^^^^^^^^^^^^^^
  File "/root/py311/lib/python3.11/site-packages/ejtraderMT/api/mql.py", line 73, in _pull_reply
    raise zmq.NotDone("Data socket timeout ERROR")
zmq.error.NotDone: Data socket timeout ERROR

from ejtradermt.

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024

i'm think the issue is because the broker we are using does not allow the version of metatrader is using on the Docker.
I put an issue here ejtraderLabs/Metatrader5-Docker#6 asking for an update!

from ejtradermt.

makovez avatar makovez commented on May 30, 2024

i'm think the issue is because the broker we are using does not allow the version of metatrader is using on the Docker.
I put an issue here ejtraderLabs/Metatrader5-Docker#6 asking for an update!

No cause I'm not even logged in, I just try to initialize that class Metatrader().

I can't even find the server for my broker which is tick mill from the GUI.

from ejtradermt.

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024

i'm think the issue is because the broker we are using does not allow the version of metatrader is using on the Docker.
I put an issue here ejtraderLabs/Metatrader5-Docker#6 asking for an update!

No cause I'm not even logged in, I just try to initialize that class Metatrader().

I can't even find the server for my broker which is tick mill from the GUI.

what server is?

from ejtradermt.

makovez avatar makovez commented on May 30, 2024

Should be this demo.mt5tickmill.com

But in my terminal on my windows installation I just select tick mill eu demo.

from ejtradermt.

DiMiTriFrog avatar DiMiTriFrog commented on May 30, 2024

Wtf... But if you are using Windows, you are using metatrader for windows, not using Docker, right?

So you have to install the plugin of EJTrader in your metamask to allow connect using python sockets

from ejtradermt.

makovez avatar makovez commented on May 30, 2024

I'm saying in my windows regular installation of mt5 I can see the tickmill server but in the docker one from this repo I can't see it.

I wonder if I can change the terminal.exe with mine.

from ejtradermt.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.