NewOrderDialog.SymbolName
property · NewOrderDialog · cAlgo.API Since 5.2
DesktopCLICloud
Gets or sets the SymbolName.
Environment behaviour
CLI — not supported. No dialog can be shown in the CLI: ShowDialog returns without showing anything and the order settings are only stored.
Cloud — not supported. No dialog can be shown in the cloud: ShowDialog returns without showing anything and the order settings are only stored.
Definition
public string SymbolName {get; set;}
newOrderDialog.SymbolName: str
Returns string
Examples
var newOrderDialog = new NewOrderDialog { SymbolName = "GBPUSD" };
newOrderDialog.ShowDialog();
newOrderDialog = NewOrderDialog()
newOrderDialog.SymbolName = "GBPUSD"
newOrderDialog.ShowDialog()