Any trading platforms that support LIFO? - futures io
futures io



Any trading platforms that support LIFO?


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one hyperscalper with 2 posts (0 thanks)
    2. looks_two trendisyourfriend with 1 posts (0 thanks)
    3. looks_3 Jolew with 1 posts (0 thanks)
    4. looks_4 tr8er with 1 posts (0 thanks)
    1. trending_up 1,865 views
    2. thumb_up 0 thanks given
    3. group 7 followers
    1. forum 8 posts
    2. attach_file 2 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Any trading platforms that support LIFO?

(login for full post details)
  #1 (permalink)
austinHodge
Houston TX
 
 
Posts: 1 since Jan 2015
Thanks: 0 given, 0 received

Are there any trading platforms that support a Last in First Out (LIFO) tax basis? So far, I've tried IB TWS and TradeStation. TWS supports LIFO for stocks but not for futures. Other posts indicate that NinjaTrader also does not support LIFO. Any help is appreciated.

Reply With Quote

Can you help answer these questions
from other members on futures io?
AUSuperTrend in the NT strategy builder
NinjaTrader
you cant wait for life is not hard anymore before you de …
Psychology and Money Management
Looking for VisEMA indicator for NT7
NinjaTrader
EMA as a trailing stop
Traders Hideout
MCnet: (Multi-Timeframe) EMA @ Weekly Data on Daily Chart
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Beast Slayer, Lances NQ Trading Journal
45 thanks
Spoo-nalysis ES e-mini futures S&P 500
22 thanks
Michael Burry warns the Mother of All Crashes is coming
21 thanks
FairX is launching soon
18 thanks
Chart Trader Alternatives ?
14 thanks
 
(login for full post details)
  #3 (permalink)
 Jolew 
San Jose, CA
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB
Trading: Futures
 
Posts: 113 since Jan 2011
Thanks: 54 given, 95 received


Sierra has an option for LIFO trade matching.

It shouldn't really matter for futures tax purposes since futures are marked to market anyway.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
 hyperscalper 
boise idaho
 
Experience: Advanced
Platform: NinjaTrader adv C#/Java
Broker: NinjaTrader with LeeLoo
Trading: NinjaTrader 8 advanced Strategies and Indicators
 
Posts: 71 since Apr 2020
Thanks: 5 given, 89 received

I realize this is an old thread; but, for me, the
topic is very important.

I use a trading style I call "micro incremental
multi-position scalping with intermediate
partial profit-taking" which is a LIFO style.

I don't call it that since it's too difficult to
remember; but there are not likely to be
platforms supporting that style, so I always
have to write my own.

I use NinjaTrader, so wrote an Order Entry
LIFO platform in C# within their Strategy
framework, with an "old fashioned" Winforms
interface instead of clunky WPF of course.

The Trader wants to know his price break-even
at all times, based upon a LIFO (Last In, first
Out, with a partial profit, hopefully).

He also wants to know when there is a
candidate for Partial Profit taking, in case
of prolonged congestion or "chop" in the
market, while underwater.

The mindset here is to add positions when
the price is moving against you; thus improving
your Cost Basis, and resilience in handling
Price Adversity.

[edit] She must not be "guessing" about the
market direction; so needs heavy support
of realtime indicators to show the market
direction; otherwise it's not possible to
confidently add to an incremental position
when price is moving against her (or him).

One downside to my style of trading is, of
course, that when partial profits are taken,
which offset the remaining open position
in a "trading frame" (the aggregate trade
which may consist of dozens or even hundreds
of individual trades) those Profit-takes do
reduce the overall position size.

When enough Profit has been taken to offset
the Open losses, then we are "break even".

It's a great approach, because it emphasizes
multiple small entries which, taken together,
result in the overall result; and primarily
allow the Trader to take Price Adversity much
more gracefully, and to give herself a
"pat on the back" every time a Partial Profit
is taken to offset an underwater position.

The downside is that when Partial Profits are
taken, of course, the overall Position Size is
reduced; and the Cost Basis shifts.

