NexusFi: Find Your Edge


Home Menu

 





Unmanaged vs Managed orders


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Xeno with 9 posts (3 thanks)
    2. looks_two eman with 5 posts (7 thanks)
    3. looks_3 edgefirst with 4 posts (4 thanks)
    4. looks_4 baruchs with 3 posts (3 thanks)
      Best Posters
    1. looks_one eman with 1.4 thanks per post
    2. looks_two NinjaTrader with 1.3 thanks per post
    3. looks_3 edgefirst with 1 thanks per post
    4. looks_4 Xeno with 0.3 thanks per post
    1. trending_up 16,025 views
    2. thumb_up 23 thanks given
    3. group 9 followers
    1. forum 34 posts
    2. attach_file 0 attachments




 
Search this Thread

Unmanaged vs Managed orders

  #1 (permalink)
 Xeno 
UK
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus/Zen
Trading: Futures - bonds, currencies, index
Posts: 288 since Oct 2010
Thanks Given: 70
Thanks Received: 274

Hi,

I'm getting a bit sick of managed orders in Ninja and am thinking of switching to unmanaged.

Did anyone do this switch and decide it was really worth it, to the extent that you now always use unmanaged?

I know the pitfalls, and my programming is fine. In fact, I could see the benefit have having a whole seperate class with its own unmanaged order submission, tracking, order states, and shadow methods for position/order/execution update etc etc. Did anyone go down that path?

[as a slight aside, Ninja keep saying that they may enhance their managed approach, but that there's a lot going on behind the scenes and it's a lot of work. well, OK, I can see some of that, but it's sounding to me like they're making it out to be more than it is to not get round to any enhancements]

thanks
Xeno

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
34 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #3 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,713 since May 2010
Thanks Given: 203
Thanks Received: 2,686



Xeno View Post

[as a slight aside, Ninja keep saying that they may enhance their managed approach, but that there's a lot going on behind the scenes and it's a lot of work. well, OK, I can see some of that, but it's sounding to me like they're making it out to be more than it is to not get round to any enhancements]

thanks
Xeno

There is no exaggeration here, the code is complex and thus sensitive to any changes. At the end of the day, the "unmanaged" was introduced for advanced developers who wish to code at the lowest level giving them full creative control. At the end of the day, if you are limited by the managed approach you should go to unmanaged.

Follow me on Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 baruchs 
Israel
 
Experience: Intermediate
Platform: NinjaTrader
Broker: pfg
Trading: eminis
Posts: 323 since Jun 2009

The only benefit of using "unmanaged" is the ability to submit Long and Short at the same time, even that can be manipulated in the "managed".

Reply With Quote
  #5 (permalink)
 eman 
Galveston ,TX
 
Experience: Intermediate
Platform: NT7
Broker: Zaner
Trading: Futures
Posts: 386 since Mar 2010
Thanks Given: 364
Thanks Received: 435

you answered part of your question in the asking ... if managed is limiting, it's time to take the plunge and go unmanaged.

as for whether others are doing it ... yes, i really like the unmanaged approach, personally. i have switched over.

cheers,
-e

Reply With Quote
Thanked by:
  #6 (permalink)
 Xeno 
UK
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus/Zen
Trading: Futures - bonds, currencies, index
Posts: 288 since Oct 2010
Thanks Given: 70
Thanks Received: 274


NinjaTrader View Post
There is no exaggeration here, the code is complex and thus sensitive to any changes. At the end of the day, the "unmanaged" was introduced for advanced developers who wish to code at the lowest level giving them full creative control. At the end of the day, if you are limited by the managed approach you should go to unmanaged.

Thanks for the answer.

The main critical considerations listed are rejections, overfill and connection/resync, much of which is sort of handled in unmanaged anyway.

As an example, I can't really see too much problem in adding the bracket (longstop, shortstop) to managed. One can cancel the other. If one is rejected, you still have to handle what you want to do. If both get filled, it largely means one has acted as stop for the other, which I think would be acceptable or even desirable for most people.

What other complex stuff is to be handled for the bracket, which seems to be the most requested feature anyway?

Started this thread Reply With Quote
  #7 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,713 since May 2010
Thanks Given: 203
Thanks Received: 2,686


Xeno View Post
Thanks for the answer.

What other complex stuff is to be handled for the bracket, which seems to be the most requested feature anyway?

You are welcome. I am not sure what you mean by your question?

Follow me on Twitter Reply With Quote
  #8 (permalink)
 eman 
Galveston ,TX
 
Experience: Intermediate
Platform: NT7
Broker: Zaner
Trading: Futures
Posts: 386 since Mar 2010
Thanks Given: 364
Thanks Received: 435

@Xeno - say i wanted to enter a trade with an initial target of +20 and a protective stop of -10. after the trade moves +5 in my favor, i would like to tighten my stop to -5, leaving the target of +20 un-touched. if the trade continues to move in my favor, after +12 of profit, i remove the target and tighten my stop to +2 and then on each and every uptick, i trail my stop up until the market retraces and takes me out.

this is a hypothetical example that illustrates how i have used the unmanaged approach. hope this helps.

cheers,
-e

Reply With Quote
  #9 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789


eman View Post
@ Xeno - say i wanted to enter a trade with an initial target of +20 and a protective stop of -10. after the trade moves +5 in my favor, i would like to tighten my stop to -5, leaving the target of +20 un-touched. if the trade continues to move in my favor, after +12 of profit, i remove the target and tighten my stop to +2 and then on each and every uptick, i trail my stop up until the market retraces and takes me out.

this is a hypothetical example that illustrates how i have used the unmanaged approach. hope this helps.

cheers,
-e

Can I just ask, what part of that example cannot be coded within the managed order scenario?

I haven't tried it, but I would have thought that SetStopLoss() allows you to adjust the stop, and capturing the target IOrder for the SetProfitTarget in the OnOrderUpdate event will allow you to cancel the order. Or is that over-optimistic?

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #10 (permalink)
 baruchs 
Israel
 
Experience: Intermediate
Platform: NinjaTrader
Broker: pfg
Trading: eminis
Posts: 323 since Jun 2009



Quoting 
@ [COLOR=#0000ff]Xeno[/COLOR] - say i wanted to enter a trade with an initial target of +20 and a protective stop of -10. after the trade moves +5 in my favor, i would like to tighten my stop to -5, leaving the target of +20 un-touched. if the trade continues to move in my favor, after +12 of profit, i remove the target and tighten my stop to +2 and then on each and every uptick, i trail my stop up until the market retraces and takes me out.

This has nothing to do with managed<>unmanaged. You can do it the same with managed.

Reply With Quote




Last Updated on March 6, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts