Asset
Summary
The asset represents a currency.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
1 2 3 4 5 6 7 8 9 10 11 | |
See Also
Methods
Convert (2)
Convert (1 of 2)
Summary
Converts value to another asset.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| to | Asset | Target asset |
| value | double | The value you want to convert from current Asset |
Return Value
double
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
See Also
Related Tutorials
Convert (2 of 2)
Summary
Converts value to another asset.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| to | string | Target asset |
| value | double | The value you want to convert from current Asset |
Return Value
double
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
See Also
Related Tutorials
Properties
Name
Summary
The asset Name
Signature
1 | |
Return Value
string
Digits
Summary
Number of asset digits
Signature
1 | |
Return Value
int