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,015 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

  #11 (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
You are welcome. I am not sure what you mean by your question?

What I mean is, apart from connection/overfill/rejection, which are largely handled in unmanaged, what complex stuff stops you enhancing managed to include longstop/shortstop bracket without too much trouble? I'm trying to understand what your issues are.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
16 thanks
My NQ Trading Journal
14 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
  #12 (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


Xeno View Post
What I mean is, apart from connection/overfill/rejection, which are largely handled in unmanaged, what complex stuff stops you enhancing managed to include longstop/shortstop bracket without too much trouble? I'm trying to understand what your issues are.

From what I understand, it's overfills that are the problem - not being able to cancel out the other stop on a fill where the bracket is tight. But let's hear it from NinjaTrader direct - I'm not speaking for them.

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
Thanked by:
  #13 (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



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

Thanks for the reply. I wasn't so much looking for examples, more opinions. Was switching to unmanaged a good thing, was it easy, do you always use it now, even though managed might do what you want, are there pitfalls not mentioned in the NT docs.

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


Xeno View Post
Was switching to unmanaged a good thing

yes, absolutely


Xeno View Post
was it easy

i find that the extra lines of code required resulted from having to flush out a more granular set of rules to manage the trade. the implementation was no more or less easy/difficult than coding managed. the added difficulty comes with the opportunity to be more precise. and in our particular case, it resulted in fewer lines of code overall, oddly enough.


Xeno View Post
do you always use it now

yes


Xeno View Post
even though managed might do what you want, are there pitfalls not mentioned in the NT docs.

managed did most of what i needed, but switching to unmanaged made it much easier to write re-usable code blocks. and that is the way i like to develop, so i switched and haven't really looked back.

cheers,
-e

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


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


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

sorry, you guys are right. i mistook "unmanaged" for "advanced order handling" at first. and my example better demonstrated why i used AOH instead of SetStopLoss().

we did eventually migrate from managed to unmanaged because the strategy was multi-tiered and each tier could have multiple stop-handling triggers/rules. it simply became easier use our own "wrappers" with the unmanaged methods rather a couple of bloated switch() statements.

so maybe it's more correct to say i use my own managed version of the unmanaged setup? sorry for muddying the waters. i do still really appreciate NT allowing us to "get creative" :-)

cheers,
-e

Reply With Quote
Thanked by:
  #16 (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
What I mean is, apart from connection/overfill/rejection, which are largely handled in unmanaged, what complex stuff stops you enhancing managed to include longstop/shortstop bracket without too much trouble? I'm trying to understand what your issues are.

Thanks for the clarification.

Unmanaged approached covers the requirements of strategy developers to submit multiple opposing entry orders simultaneously. We felt that exposing this unlimited approach was a smarter decision (for both business and practical reasons) than trying to fit it into our managed code base.

Follow me on Twitter Reply With Quote
Thanked by:
  #17 (permalink)
 edgefirst 
Las Cruces, NM
 
Experience: Advanced
Platform: Tradestation, MC, NT
Broker: TradeStation, IB
Trading: Liquid futures contracts
Posts: 56 since Sep 2009
Thanks Given: 389
Thanks Received: 86


eman View Post
yes, absolutely


i find that the extra lines of code required resulted from having to flush out a more granular set of rules to manage the trade. the implementation was no more or less easy/difficult than coding managed. the added difficulty comes with the opportunity to be more precise. and in our particular case, it resulted in fewer lines of code overall, oddly enough.


yes


managed did most of what i needed, but switching to unmanaged made it much easier to write re-usable code blocks. and that is the way i like to develop, so i switched and haven't really looked back.

cheers,
-e


I totally agree with eman. I am in the transition from managed to unmanaged, after playing with managed mode for a few months, with much frustration.

Reasons for the transition:

1. As users of NT, we do not know what is happening behind the managed solution. It is something that adds some protection but also asserts a lot of restrictions.

2. My aim is unattended trading, which means a lot of rare scenarios must be dealt with in the code. I have heard from TradeStation (perhaps NinjaTrader has the same view?) that the aim of strategy trading is to relieve traders from repetitive works that can be done better by computers, which is a different perspective. In reality, error-handling, which is highly critical to unattended trading, can only be dealt with on a case-by-case basis, since a lot depends on the broker and the exchange, and factors out of control of platform companies.

3. Due to restrictions under managed mode, we are essentially trading freedom for some level of protection. That means in many cases, we must "work-around" the restrictions, which can be a nightmare for software maintenance and code reuse, and in many cases, can make code more complex.

My current view of this issue is that if you are experienced in programming and you want fully-automated trading, unmanaged seems to be the only way to go. With that said, I have only programmed in the unmanaged mode for a short period of time, not long enough to discover serious issues. Experienced programmers please chime in and share what you find.

Reply With Quote
Thanked by:
  #18 (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


edgefirst View Post

My current view of this issue is that if you are experienced in programming and you want fully-automated trading, unmanaged seems to be the only way to go. With that said, I have only programmed in the unmanaged mode for a short period of time, not long enough to discover serious issues. Experienced programmers please chime in and share what you find.

Yes, please do.

I've now started with unmanaged, and it does seem the way to go. I deliberately started with something hard - bracketing, stop and reverse and all handling partial fills. It seems to be working fine, and I can see that I'll stay with unmanaged.

Just seems a shame that each of us doing it are reinventing the wheel and coming up with a load of reusable code which is probably fairly similar.

I like writing my own code, and it's a good way to keep control and knowledge of what's going on, but I would have seriously considered buying a well designed library to handle it all.

Started this thread Reply With Quote
Thanked by:
  #19 (permalink)
 traderwerks   is a Vendor
 
Posts: 692 since Jun 2009
Thanks Given: 436
Thanks Received: 465


edgefirst View Post

My current view of this issue is that if you are experienced in programming and you want fully-automated trading, unmanaged seems to be the only way to go. With that said, I have only programmed in the unmanaged mode for a short period of time, not long enough to discover serious issues. Experienced programmers please chime in and share what you find.

I trade live un attended in managed mode. You can code around most of the 'issues' with managed mode.

Think and code simply. You can do a lot and it makes your life easier.

Math. A gateway drug to reality.
Reply With Quote
Thanked by:
  #20 (permalink)
 
ThatManFromTexas's Avatar
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
Posts: 2,265 since Feb 2010
Thanks Given: 1,206
Thanks Received: 4,353


Unmanaged can work well... depending on your programming ability. Just remember, if things go to hell.... you're on your own.

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
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