API v2 (current) · MT4 · 15 operations ·
base URL https://cloud.mywebapi.com ·
OpenAPI v2 (JSON) ·
Redoc
Every call needs Authorization: Bearer $TOKEN — an OAuth 2.0 client-credentials token (scope
webapi). The token server belongs to the environment: for the Sandbox call
https://pre.mywebapi.com and take the token from
https://pre.auth.cplugin.net/connect/token; for Production take it from
https://auth.cplugin.net/connect/token. Clients and tokens of the two are separate — a token
from one answers 401 on the other.
$TRADE_PLATFORM_ID is the id of a trade platform registered in Toolbox.
A failed operation is also answered with HTTP 200: check error before using
data. Access and transport failures use HTTP codes — see
Errors.
Cached read — Bid/Ask/High/Low/Spread/Digits and last-tick time
for the requested instrument. Answers error.code = NotFound
when the symbol is not loaded on the connected server.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
query
string
no
Symbol name (e.g. EURUSD)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
Snapshot of all symbols that have been updated since the last refresh of the cached copy, keyed by symbol name (values-only on the wire).
Cached read — instant local lookup, no MT4 round-trip. Useful for
bulk refresh of a quote panel or watchlist. Sort key is the symbol
name; cursors are opaque base64 strings.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
limit
query
integer (int32)
no
Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor
query
string
no
Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
Every symbol configured on the MT4 server, read through the live
connection and mapped to the same configuration shape as
CfgRequestSymbol.
Uses the live connection object rather than the request
manager, so it works while the platform is streamed by this instance.
The data itself is a full server-side read — typical platforms have
dozens to hundreds of symbols with 50+ fields each.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
GET /api/v2/MT4/{tradePlatform}/SymbolsGetAll/{symbol}
Single symbol configuration by name, read through the live
connection. Same shape as one element of SymbolsGetAll.
Returns NotFound envelope when no symbol with the given name is
configured on the server. Symbol names are case-sensitive.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
path
string
yes
Symbol name (max 12 chars, e.g. EURUSD)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
Full server-side configuration for every symbol on the platform.
Asks the trade server directly. Heavy response — typical platforms have dozens
to hundreds of symbols, each with a 50+ field ConSymbol
structure. Pair with Idempotency-Key on retry.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbol/{symbol}
Full server-side configuration for a single symbol by name.
Asks the trade server directly. Returns NotFound envelope when the symbol is
not configured on the server. Same shape as CfgRequestSymbol's
list element.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
path
string
yes
Symbol name (max 12 chars)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbolGroup
Configured security (symbol) groups — the set that
CfgUpdateSymbolGroup edits by position. The server's
configuration store is read directly, so the answer reflects a
just-saved change.
Each entry carries only the group name and description. The response
order is the platform's own list order and is what the position-based
mutator expects.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
GET /api/v2/MT4/{tradePlatform}/SymbolSessionsGet/{symbol}
Trading session windows for a symbol, per weekday.
Returns the platform's ConSymbol.Sessions[7] array (one entry
per weekday, 0=Sunday). Each weekday entry carries up to three Quote
(price) windows and up to three Trade (order acceptance) windows
plus overnight flags. CfgRequestSymbol leaves the sessions out
to keep its response compact; this endpoint returns them.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
path
string
yes
Symbol name (max 12 chars)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
POST /api/v2/MT4/{tradePlatform}/CfgUpdateSymbol/{symbol}
Update a symbol's full configuration — with secret-preservation read.
The symbol counterpart of the account and group patches. Same flow as
UserRecordUpdate and CfgUpdateGroup: read the existing
ConSymbol from MT4 server, overlay the
MT4SymbolConfigUpdate request over it, write the merged structure
back. Preserves the Sessions nested array, reserved/unused
padding, and server-derived fields (Count, CountOriginal,
FilterCounter, Point, Multiply, tick-value pair)
Those are not changed by this call.
Idempotency-Key strongly recommended.
Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
path
string
yes
Symbol name (path parameter, max 12 chars, immutable identity)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
Request body
MT4SymbolConfigUpdate (application/json) — Replacement fields. Omitted fields are preserved server-side.
Partial update of a symbol configuration: only the fields you send change. The current configuration is read from the trade server, the patch is applied, and the result is written back. A patch must carry at least one known field; unknown keys, values of the wrong type and undeclared enum values are Validation errors, an explicit null clears a string field (and is refused elsewhere), and string values are checked against the platform's fixed buffers.
Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
path
string
yes
Symbol name (immutable identity)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
Request body
object (application/json, required) — JSON Merge Patch: an object with only the fields to change.
POST /api/v2/MT4/{tradePlatform}/SymbolAdd/{symbol}
Add a symbol to the platform's active set.
Promotes a configured symbol into the platform's live
set so it starts receiving ticks and accepting orders. Reversible via
SymbolHide. The call changes server state, so it is a POST and
is safe to retry only with an Idempotency-Key.
Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
path
string
yes
Symbol name (max 12 chars)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/SymbolAdd/$SYMBOL" \
-H "Authorization: Bearer $TOKEN"
Hide symbol
POST /api/v2/MT4/{tradePlatform}/SymbolHide/{symbol}
Hide a symbol from the platform's active set.
Removes the symbol from the active subscription set; ticks stop flowing
and orders are no longer accepted for that symbol. Reversible via
SymbolAdd.
Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
path
string
yes
Symbol name (max 12 chars)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/SymbolHide/$SYMBOL" \
-H "Authorization: Bearer $TOKEN"
Refresh symbol catalog
POST /api/v2/MT4/{tradePlatform}/SymbolsRefresh
Reload the platform's symbol catalog from the MT4 server.
Useful after administrative tooling has added or edited symbols on the
trade server itself. The call changes the platform's local state, so it
is a POST.
Timeout: 60 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 60 s (server maintenance). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/SymbolsRefresh" \
-H "Authorization: Bearer $TOKEN"
Change symbol attributes
POST /api/v2/MT4/{tradePlatform}/SymbolChange
Adjusts the per-symbol trading attributes that dealers manage from the MT4 Manager UI — spread, stops-level, smoothing, quote color, execution mode.
Maps 1:1 to the platform's SymbolChange
call which marshals an entire SymbolProperties struct down
to the platform server. Only the seven editable fields are exposed
on the v2 contract; the reserved fields are sent as zeros.
Every attribute except symbol is optional: the current symbol
configuration is read from the trade server first and an attribute the
body leaves out keeps its current value. A body with only symbol
changes nothing and is refused with a validation error.
This is intentionally separate from the heavier CfgUpdateSymbol
: SymbolChange is the dealer-tier adjustment
path; CfgUpdateSymbol changes structural symbol configuration
(currency, calc mode, margin, swap) that requires admin privileges
and broker-side coordination.
Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
Injects a synthetic tick into the MT4 server for the given symbol — used to keep the feed alive on instruments where the upstream datafeed is paused, or to drive simulator tooling.
The platform requires the manager account to hold
the Market Watch permission; without it the server typically
drops the connection rather than returning an error. The API-side
ResourceAccessAuthorize on this endpoint guards against API
callers without the appropriate platform-level permission, but
broker-side mis-configuration of the underlying manager rights
remains the consumer's responsibility.
bid and ask are absolute prices, not deltas. Pass
the symbol's last-known bid/ask if you only need to refresh the
timestamp; pass adjusted prices to actually move the quote.
Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.
Parameters
Name
In
Type
Required
Description
tradePlatform
path
string (uuid)
yes
Trade platform id (GUID)
symbol
query
string
no
Symbol name (max 11 chars)
bid
query
number (double)
no
Bid price
ask
query
number (double)
no
Ask price
X-Request-Timeout
header
number (double)
no
How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.
curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/SymbolSendTick" \
-H "Authorization: Bearer $TOKEN"
Schemas
Types the operations above take and return, with their first-level properties; * marks a required one. The full graph is in the OpenAPI specification.
MT4SymbolInfoApiResponse
Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.
v2 record describing a single symbol's market data and metadata as held in the platform's cached copy. Curated subset of the platform's SymbolInfo: covers what clients monitoring tick feeds / building a quote panel actually need — current Bid/Ask, session High/Low, tick precision (Digits, Point), current Spread (in points), last-tick direction, and the last-tick timestamp. Internal bookkeeping (Count, UpdateFlag, Visible, SpreadBalance, Commission, CommType) is intentionally omitted: those are cache mechanics or broker-side commission config that don't belong on a real-time market-data wire.
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
MT4SymbolInfoListApiResponse
Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
MT4SymbolConfigListApiResponse
Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
MT4SymbolConfigApiResponse
Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.
v2 record for a symbol's full server-side configuration. Curated from ConSymbol; drops reserved / unused arrays and the nested Sessions table (planned as its own endpoint). Seven platform enum fields (TradeMode, ProfitCalculationMode, SymbolExecMode, SwapType, GTCMode, MarginCalculationMode) are returned as their names.
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
MT4SymbolGroupListApiResponse
Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
MT4SymbolDaySessionsListApiResponse
Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
MT4SymbolConfigUpdate
input for CfgUpdateSymbol. Same field set as the read record MT4SymbolConfig minus: * Symbol (path parameter, immutable identity); * Count, CountOriginal, FilterCounter — server-side counters, derived; * Enum fields are submitted as their names. Every member is optional: a member left out of the body is not written, so the value read from the trade server survives. Only the members that are present are applied (see M:MT4SymbolConfigUpdateMapper.ApplyTo(MT4SymbolConfigUpdate,ConSymbol)). At least one member must be present, an empty body is refused. An undeclared enum value is refused instead of being written, and a string that does not fit the platform's fixed buffer is refused with its field name instead of being cut. Fields preserved by the server-side read step (NOT on this record): * Symbol identity. * Sessions nested array (own endpoint planned). * Unused, ExternalUnused, ProfitReserved, FilterReserved reserved arrays. * Count, CountOriginal, FilterCounter, BidTickValue, AskTickValue, Point, Multiply — server-derived from other fields, writing them is a no-op or overwrite-with-stale.
Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
MT4SymbolChangeRequest
POST body for the SymbolChange endpoint, which asks the trade server directly. Maps 1:1 to the the platform's SymbolProperties struct (the public properties, not the underscore-prefixed backing fields). The struct's 8-int Reserved padding is dropped from the v2 contract. Every attribute except Symbol is optional: an attribute left out of the body keeps the value the trade server currently holds for the symbol. Only the attributes that are present are applied. Use cases: dealers and exchange operators adjusting per-symbol spread, stops level, smoothing, or quote-color metadata without touching the broader symbol configuration. Heavier write operations (currency, calc mode, margin, swap) live on the separate CfgUpdateSymbol
Property
Type
Description
symbol
string, nullable
Symbol name (max 12 chars — the platform's fixed slot)
color
integer (int32), nullable
Quote display color (raw int; broker UI convention)
spread
integer (int32), nullable
Spread (in points; 0 = market spread)
spreadBalance
integer (int32), nullable
Spread imbalance offset (in points)
stopsLevel
integer (int32), nullable
Minimum allowed stops distance from market (in points)
Order execution mode (Request/Instant/Market/Exchange)
MT4SymbolInfo
v2 record describing a single symbol's market data and metadata as held in the platform's cached copy. Curated subset of the platform's SymbolInfo: covers what clients monitoring tick feeds / building a quote panel actually need — current Bid/Ask, session High/Low, tick precision (Digits, Point), current Spread (in points), last-tick direction, and the last-tick timestamp. Internal bookkeeping (Count, UpdateFlag, Visible, SpreadBalance, Commission, CommType) is intentionally omitted: those are cache mechanics or broker-side commission config that don't belong on a real-time market-data wire.
Property
Type
Description
symbol
string, nullable
Symbol name (e.g. "EURUSD")
digits
integer (int32)
Number of digits after decimal point for prices on this symbol
type
integer (int32)
Security group index this symbol belongs to (refers to ConGroupSec)
point
number (double)
Point size (e.g. 0.00001 for 5-digit FX); price increment per point
spread
integer (int32)
Current spread, in points
direction
SymbolPriceDirection
Direction of the last tick (Up/Down/Flat) — useful for UI flash highlights
bid
number (double)
Current bid price
ask
number (double)
Current ask price
high
number (double)
Session high price
low
number (double)
Session low price
lastTime
string (date-time), nullable
Timestamp of the last tick; null when the live connection has not yet observed a tick for this symbol since connect.
ApiError
v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
Property
Type
Description
code
WebApiErrorCode
Stable transport-level error code.
managerCode
ResultCode
Raw MT4 result code when ApiError.Code is MT4Error; null otherwise. On MT5 the result name is in ApiError.Message.
message
string, nullable
Human-readable error description.
ApiMeta
Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.
Property
Type
Description
activityId
string, nullable
W3C trace id of the request. Quote it when you contact support: it finds this exact call in the server logs.
paging
PagingMeta
Pagination info; present only on list responses, omitted otherwise.
MT4SymbolConfig
v2 record for a symbol's full server-side configuration. Curated from ConSymbol; drops reserved / unused arrays and the nested Sessions table (planned as its own endpoint). Seven platform enum fields (TradeMode, ProfitCalculationMode, SymbolExecMode, SwapType, GTCMode, MarginCalculationMode) are returned as their names.
Property
Type
Description
symbol
string, nullable
Symbol name (max 12 chars)
description
string, nullable
Human-readable description
source
string, nullable
Data feed source identifier
currency
string, nullable
Quote currency code
type
integer (int32)
Symbol type identifier
digits
integer (int32)
Number of decimal digits in the quote
tradeMode
string, nullable
Trading mode (Disabled / CloseOnly / Full)
backgroundColor
integer (int32)
Background colour for terminal client (BGR int)
count
integer (int32)
Tick counter for the symbol (computed)
countOriginal
integer (int32)
Original tick counter (computed)
realtime
integer (int32)
0 = synthetic, non-zero = real-time feed
starting
string (date-time)
Symbol activation date (UTC)
expiration
string (date-time)
Symbol expiration date (UTC)
profitCalculationMode
string, nullable
Profit calculation mode (Forex / CFD / Futures)
filter
integer (int32)
Tick filter type
filterCounter
integer (int32)
Tick filter counter (computed)
filterLimit
number (double)
Tick filter price-change limit
filterSmoothing
integer (int32)
Tick filter smoothing factor
logging
integer (int32)
0 = no logging, non-zero = log price changes
spread
integer (int32)
Spread in points (0 = floating)
spreadBalance
integer (int32)
Spread balance correction
symbolExecMode
string, nullable
Symbol execution mode
swapEnable
integer (int32)
0 = swaps disabled, non-zero = enabled
swapType
string, nullable
Swap type (Points / SymbolBase / SymbolMargin / CurrencyMargin)
swapLong
number (double)
Swap value for long positions
swapShort
number (double)
Swap value for short positions
swapRollover3Days
integer (int32)
Day of week (1-7) when 3-day rollover applies
contractSize
number (double)
Contract size
tickValue
number (double)
Tick value in deposit currency
tickSize
number (double)
Tick size
stopsLevel
integer (int32)
Minimum distance to current price for SL/TP (points)
Max instant-execution volume (lots, 0 = unlimited)
marginCurrency
string, nullable
Margin currency for non-deposit-currency symbols
freezeLevel
integer (int32)
Freeze level (points before expiration to freeze trading)
marginHedgedStrong
integer (int32)
Strong hedge margin per lot
valueDate
string (date-time)
Value date (UTC)
quotesDelay
integer (int32)
Quotes delay in seconds (0 = real time)
swapOpenPrice
integer (int32)
0 = standard, non-zero = use open price for swaps
swapVariationMargin
integer (int32)
0 = swap, non-zero = variation margin
MT4SymbolGroup
v2 record describing a single MT4 symbol group (security category). Mirrors the platform's ConSymbolGroup — which only carries Name and Description as fixed-size ANSI fields. There is no ProfitCurrency on the MT4-side group struct (that lives on per-symbol settings, not on the group level), so the record faithfully exposes only what exists.
Property
Type
Description
name
string, nullable
Group name (e.g. "Forex", "CFD", "Metals")
description
string, nullable
Human-readable description of the group
MT4SymbolDaySessions
v2 record bundling the Quote and Trade sessions for one weekday on a symbol. DayOfWeek follows the .NET convention: 0=Sunday, 1=Monday, ..., 6=Saturday.
Property
Type
Description
dayOfWeek
integer (int32)
Day of week: 0=Sunday ... 6=Saturday (.NET DayOfWeek numeric)
quoteOvernight
integer (int32)
Whether quote sessions roll over midnight
tradeOvernight
integer (int32)
Whether trade sessions roll over midnight
quote
MT4SymbolSession[]
Up to three quote (price) session windows for the day
trade
MT4SymbolSession[]
Up to three trade (order acceptance) session windows for the day