Skip to content

SymbolSentiment.SellPercentage

property · SymbolSentiment · cAlgo.API Since 5.3

DesktopCLICloud

Gets sell percentage if available otherwise 0.

Environment behaviour

Cloud — not supported. Reading BuyPercentage/SellPercentage or subscribing Updated blocks the cBot up to 1 minute, then fails with a wait-timeout error.

Definition

double SellPercentage {get;}
symbolSentiment.SellPercentage: float

Returns double

Examples

Print("Sell percentage for {0}: {1}%", SymbolName, Symbol.Sentiment.SellPercentage);
api.Print(f"Sell percentage for {api.SymbolName}: {api.Symbol.Sentiment.SellPercentage}%")