-
Notifications
You must be signed in to change notification settings - Fork 33
OTMql4AMQP
https://github.com/OpenTrading/OTMql4AMQP/
OTMql4AMQP project allows the OpenTrading Metatrader-Python bridge to work with RabbitMQ, or probably any version of AMQP, the emerging standard for high performance enterprise messaging, for asynchronous communications between financial and trading applications. It builds on OTMql4Py, and requires it as a pre-requisite.
In your Python, you must have installed Pika: https://pypi.python.org/pypi/pika/
Pika offers the advantage of being pure Python: no DLLs to compile or install. Pika communicates with AMQP servers, the most common open-source one being RabbitMQ: http://www.rabbitmq.com You will need an AMPQ server installed, configured and running to use this project. The code assumes the default server setup of username: guest, password: guest, virtual host: / but you can change those when you attach the EA to the chart: OTPyTestPikaEA.mq4
Look at the OnTick}} and {{{OnTimer functions of OTPyTestPikaEA.mq4 to see how the EA works to send and receive messages from OTCmd2.
For installation instructions, see Installation.
Parent: Components
Home: Home Index: TitleIndex
Index
OTCmd2 Manual
- DocOTCmd2
- DocOTCmd2_subscribe
- DocOTCmd2_publish
- DocOTCmd2_chart
- DocOTCmd2_order
- DocOTCmd2_csv
- DocOTCmd2_backtest
- DocOTCmd2_rabbit
OTBackTest Manual
OTPpnAmgc Manual