Portfolio Total Value / keyword for

Questions about MultiCharts and user contributed studies.
LMC1
Posts: 50
Joined: 28 Apr 2013
Has thanked: 29 times
Been thanked: 1 time

Portfolio Total Value / keyword for

Postby LMC1 » 03 Dec 2017

Hi,

The keyword Portfolio_Equity includes the sum of (Initial Capital + Portfolio_NetProfit + Portfolio_OpenPositionProfit).
However, I want to access the value of "Portfolio Total Value", ie, (Portfolio_Equity + Market Value of all current holdings). Similar to what the keyword " GetRTAccountNetWorth" represents in real time trading.
Thanks.

LMC1

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

Re: Portfolio Total Value / keyword for

Postby Svetlana MultiCharts » 07 Dec 2017

Hi, LMC1

Unfortunately, there is no such pre-built function in MultiCharts, you will need to program your own code to calculate it.

LMC1
Posts: 50
Joined: 28 Apr 2013
Has thanked: 29 times
Been thanked: 1 time

Re: Portfolio Total Value / keyword for

Postby LMC1 » 08 Dec 2017

can you suggest a way please ?

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

Re: Portfolio Total Value / keyword for

Postby Svetlana MultiCharts » 12 Dec 2017

LMC1,

Please describe the specific difficulty you have with implementing it.

LMC1
Posts: 50
Joined: 28 Apr 2013
Has thanked: 29 times
Been thanked: 1 time

Re: Portfolio Total Value / keyword for

Postby LMC1 » 14 Dec 2017

I could not find a way to retrieve the value.
Thanks.

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

Re: Portfolio Total Value / keyword for

Postby Svetlana MultiCharts » 22 Dec 2017

LMC1,

How do you calculate the “Market Value of all current holdings”?


Return to “MultiCharts”