699
edits
m (→Notes) |
No edit summary |
||
Line 1: | Line 1: | ||
Returns absolute value | Returns absolute value indicating the amount of cash assets invested in portfolio securities on the moment of strategy calculation. | ||
== Usage == | == Usage == | ||
Line 5: | Line 5: | ||
== Notes == | == Notes == | ||
This function can only be used in signals intended to be used with the Portfolio Trader. | |||
The value is returned in the currency specified in Portfolio Trader: '''Portfolio Settings -> Base Currency.''' | |||
== Example == | == Example == | ||
<syntaxhighlight>Portfolio_InvestedCapital</syntaxhighlight> | <syntaxhighlight>Portfolio_InvestedCapital</syntaxhighlight> | ||
Will return a value of | Will return a value of 100 000 if the amount of cash assets invested in portfolio securities on the moment of strategy calculation is 100 000 units of the selected currency (e.g. there are three open positions: 50 000 long, 20 000 long and 30 000 short). | ||
[[Category:Portfolio | |||
[[Category:Portfolio Trading]] |