Gamestudio Links
Zorro Links
Newest Posts
Zorro.ini - StrategyFolder
by MatPed. 04/08/20 11:04
MT4 bridge: Check account number
by tradingest. 04/07/20 13:12
call(3+16, saveTrades, 0, 1.0);
by MatPed. 04/07/20 13:08
dead links
by jcl. 04/07/20 12:27
Zorro and IB Gateway
by cwford. 04/07/20 00:31
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 (Quad, 3run, txesmi, panz, jbhunter, TedMar, alibaba, Sinuhet, AndrewAMD, 1 invisible), 674 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rruuvvii, vishal, tanhwuser, beo, marsz
18414 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 (24 downloads)
zorroZmq.h (48 downloads)
zmq_client.c (48 downloads)
Screenshot_96.png (1913 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: 19
felixfx Offline
felixfx  Offline

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

Moderated by  Petra 

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