Class SymGroup
- Namespace
- ViiSync.AccountApi
- Assembly
- ViiSync.AccountApi.dll
Per-symbol trade settings (MT5 SymGroup). In ViiSync these are fields of the symbol itself; this view
presents them in MT5's shape. Volumes: *Volume in MT5 units (1e-8 lot), *Lots in lots.
public sealed class SymGroup
- Inheritance
-
SymGroup
- Inherited Members
Properties
- CommissionPerLot
ViiSync extra: configured commission per lot. 0 = the engine default; negative = no commission.
- DeviationRate
Allowed price deviation in points: the larger of the symbol's max profit and max losing deviation.
- EnableSwaps
ViiSync extra: true when swaps are enabled for the symbol.
- Expiration
Allowed pending-order expiration modes.
- FillPolicy
Allowed filling policies.
- FreezeLevel
ViiSync extra: freeze level in points.
- GroupName
Symbol path (ViiSync's symbol tree) — MT5's symbol group name.
- HedgedMargin
Hedged margin per lot (the margin of a fully hedged pair).
- HedgedUseLargerLeg
ViiSync extra: true when a hedged pair is margined on its larger leg.
- InitMarginRate
Initial margin rate per order type (index = OrderType 0..7). ViiSync has one rate for all.
- InitialMargin
Initial margin per lot, when configured (0 = computed from the contract size and leverage).
- LotsStep
Volume step, lots.
- MaintenanceMargin
Maintenance margin per lot, when configured.
- MaxLots
Maximum volume, lots.
- MaxVolume
Maximum volume, MT5 units (1e-8 lot).
- MinLots
Minimum volume, lots.
- MinVolume
Minimum volume, MT5 units (1e-8 lot).
- MntnMarginRate
Maintenance margin rate per order type (index = OrderType 0..7). ViiSync has one rate for all.
- OrderFlags
Allowed order kinds as MT5 SYMBOL_ORDER_MODE flags (1 market, 2 limit, 4 stop, 8 stop-limit, 16 SL, 32 TP, 64 close-by).
- PriceTimeout
The symbol's max time deviation setting.
- RequestLots
The symbol's max volume before request, lots.
- RequoteTimeout
The symbol's max time deviation setting (same value as PriceTimeout).
- SL
Stops level (points) for SL.
- SwapDaysInYear
ViiSync extra: day count used by percentage swap modes.
- SwapRates
Per-weekday swap multipliers, Sunday..Saturday (MT5 default 0,1,1,3,1,1,0) — what the engine charges with VIISYNC_SWAPS=1.
- SwapType
Swap calculation mode; SwapNone when swaps are disabled for the symbol.
- TP
Stops level (points) for TP.
- ThreeDaysSwap
SYMBOL_SWAP_ROLLOVER3DAYS — derived from SwapRates (the weekday charged 3 days).
- TradeMode
Trade permission.
- TradeType
Execution mode.
- VolumeStep
Volume step, MT5 units (1e-8 lot).
Methods
- CopyValues(SymGroup)
Copy every value from
grp.