coejoder / metatrader4-client-python Goto Github PK
View Code? Open in Web Editor NEWMetaTrader 4 Python Client
MetaTrader 4 Python Client
>>> from mt4client import MT4Client
>>> mt4 = MT4Client(address="tcp://192.168.1.31:28282")
>>> account = mt4.account()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/dist-packages/mt4client-0.0.0-py3.8.egg/mt4client/client.py", line 44, in account
File "/usr/local/lib/python3.8/dist-packages/mt4client-0.0.0-py3.8.egg/mt4client/client.py", line 286, in _get_response
File "/usr/local/lib/python3.8/dist-packages/zmq/sugar/socket.py", line 689, in recv_json
msg = self.recv(flags)
File "zmq/backend/cython/socket.pyx", line 791, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 827, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 191, in zmq.backend.cython.socket._recv_copy
File "zmq/backend/cython/socket.pyx", line 186, in zmq.backend.cython.socket._recv_copy
File "zmq/backend/cython/checkrc.pxd", line 20, in zmq.backend.cython.checkrc._check_rc
zmq.error.Again: Resource temporarily unavailable
MT4 Terminal output: after adding ZeroMQ_Server:
I can't seem to figure out how to use this client. Can you please show more examples?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.