Class Asset
public class Asset : BusinessObject
Properties
Declaration
public string Description { get; }
Property Value
Declaration
public string Id { get; }
Property Value
Declaration
public string IsoCode { get; }
Property Value
Defines a number precision of the change value
Declaration
public double MinimumChange { get; set; }
Property Value
Declaration
public string Name { get; }
Property Value
Declaration
public int Precision { get; }
Property Value
Methods
Formats price into precision normalized string
Declaration
public string FormatPrice(double price)
Parameters
Type |
Name |
Description |
double |
price |
|
Returns
Formats price into concatenated string which contains the precision normalized value and Asset's name
Declaration
public string FormatPriceWithCurrency(double price)
Parameters
Type |
Name |
Description |
double |
price |
|
Returns
Declaration
public string FormatWithCurrency(double value)
Parameters
Type |
Name |
Description |
double |
value |
|
Returns