Assets.Item
property · Assets · cAlgo.API
DesktopCLICloud
Gets the desired asset.
Definition
string Item {get;}
api.Assets[index: int] -> str
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
index | int | int | Asset index |
Returns string
Examples
if (Assets.Count > 0)
Print("First asset name: {0}", Assets[0]);
if api.Assets.Count > 0:
api.Print(f"First asset name: {api.Assets[0]}")