Skip to content

Symbol Property

Summary

Represents the current symbol provides access to its properties and certain methods

Signature

1
public Symbol Symbol {get;}

Return Value

Symbol

Declaring Type

cAlgo.API.Internals.Algo

Examples

1
2
3
4
5
6
 var ask = Symbol.Ask;
 var bid = Symbol.Bid;
 var digits = Symbol.Digits;
 var pip = Symbol.PipSize;
 var maxVolume = Symbol.VolumeMax;
 var minVolume = Symbol.VolumeMin;
1
 ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "myLabel", 10, 10);  
1
 volume = Symbol.NormalizeVolume(volume, RoundingMode.Down);

Last update: December 8, 2022

Comments