Chart Trading Panel - PnL not refreshed often  [SOLVED]

Questions about MultiCharts and user contributed studies.
User avatar
syswizard
Posts: 295
Joined: 15 Dec 2012
Has thanked: 16 times
Been thanked: 28 times

Chart Trading Panel - PnL not refreshed often

Postby syswizard » 06 Dec 2018

Interactive Brokers profile. Bid/Ask/Last all being updated in real time.
The PnL seems to update only about once per minute.
How can this be changed ?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Chart Trading Panel - PnL not refreshed often

Postby TJ » 06 Dec 2018

MC version? Build number?

User avatar
syswizard
Posts: 295
Joined: 15 Dec 2012
Has thanked: 16 times
Been thanked: 28 times

Re: Chart Trading Panel - PnL not refreshed often

Postby syswizard » 06 Dec 2018

Version: MultiCharts64 Version 12.0 Release (Build 17002)

User avatar
syswizard
Posts: 295
Joined: 15 Dec 2012
Has thanked: 16 times
Been thanked: 28 times

Re: Chart Trading Panel - PnL not refreshed often

Postby syswizard » 09 Dec 2018

Also, shouldn't I see the PnL for the day as well as the OpenPositionProfit figure on the chart trading panel ?
They should be one on top of each other, right ?

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: Chart Trading Panel - PnL not refreshed often

Postby Svetlana MultiCharts » 16 Jan 2019

Hello, syswizard,

Please select “By Best Bid&Ask” or “By Last Trade” for the Unrealized Profit Calculation Mode in IB broker profile settings (File -> Broker Profiles -> Manage Broker Profiles -> IB -> Edit)

User avatar
syswizard
Posts: 295
Joined: 15 Dec 2012
Has thanked: 16 times
Been thanked: 28 times

Re: Chart Trading Panel - PnL not refreshed often

Postby syswizard » 16 Jan 2019

Last Trade DEFINITELY didn't work.
I tried other options as well.
I think this is an IB API interface bug.
The PnL should be updated after every bar close.
Guess what ? It's NOT.
Maybe every 5 bars....that's my estimate.

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: Chart Trading Panel - PnL not refreshed often

Postby Svetlana MultiCharts » 30 Jan 2019

Hello, syswizard,

If the issue was not solved, please come to our live chat MON-FRI from 6:30 AM to 12:00 PM EST so that we can study this behavior remotely. Live Chat is accessible from our web site http://www.multicharts.com/ (at the top of the page).
We’ll do our best to help you.

User avatar
syswizard
Posts: 295
Joined: 15 Dec 2012
Has thanked: 16 times
Been thanked: 28 times

Re: Chart Trading Panel - PnL not refreshed often

Postby syswizard » 30 Jan 2019

I will do so. I tried all 3 broker profile options and got the same delayed behavior.

User avatar
syswizard
Posts: 295
Joined: 15 Dec 2012
Has thanked: 16 times
Been thanked: 28 times

Re: Chart Trading Panel - PnL not refreshed often  [SOLVED]

Postby syswizard » 06 Feb 2019

This has been resolved as Realtime PnL is not accurate unless you have a realtime data feed subscription with your broker. In my case that would be Interactive Brokers. I am using DTN IQFeed for the realtime data.
The only possible workaround is to compute the PnL via script and display it in the status bar or in a text box.
However, it is not totally accurate because you cannot get the order fill value from the broker....and must assume the close of the prior bar when the MarketPositionAtBroker changes from zero to non-zero.


Return to “MultiCharts”