Hi QuantConnectors'
I am quite new to QuantConnect.
What I am looking to do is to allow my algorithm to communicte with external softare (say MQTT or RabbitMQ) to allow for my external software to monitor and possibly provide parameters.
Is this possible?
Kind regards
Andrew
Patrick Star
Hi Andrew,
Welcome to QC!
Let's wait for the QC staff to answer this question but allowing communications from internal servers to the outside world is potentially a security issue.
Good luck.
Petter Hansson
Http requests as well as plain sockets work for this (at least in C#). Just be careful what you upload to not breach terms of use.
Andrew Cardno
Thank you
Does anybody have any example code doing this (especially in pyton)?
Jared Broad
Andrew Cardno you can download signals/parameters from an external source to seed a universe or start your algorithm but not upload signals/state. If you use the REST API you can get the state of an algorithm from the API. I'm not sure we have a python example but will see what we can do to get one for you.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Andrew Cardno
Thank you Jared,
I understand that the algorithm can read from an external API.
I can work with c# code as well (altho I am Python not C# programmer).
Kind regards
Andrew
Andrew Cardno
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!