NexusFi: Find Your Edge


Home Menu

 





Managed vs Unmanaged approach


Discussion in NinjaTrader

Updated
    1. trending_up 3,187 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Managed vs Unmanaged approach

  #1 (permalink)
 
Merlin997's Avatar
 Merlin997 
Prague
 
Experience: Advanced
Platform: NinjaTrader
Trading: 6E,TF, CL
Posts: 14 since May 2011
Thanks Given: 26
Thanks Received: 2

I would like to ask your for your experiance. I wrote several strategies in managed approach, all worked fine in backtest but realtime in sim was full of overfilling and problems with canceling Stoploss. So i decided to rewrite it to Unmanaged approach. I use SumbitOrder() and CancelOrder() but sometimes i have problems when position reveresing, i close old position and open new position in new direction but sometimes CancelOder() for my Stoploss does not work.

Do you have same experience? How do you fixed it? IS possible to write profitable intraday strategy only in Managed code? (without overfilling)

than you

Tomas

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20


In my mind, it makes no sense to attempt to rectify the differences between backtest mode and real-time because Ninja themselves says that they will occur. See :
https://ninjatrader.com/support/helpGuides/nt7/discrepancies_real_time_vs_bac.htm?zoom_highlightsub=backtest

I would think that if you can get your strat to behave as it should in the Managed approach (not at all meaning profitable), then you can think about going to the Unmanaged approach (never coded to Unmanaged, however).

Profitablity should not depend on what approach you use for your strategy, but on the stategy itself. I doubt that an unprofitable strategy coded using the Managed approach can be made profitable by using the Unmanaged (but I'm just guessing).

A profitable stat in backtest might be unprofitable in real-time (in fact it appears to be common, not unusual, etc), due to issues such as curve fitting, etc (as well as those in the Ninja page above). A good question is, can an unprofitable stat in backtest be made profitable in real time ?

Reply With Quote
  #4 (permalink)
 
Merlin997's Avatar
 Merlin997 
Prague
 
Experience: Advanced
Platform: NinjaTrader
Trading: 6E,TF, CL
Posts: 14 since May 2011
Thanks Given: 26
Thanks Received: 2

I have different experiance and problem is not in "business logic" in strategy. In back test my strategy behave Ok without overfilling (it makes sennse :-)) and no filled stoplosses after refular exit (i mean that some order are dulicated) and sometimes i would like to close position but after close and execute of SL i am in oposite positions :-(
Do you understand me?

But i spent crutial time in development phase and now i can say that i managed almost all of my problems in Managed approach, this weekend i will try it against Market replay. Solution of my problem was that after revers position or regular exit i have to avoid of SL execution (created more contitions in my code)

best regards




kandlekid View Post
In my mind, it makes no sense to attempt to rectify the differences between backtest mode and real-time because Ninja themselves says that they will occur. See :
Discrepancies: Real-Time vs Backtest

I would think that if you can get your strat to behave as it should in the Managed approach (not at all meaning profitable), then you can think about going to the Unmanaged approach (never coded to Unmanaged, however).

Profitablity should not depend on what approach you use for your strategy, but on the stategy itself. I doubt that an unprofitable strategy coded using the Managed approach can be made profitable by using the Unmanaged (but I'm just guessing).

A profitable stat in backtest might be unprofitable in real-time (in fact it appears to be common, not unusual, etc), due to issues such as curve fitting, etc (as well as those in the Ninja page above). A good question is, can an unprofitable stat in backtest be made profitable in real time ?


Started this thread Reply With Quote




Last Updated on October 21, 2011


© 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