676
edits
mNo edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
== Notes == | == Notes == | ||
* This function can only be used in signals intended to be used with the | * This function can only be used in signals intended to be used with the Portfolio Trader. | ||
* The absolute margin value is returned in the currency specified in Portfolio Trader: '''Portfolio Settings -> Base Currency.''' | |||
== Examples == | == Examples == | ||
<syntaxhighlight>Portfolio_GetMarginPerContract</syntaxhighlight> | <syntaxhighlight>Portfolio_GetMarginPerContract</syntaxhighlight> | ||
Line 18: | Line 19: | ||
<syntaxhighlight>Portfolio_GetMarginPerContract</syntaxhighlight> | <syntaxhighlight>Portfolio_GetMarginPerContract</syntaxhighlight> | ||
Will return a value of -10 if the Margin Value option is selected and the % of contract cost box contains the value of 10. | Will return a value of -10 if the Margin Value option is selected and the % of contract cost box contains the value of 10. | ||
[[Category:Portfolio Strategy Properties]] | [[Category:Portfolio Strategy Properties]] |