Am I the only one who noticed this bug on NT 7.0.1? (Page 2) - NinjaTrader Programming | futures trading

Go Back

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

Am I the only one who noticed this bug on NT 7.0.1?
Started:November 30th, 2013 (06:46 PM) by mborin Views / Replies:1,023 / 11
Last Reply:December 1st, 2013 (06:54 PM) 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

Am I the only one who noticed this bug on NT 7.0.1?

Old December 1st, 2013, 06:32 PM   #11 (permalink)
Market Wizard
Boca Raton
Futures Experience: Advanced
Platform: Variety
Broker/Data: Optimus Futures, LLC
Favorite Futures: Futures
mattz's Avatar
Posts: 1,791 since Sep 2010
Thanks: 1,719 given, 2,438 received
Forum Reputation: Legendary

Fat Tails View Post
If you enter several positions and close some of them, there are basically three ways to account for PNL

- average price

NinjaTrader simply does not offer LIFO. You can only select between average price (default) and FIFO (can be activated under Options -> General).

There have been multiple requests by NinjaTrader users for this feature, also see the following links:

'Use FIFO for position avg. price calculations' setting is not working - NinjaTrader Support Forum
LIFO for Matching Entries & Exits - NinjaTrader Support Forum
Last in First out contract PnL - NinjaTrader Support Forum

In some case - this depends on the broker API - NinjaTrader will show PNL as calculated by your broker.

Right on! I wanted him to show calculations so I can show him its either FIFO or another calculation.
I believe (although all should verify) that FIFO is also the preferred method for taxation in the USA, so calculation of LIFO are for individual uses only.

PM with any questions about optimusfutures (800) 771-6748 (561) 367 8686. THERE IS A SUBSTANTIAL RISK OF LOSS IN FUTURES TRADING.
Reply With Quote

Old December 1st, 2013, 06:54 PM   #12 (permalink)
Elite Member
san antonio tx/usa
Futures Experience: Advanced
Platform: NinjaTrader
Favorite Futures: Stocks
Posts: 13 since Jun 2012
Thanks: 2 given, 5 received

Could someone show some code that can be used inside of a strategy to manage LIFO internally?

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Am I the only one who noticed this bug on NT 7.0.1?

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
Have You Noticed? China Stocks Are Rallying Quick Summary News and Current Events 0 January 21st, 2013 08:10 PM
CME Filed A Lawsuit Against MF Global And No One Noticed At All kbit News and Current Events 1 December 15th, 2011 08:09 PM
Another Bug in Ninja 7 Michael.H NinjaTrader 16 June 30th, 2010 12:02 PM
NT Bug Alert Saroj NinjaTrader Programming 1 July 20th, 2009 07:11 AM

All times are GMT -4. The time now is 06:56 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-27 in 0.07 seconds with 19 queries on phoenix via your IP