SymbolSentiment
Summary
Represents a symbol sentiment.
Signature
| public abstract interface SymbolSentiment
|
Namespace
cAlgo.API
Examples
| using cAlgo.API;
namespace cAlgo.Robots;
[Robot(AccessRights = AccessRights.None)]
public class TestExample : Robot
{
protected override void OnStart()
{
Print($"Symbol {SymbolName} traders sentiment Buy Percentage: {Symbol.Sentiment.BuyPercentage} and Sell Percentage: {Symbol.Sentiment.SellPercentage}");
}
}
|
See Also
Properties
BuyPercentage
Summary
Gets buy percentage if available otherwise 0.
Signature
| public abstract double BuyPercentage {get;}
|
Return Value
double
SellPercentage
Summary
Gets sell percentage if available otherwise 0.
Signature
| public abstract double SellPercentage {get;}
|
Return Value
double
Events
Updated
Summary
Occurs when symbol sentiment data is updated.
Signature
| public abstract event Action<SymbolSentimentUpdatedEventArgs> Updated;
|