There are times when we want to defer Partial
Profit taking (which reduces our position size)
and wait until we profit against the aggregate
Volume Weighted Average Price Cost Basis
instead.

If underwater, and there is significant "chop" then
there is opportunity to take Partial Profits,
but she must remember that if "chop" appears
to be ending, and the aggregate position begins
to run in her favor, that the Trader is better off
by holding more size; so that the final Push
she has worked so hard to wait for; yields the
greatest profits.

In doing this, the LIFO method gives what I think
is a very clear way of thinking about multi-position
aggregate positions; and of course FIFO calculations
along the way (which brokerages use as standard),
will be wildly misleading as to the profit or loss gained
so far, the cost break even price; and so the LIFO
trader must ignore that method of accounting for
the entire position ("the trading frame") until
flat.

When FLAT, then the LIFO and FIFO methods will
completely agree, of course.

hyperscalper

Reply With Quote
 
(login for full post details)
  #5 (permalink)
 SBtrader82 
Rovigo (ITALY)
 
Experience: Intermediate
Platform: SierraChart, MotiveWave
Broker: Rithmic, Dorman, Interactive Brokers
Trading: Emini, Nasdaq, DAX, Bund, IBEX
 
SBtrader82's Avatar
 
Posts: 459 since Feb 2018
Thanks: 177 given, 1,034 received

You can do it very easily in SierraChart. You can decide which matching style you would like to use. At the end of the day this makes no difference in terms of P&L, so it will be just for your visualization.

If you don't know how to do this in Sierra let me know and I will check.


Sent using the futures.io mobile app

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #6 (permalink)
 tr8er 
Market Wizard
Europe
 
Experience: Advanced
Platform: TradeNavigator, BookMap
Trading: ES, CL, 6E, 6B
 
Posts: 507 since Jan 2017
Thanks: 43 given, 454 received

I use TradeNavigator and there I can also set it that way (if it makes sense or not )

https://www.screencast.com/t/0JdSEyDeoq

Reply With Quote
 
(login for full post details)
  #7 (permalink)
 trendisyourfriend 
Legendary Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,066 since Oct 2009
Thanks: 3,719 given, 5,260 received

You can set what you want in NT8 Options > Trading...


Reply With Quote
 
(login for full post details)
  #8 (permalink)
 VWAP 
Toronto, ON
 
Experience: None
 
Posts: 9 since Feb 2019
Thanks: 0 given, 5 received


hyperscalper View Post
I realize this is an old thread; but, for me, the
topic is very important.

I use a trading style I call "micro incremental
multi-position scalping with intermediate
partial profit-taking" which is a LIFO style.

I don't call it that since it's too difficult to
remember; but there are not likely to be
platforms supporting that style, so I always
have to write my own.

I use NinjaTrader, so wrote an Order Entry
LIFO platform in C# within their Strategy
framework, with an "old fashioned" Winforms
interface instead of clunky WPF of course.

The Trader wants to know his price break-even
at all times, based upon a LIFO (Last In, first
Out, with a partial profit, hopefully).

He also wants to know when there is a
candidate for Partial Profit taking, in case
of prolonged congestion or "chop" in the
market, while underwater.

The mindset here is to add positions when
the price is moving against you; thus improving
your Cost Basis, and resilience in handling
Price Adversity.

[edit] She must not be "guessing" about the
market direction; so needs heavy support
of realtime indicators to show the market
direction; otherwise it's not possible to
confidently add to an incremental position
when price is moving against her (or him).

One downside to my style of trading is, of
course, that when partial profits are taken,
which offset the remaining open position
in a "trading frame" (the aggregate trade
which may consist of dozens or even hundreds
of individual trades) those Profit-takes do
reduce the overall position size.

When enough Profit has been taken to offset
the Open losses, then we are "break even".

It's a great approach, because it emphasizes
multiple small entries which, taken together,
result in the overall result; and primarily
allow the Trader to take Price Adversity much
more gracefully, and to give herself a
"pat on the back" every time a Partial Profit
is taken to offset an underwater position.

