Strategy Execution Problem - NinjaTrader | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader

Strategy Execution Problem
Started:April 29th, 2011 (12:59 PM) by togier Views / Replies:992 / 2
Last Reply:May 3rd, 2011 (07:11 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Strategy Execution Problem

Old April 29th, 2011, 12:59 PM   #1 (permalink)
Elite Member
Boston, MA
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB
Favorite Futures: EUR/USD
Posts: 42 since Apr 2010
Thanks: 1 given, 3 received

Strategy Execution Problem

Ok, here goes. I have an automated strategy that trades EURUSD. When the entry conditions are right, the strategy submits 5 market orders simultaneously. The orders are 60k, 40k, 20k, 20k, 20k. I also submit profit targets and stops along with these orders. Also, I use the managed orders process. Ok, this morning the entry strategy was triggered and if I am reading the log files correctly, NT submitted the orders correctly but IB split up the 60k order into 2 actual orders of 50k and 10k. What happened after that is a little bit of a mystery but what I think happend was NT tried to pair a target and stop with the 10k order and IB rejected the order. When it rejected the order, NT then flattened everything. I understand that orders get broken up but how or can I control this through a strategy? I didn't really loose any money this morning but I did miss out on a nice opportunity. Any suggestions would be most appreciated.

Reply With Quote

Old April 29th, 2011, 12:59 PM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old May 3rd, 2011, 07:11 AM   #3 (permalink)
Elite Member
Melbourne, Australia
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG Markets
Favorite Futures: EUR?USD,AU/USD
sinisa's Avatar
Posts: 38 since Apr 2011
Thanks: 10 given, 41 received


Maybe would have been good if you posted actual error messages from the Ninja log file. But if you wish fine control over the orders and execution you should use following events:

OnOrderUpdate() and OnExecution()

OnExecution it seems method that could help with your problem as this is the place where you can manage partial fills and so on to decide what you do. The NinjaTrader help guide section OnExecution() can help you.

If you need any specific samples or further help feel free to let me know.


Markets are logical and
Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > Strategy Execution Problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Think Or Swim execution ctmvas Brokers and Data Feeds 27 September 9th, 2011 02:03 AM
Implementing a delay after first SendMail execution, possible? raindrop NinjaTrader Programming 13 August 17th, 2011 02:55 PM
megatechie remote for faster execution ssyl Brokers and Data Feeds 3 May 19th, 2011 06:52 PM
MC: Simple strategy code problem / Easy Language true EasyLanguage Programming 4 December 19th, 2010 08:48 AM
Problem with a strategy & machine ID alpine4133 NinjaTrader Programming 4 September 2nd, 2009 07:14 PM

All times are GMT -4. The time now is 07:48 AM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-26 in 0.07 seconds with 23 queries on phoenix via your IP