Coder Social home page Coder Social logo

Named pipes about otmql4py HOT 2 CLOSED

opentrading avatar opentrading commented on August 12, 2024
Named pipes

from otmql4py.

Comments (2)

OpenTrading avatar OpenTrading commented on August 12, 2024

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.

OpenTrading avatar OpenTrading commented on August 12, 2024

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)

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.