RobotAttribute.DefaultSymbolName
property · RobotAttribute · cAlgo.API
DesktopCLICloud
Not used. cTrader applies no default symbol to a cBot: a new instance runs on the symbol it is added with, which the cBot reads from SymbolName.
Definition
public string DefaultSymbolName {get; set;}
robotAttribute.DefaultSymbolName: str
Returns string
Examples
protected override void OnStart()
{
Print("Instance symbol: {0}", SymbolName);
}
def on_start(self):
api.Print(f"Instance symbol: {api.SymbolName}")