Comments (2)
That's a nicely written article - it's the Windows equivalent to named
pipes in Unix (mkfifo).
The drawback is that it's point to point, and doesn't have the
flexibility of the different topographies of ZeroMQ/AMQP, like PUB/SUB
which is ideal for making a trade copier. They also tend to be brittle,
if one part of the message is lost on the netwok, or received out of order.
We now have ZeroMQ working with OpenTrader without Python under Mt4 so I
don't need to require people to have installed a RabbitMQ server; that
will make distribution a whole lot easier. You still need a Python for
now because the software is written in Python, but I should be able to
freeze it at both ends for distribution. This solves a major problem:
since Build 600, I can't leave a Python EA attached to a chart and
restart Mt4 (with or without Zmq) - it doesn't reload properly. No idea
why: it used to work, and I see little likelihood of figuring out why.
OpenTrader now uses ZeroMQ without Python by default - OTZmqCmdEA.mq4.
It uses REQ/REP to send commands to Mt4 and PUB/SUB for bars and ticks.
I've started documenting it and it passes the test suite. I'll switch
back to developing on ZeroMQ which is more Pythonic than AMQP, and
installing and running a RabbitMQ server under Windows is a lot to ask;
I want to minimize the prerequisites to installing the software.
from otmql4py.
We now have OpenTrader bundled as frozen exe using ZeroMQ, and I'm testing it out.
If it tests clean, I'll make an installer for it.
from otmql4py.
Related Issues (13)
- iPyEvalInt("os.getpid()") cause MT4 hang HOT 1
- Usage of this bridge
- when will python 3.x be supported?
- OTMql4PyTest script crashes MT4 HOT 1
- vLogInit() function not defined HOT 1
- Pythonic "trading functions" API HOT 1
- OTLibPy24.mq4: TerminalPath() returns wrong directory (Win7/MT4 1198) HOT 4
- Python Anaconda HOT 2
- There are some wrong calls of header functions HOT 2
- python27.dll could not be loaded HOT 2
- Fix the path of the include module in Line 12 of OTMql4PyTest.mq4 HOT 1
- cannot load python27.dll HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otmql4py.