Back

Let a newbie brag for top 1% (+ thing I dont understand)

I have no knowledge of Csharp. I have no knowledge of Quantconnect. I absolutely avoided look ahead bias, I use no indicators except 1h heikin high. I didnt even implement the part that should take the profits and my hacked together algo is in the top 1% of the community. Call me an idiot but it feels good to say it :D

So, enough of this superficial childishness. 

What I dont understand is how you set TakeProfit for specific orders. If I understand correctly you just open another opposite order in the other direction, and that is fine. 

But say I have 10 filled orders and relative filled tickets 1 -2 -3- 4 -5 -6 -7- 8- 9- 10. 

A - How do I close, say, EXACTLY filled ticket 2, 3 and 9 once market hits a specified price? 

B - I use Oanda, how can I simply have Oanda servers recognize a takeprofit and have it tied to a SPECIFIC TICKET?

C - if that isnt possible, would it be practical as a work-around, to use tags to close these orders once price is hit?

Thanks for the patience and attention.

Luca

39408_1549730413.jpg

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.


Wow...i just put initial capital to a ridiculously low amount of 10 dollars and not only it didnt crash, but it's number 1 algo. I didnt expect that...

 

39408_1549731793.jpg

0

1) do you use c#? even if not documentation is a good start and than this link maybe helps:

www.quantconnect.com/forum/discussion/1700/support-for-one-cancels-the-other-order-oco

you have to work with the orderevent

0

btw in the link above he is using tags for his orders but QC sets defaults i think anyway....check it out

0

Thanks Michael, I do (try to) use C# and I will look into that code to see if I can make sense and use of it. 
 

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