Back

External program control

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

Update Backtest








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.

0

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.

0

Thank you

Does anybody have any example code doing this (especially in pyton)?

0

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.

0

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.


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

0

Update Backtest





0

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.


Loading...

This discussion is closed