Back

ATS (one for buying and one for selling)

Hi Everybody,
Please do you know where to find or can somebody make something like this? (Ninjascript)
ATS (one for buying and one for selling)
-which when I buy/sell some price will after that automatically buy/sell on trigger price of last trailing stop loss (better is changeable distance from trigger)
-with cumulative total day loss limit (changeable) when it hit cumulative limit ATS will be stoped and positon will be flatten (changeable)
-with (optional) time and price(order like a buy stop) when will be ATS swich of and positon automatically will be flatten (changeable)
-with changeable size of trailing stop loss

Even any very simplified version of this ATS will be really helpulful.
Update Backtest








Hey @Kristian, I'm not entirely sure I understand what you're asking. Are you asking for a ninjascript conversion?

Have you tried checking out the QCUniversity in the tab on the left in the backtester? It's filled with tons of API examples on how to do just about everything in QC. Have a peak there and come back if you still need help. Also, try coding it up yourself, if you get stuck with the code, post your code here and we can help.
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.


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