The downside is that when Partial Profits are
taken, of course, the overall Position Size is
reduced; and the Cost Basis shifts.

There are times when we want to defer Partial
Profit taking (which reduces our position size)
and wait until we profit against the aggregate
Volume Weighted Average Price Cost Basis
instead.

If underwater, and there is significant "chop" then
there is opportunity to take Partial Profits,
but she must remember that if "chop" appears
to be ending, and the aggregate position begins
to run in her favor, that the Trader is better off
by holding more size; so that the final Push
she has worked so hard to wait for; yields the
greatest profits.

In doing this, the LIFO method gives what I think
is a very clear way of thinking about multi-position
aggregate positions; and of course FIFO calculations
along the way (which brokerages use as standard),
will be wildly misleading as to the profit or loss gained
so far, the cost break even price; and so the LIFO
trader must ignore that method of accounting for
the entire position ("the trading frame") until
flat.

When FLAT, then the LIFO and FIFO methods will
completely agree, of course.

hyperscalper

@hyperscalper that is exactly what I'm looking for, could you let me know more info about what you coded regarding getting LIFO ?

I tend to scale into my positions and if I could get LIFO it would dramatically improve my PnL I think.

Example: If I scale down from 3300 to 3290, and my average cost is say 3295 (with my first contract entered long at 3300).

If I sell at 2 ticks profit (@ 3295.50), it will result in a LOSS as my first contracts were in at 3300.

I use Ninjatrader 8 and it took me a while to figure out why my first few limit sell orders resulted in LOSSES !!

Reply With Quote
 
(login for full post details)
  #9 (permalink)
 hyperscalper 
boise idaho
 
Experience: Advanced
Platform: NinjaTrader adv C#/Java
Broker: NinjaTrader with LeeLoo
Trading: NinjaTrader 8 advanced Strategies and Indicators
 
Posts: 71 since Apr 2020
Thanks: 5 given, 89 received


VWAP View Post
@hyperscalper that is exactly what I'm looking for, could you let me know more info about what you coded regarding getting LIFO ?

I tend to scale into my positions and if I could get LIFO it would dramatically improve my PnL I think.

Example: If I scale down from 3300 to 3290, and my average cost is say 3295 (with my first contract entered long at 3300).

If I sell at 2 ticks profit (@ 3295.50), it will result in a LOSS as my first contracts were in at 3300.

I use Ninjatrader 8 and it took me a while to figure out why my first few limit sell orders resulted in LOSSES !!

Hi. Unfortunately my code is far too complex and embedded in what NinjaTrader 8 calls an "unmanaged Strategy". My own code creates the concept of a "position", which has an Entry order, and an Exit order; which means that I know everything required to do Last In, First Out (LIFO) accounting.

It's so very nice to see what your Partial Profit taking is doing to offset your overall "aggregate" position; and it also gives "encouragement" that you are at least working toward Break Even, if not into profits.

Ninjatrader draws lines matching the "entry" and "exit" positions, which they say come from the broker so, in my case, they are FIFO, and do not give the right visual representation. I just ignore them.

I am sorry, but I don't know of a LIFO accounting Strategy or Indicator that might help you; but I'd guess it's out there somewhere, if you just scour the commercially available packages in the Ninjatrader "ecosystem".

[EDIT] usual disclaimers I am simply posting this as something which could be helpful to you; and have no experience with it; just to show that there is a "need" out there which commercial vendors are trying to meet: https://www.volaty.com/products/indicators/breakeven-price/ In some cases, it might calculate from the VWAP price; but I recognize you'll want to know each individual "position" PnL which is what I've done, but that's not for sale.

Just for fun, here a series of 3 MNQ positions, with 9 tick targets taken on each one,
and of course the Ninja Chart shows a misleading FIFO representation; but the preferred
representation would be different... The result of this "aggregate scalp" is a NET profit
of $10.44 (with a $0.51 cost per side).


hyperscalper

Reply With Quote


futures io Trading Community Platforms and Indicators > Any trading platforms that support LIFO?


Last Updated on June 8, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

June
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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