Skip to content

Symbol.Digits

property · Symbol · cAlgo.API.Internals

DesktopCLICloud

Gets the number of digits for the symbol.

Definition

int Digits {get;}
api.Symbol.Digits: int

Returns int

Examples

protected override void OnTick()
{
    Print("The number of Digits the current symbol  has is: {0}", Symbol.Digits);
}
def on_tick(self):
    print(f"The number of Digits the current symbol  has is: {api.Symbol.Digits}")