Table of Contents

Class Symbols

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

The account's symbol catalog (MT5 Symbols), kept current from the engine's symbol pushes.

public sealed class Symbols
Inheritance
Symbols
Inherited Members

Properties

Base

Account-wide settings (company, currency, accounting mode).

Comissions

Commission definitions of every symbol.

GroupNames

Distinct symbol paths (MT5 group names), sorted.

Groups

Trade settings by symbol name.

Infos

Specifications by symbol name.

InfosById

Specifications by server symbol id.

Names

Every symbol name, sorted.

Sessions

Sessions by symbol name.

SymGroups

Trade settings of every symbol.

Methods

Exist(string)

True when the symbol is in the catalog (case-insensitive).

ExistStartsWith(string)

The first catalog name starting with symbol (e.g. to find a suffixed name), or null.

GetComission(string)

The symbol's commission definition, or null.

GetGroup(string)

Trade settings of a symbol; throws InvalidSymbolException when unknown.

GetGroupByName(string)

The first symbol whose trade-settings group (path) is groupName.

GetInfo(int)

Spec by id; throws InvalidSymbolException when unknown.

GetInfo(string)

Spec by name; throws InvalidSymbolException when unknown (MT5 behaviour).