Posted By: Grat

ZeroMQ - 06/18/19 05:41


I create interface for ZeroMQ. Status is early alpha

a) download libzmq.dll and put in zorro folder
b) install zorroZmq.h into include
c) zmq_client.c into Strategy

[Linked Image]

test server in python:
import time
import zmq

context = zmq.Context()
socket = context.socket(zmq.REP)

while True:
    #  Wait for next request from client
    message = socket.recv()
    print("Received request: %s" % message)

    #  Do some 'work'

    #  Send reply back to client

Attached File  (24 downloads)
Attached File
zorroZmq.h  (48 downloads)
Attached File
zmq_client.c  (48 downloads)
Attached File
Screenshot_96.png  (1909 downloads)
Posted By: ricky_k

Re: ZeroMQ - 09/08/19 08:36


Nice work with the ZMQ interface.

Wondering what kinds of applications you'd use this for (or already have) besides a custom trading API?

Posted By: felixfx

Re: ZeroMQ - 10/23/19 20:04

wow, that's great. If you don't mind my asking, what is your reasoning for using ZMQ via Zorro?
I'm just getting into Zorro and Lite-C so I'm wondering if you've hit some upper limits of its capabilities.

Don't get me wrong, I think its great you can connect Jupyter Notebook with Zorro now.

If you didn't know, there is also a ZMQ EA created for MT4 that will bind MT4 and Python:
Don't get me wrong, I think its great there is an option via Zorro now.
© 2020 lite-C Forums