Skip to content

3. Symbols & Quotes — Overview

Everything about instruments and prices: the symbol list, Market Watch select, bulk contract params, latest ticks, bar history, and the server timezone.

Mostly read-only (except SymbolSelect). On mt4_term_api.MarketInfo, AccountHelper (params / tick value) and ServerTimezone.


Methods in this group

Method Returns One-liner
Quote(ctx, symbol) *pb.QuoteData Latest tick (bid/ask + session high/low).
QuoteMany(ctx, symbols) *pb.QuoteManyData Latest ticks for several symbols.
QuoteHistory(ctx, symbol, tf, from, to) *pb.QuoteHistoryData OHLC bars for a symbol/timeframe range.
Symbols(ctx) *pb.SymbolsData Every symbol name the terminal knows.
SymbolSelect(ctx, symbol, selected) bool Add / remove a symbol in Market Watch.
SymbolParams(ctx, symbol) *pb.SymbolParamsManyInfo Full contract params for one symbol.
SymbolParamsMany(ctx, symbols) *pb.SymbolParamsManyData Contract params for several symbols.
TickValueWithSize(ctx, symbols) *pb.TickValueWithSizeData Tick value / size / contract size.
ServerTimezone(ctx) *pb.ServerTimezoneData The broker server's UTC offset.

Back to: MT4Account — Overview