Struct ProfitLossValue
Assembly: tt-net-api.dll
Syntax
public struct ProfitLossValue
Constructors
ProfitLossValue(decimal, decimal, decimal)
Declaration
public ProfitLossValue(decimal asNativeCurrency, decimal asPrimaryCurrency, decimal asQuantityTimesPrice)
Parameters
ProfitLossValue(decimal, decimal, decimal, decimal, bool, bool, bool, bool)
Declaration
public ProfitLossValue(decimal asNativeCurrency, decimal asPrimaryCurrency, decimal asQuantityTimesPrice, decimal asTicks, bool supportsAsNativeCurrency, bool supportsAsPrimaryCurrency, bool supportsAsQuantityTimesPrice, bool supportsAsTicks)
Parameters
Type |
Name |
Description |
decimal |
asNativeCurrency |
|
decimal |
asPrimaryCurrency |
|
decimal |
asQuantityTimesPrice |
|
decimal |
asTicks |
|
bool |
supportsAsNativeCurrency |
|
bool |
supportsAsPrimaryCurrency |
|
bool |
supportsAsQuantityTimesPrice |
|
bool |
supportsAsTicks |
|
Fields
InvalidValue
Declaration
public static readonly ProfitLossValue InvalidValue
Field Value
Properties
AsNativeCurrency
Declaration
public decimal AsNativeCurrency { get; }
Property Value
AsPrimaryCurrency
Declaration
public decimal AsPrimaryCurrency { get; }
Property Value
AsQuantityTimesPrice
Declaration
public decimal AsQuantityTimesPrice { get; }
Property Value
AsTicks
Declaration
public decimal AsTicks { get; }
Property Value
SupportsAsNativeCurrency
Declaration
public bool SupportsAsNativeCurrency { get; }
Property Value
SupportsAsPrimaryCurrency
Declaration
public bool SupportsAsPrimaryCurrency { get; }
Property Value
SupportsAsQuantityTimesPrice
Declaration
public bool SupportsAsQuantityTimesPrice { get; }
Property Value
SupportsAsTicks
Declaration
public bool SupportsAsTicks { get; }
Property Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Overrides