Gamestudio Links
Zorro Links
Newest Posts
Comment Out
by AndrewAMD. 11/18/19 17:55
Suppressing Messages
by MatPed. 11/18/19 14:19
Indicator and TimeFrame
by jcl. 11/18/19 12:44
Sierra Chart Plugin
by AndrewAMD. 11/17/19 19:27
Programming a megaproject in python and R
by anonymous87. 11/17/19 12:56
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
10 registered members (MatPed, SkyCaptain, Dooley, AndrewAMD, Uhrwerk, Jerome8911, kvm, Quad, 2 invisible), 655 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
anonymous87, LaszloK, gra9, Dev_ill, Ryu
18330 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ZeroMQ #477347
06/18/19 05:41
06/18/19 05:41
Joined: May 2015
Posts: 164
Czech Republic
Grat Offline OP
Grat  Offline OP

Joined: May 2015
Posts: 164
Czech Republic

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 Files (19 downloads)
zorroZmq.h (25 downloads)
zmq_client.c (34 downloads)
Screenshot_96.png (1640 downloads)
Last edited by Grat; 06/18/19 05:44.
Re: ZeroMQ [Re: Grat] #478107
09/08/19 08:36
09/08/19 08:36
Joined: Nov 2015
Posts: 8
ricky_k Offline
ricky_k  Offline

Joined: Nov 2015
Posts: 8

Nice work with the ZMQ interface.

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


Re: ZeroMQ [Re: Grat] #478452
10/23/19 20:04
10/23/19 20:04
Joined: Aug 2019
Posts: 17
felixfx Offline
felixfx  Offline

Joined: Aug 2019
Posts: 17
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.

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at)

Powered by UBB.threads™ PHP Forum Software 7.7.1