Indicates how profit should be calculated for positions for a given symbol.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
bool SubjectToCurrencyRisk(
	Symbol symbol
)
Visual Basic
Function SubjectToCurrencyRisk ( 
	symbol As Symbol
) As Boolean
Visual C++
bool SubjectToCurrencyRisk(
	Symbol^ symbol
)
F#
abstract SubjectToCurrencyRisk : 
        symbol : Symbol -> bool 

Parameters

symbol
Type: RightEdge.Common..::..Symbol
A symbol

Return Value

Type: Boolean
Whether positions for the symbol should be subject to currency risk. If true, the profit should be (priceAtExit * exchangeRateAtExit) - (priceAtEntry * exchangeRateAtEntry). If false, the profit should be (priceAtExit - priceAtEntry) * exchangeRateAtExit.

See Also