Skip to content

Symbol.Spread

property · Symbol · cAlgo.API.Internals

DesktopCLICloud

Gets the current spread of this symbol.

Definition

double Spread {get;}
api.Symbol.Spread: float

Returns double

Examples

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