# CPlugin WebAPI > CPlugin WebAPI is a hosted REST JSON and SignalR (WebSocket) API over the MetaTrader 4 (MT4) and MetaTrader 5 (MT5) Manager API. A broker's application manages accounts, trades, groups and symbols on its MT4 and MT5 servers from any language that speaks HTTP, and receives quotes, margin and trade events in realtime. - Publisher: CPlugin (CPlugin Labs LP), https://cplugin.com — contact: info@cplugin.com - Website: https://mywebapi.com - Platforms: MetaTrader 4 and MetaTrader 5 trade servers. WebAPI connects to the trade server with a regular manager account, the same way the MetaTrader Manager terminal does; no server plugin is required. The server and the manager credentials are registered once in Toolbox. - Authentication: OAuth 2.0 client credentials. Exchange the client id and secret at https://auth.cplugin.net/connect/token (grant_type=client_credentials, scope=webapi) for a bearer token and send it as `Authorization: Bearer `. Realtime connections pass the same token in the `signalr_token` query parameter. The SDKs obtain, cache and refresh the token themselves. - Errors in v2: every call that reaches an operation answers HTTP 200 with the envelope `{ data, error, meta }` (except a reused `Idempotency-Key` with other parameters, which answers 422). On success `error` is null; on failure `data` is null and `error.code` says why (Validation, NoConnect, MT4Error, MT5Error, NotFound, Timeout, OutcomeUnknown, Busy, Internal), with the platform result code in `error.managerCode` on MT4 or in `error.message` on MT5. Transport failures use real codes: 401 for a missing, expired or foreign token, 403 when the API client lacks the permission, 404 for an unknown path, 400 when the request cannot be read, 422 when an `Idempotency-Key` is reused with a different query string or body, 500 for an unexpected failure, 502/503/504 from the proxy. A `Busy` refusal of an isolated platform carries a `Retry-After` header in seconds. - Errors in v1: HTTP codes instead. 504 with `X-Request-Outcome: timeout` (a read did not answer, safe to repeat) or `unknown` (a trade may still be applied); 503 with `not-started` (nothing was sent: too many calls wait for the platform, or the idempotency key could not be recorded) or when the platform is unavailable or isolated — an isolated platform answers at once with `Retry-After` in seconds; 409 with `in-progress` (the same Idempotency-Key is still running); 400 for an invalid X-Request-Timeout. - Permissions: granted to the API client in Toolbox per resource (accounts, orders and deals, symbols, groups, settings, sensitive settings) and action (Create, Request, Update, Delete); a call without the grant answers HTTP 403. Grants are written into the token at issue, so request a new token after changing them. - Production: REST base URL https://cloud.mywebapi.com, token server https://auth.cplugin.net, management portal https://toolbox.cplugin.com. Multi-region cloud. - Sandbox: REST base URL https://pre.mywebapi.com, token server https://pre.auth.cplugin.net, management portal https://pre.toolbox.cplugin.com. Same API surface and OAuth flow as Production, but its own API clients and its own tokens: a token issued by one environment is refused with 401 by the other. Free, no SLA, may be reset without notice — for integration testing. - API v2 (current): 442 operations — MT4 162, MT5 280. Paths `/api/v2/…`. - API v1 (legacy): 101 operations — General 4, MT4 42, MT5 55. Paths `/api/MT4/…, /api/MT5/…`. - Versions run side by side on the same hosts with the same token, so an integration can move from v1 to v2 one call at a time. Each platform connection keeps a cached copy of the trade server state that it refreshes continuously, so `…Get` calls are cached reads and `…Request` calls are live. v2 is the current version with the larger surface (442 operations on the main host and 13 on the companion host, against 101 in v1); v1 is legacy — still served, with its REST routes, parameters and response shapes unchanged and no deprecation date, while the deliberate changes to its realtime hubs (a connection ending with its token, subscription limits, case-insensitive symbol names, the 25-second `Connect` wait, per-subscription tick batches, MT5 enum values arriving as names and the removal of events the hub never sent) are listed in the changelog; every SDK is built on v2. - Realtime: SignalR hubs /hubs/mt4/v1, /hubs/mt4/v2, /hubs/mt5/v1 and /hubs/mt5/v2, all of them delivering live ticks. On the v2 hubs the trade platform is bound when you connect (`?tradePlatform=`); on the v1 hubs it is the argument of each call. On the MT5 v2 hub both tick models are available: `SubscribeToTicks(symbol)` with the `OnTick` event, and the `StreamTicks(symbol?)` stream. All four hubs also carry margin call updates. A connection may hold at most 500 symbol subscriptions; symbol names are matched case-insensitively and a name longer than 64 characters is refused. Ticks can also be received in batches: subscribe with `SubscribeToTicksBatch({ tradePlatform, symbol, intervalMs?, maxBatchSize? })` on the v1 hubs or `SubscribeToTicksBatch(symbol, intervalMs?, maxBatchSize?)` on the v2 hubs, and the server sends the ticks of one symbol as one array in the `OnTicksBatch` event — `{ tradePlatform, symbol, ticks }` on v1 and `{ symbol, ticks }` on v2. Each subscription follows its own interval and batch size; a batch goes out when its oldest tick has waited `intervalMs` (checked about every 50 ms), or at once at `maxBatchSize`, with 200 ms and 200 ticks as the defaults (accepted: 20 to 60000 ms and 1 to 10000 ticks); a batched subscriber gets no per-tick `OnTick`, and `UnsubscribeFromTicksBatch` takes the same arguments as the subscribe call on the v1 hubs and only the symbol on the v2 hubs. Batching is about traffic, not latency: the per-tick subscription remains the lowest-latency option. SignalR uses WebSockets and falls back to Server-Sent Events or long polling. - Deadlines and retries: every trade-platform request has a deadline, adjustable per request with the `X-Request-Timeout` header (1 to 300 seconds). A read that timed out changed nothing and is safe to repeat. A trade that timed out may still be completed by the platform: on v2 the answer is `error.code` = OutcomeUnknown (on v1, HTTP 504 with the header `X-Request-Outcome`), and repeating it with the same `Idempotency-Key` returns its real result once the platform has answered, without executing it twice. - Pricing: the Sandbox is free. Production: €49 per month for each trading platform you use in that month, which includes API and streaming usage up to that amount; usage above it is billed by volume, post-paid. A month with no calls on a platform costs nothing — no prepayment, no minimum commitment. The customer's current rates are shown on the pricing page in Toolbox: https://toolbox.cplugin.com/webapi/pricing - Deployment: a hosted cloud service, with instances in several data centres and DNS routing to the nearest one. ## Calling the API Get a token, then call any operation with it (bash, needs curl and jq): ```bash TOKEN=$(curl -s -X POST https://auth.cplugin.net/connect/token \ -d 'grant_type=client_credentials&scope=webapi' \ -d "client_id=$CPLUGIN_CLIENT_ID" \ -d "client_secret=$CPLUGIN_CLIENT_SECRET" \ | jq -r .access_token) curl -H "Authorization: Bearer $TOKEN" https://cloud.mywebapi.com/api/TradePlatforms ``` `{tradePlatform}` in a path is the id (GUID) of a trade platform registered in Toolbox; `GET /api/TradePlatforms` lists yours — that call lives in the General group of the v1 reference and serves both versions. ## SDKs Open source; each handles the OAuth token for you and works against Production or the Sandbox. - [TypeScript / JavaScript — npm `@mywebapi.com/sdk`](https://www.npmjs.com/package/@mywebapi.com/sdk): `npm i @mywebapi.com/sdk` - [Python — PyPI `mywebapi-sdk`](https://pypi.org/project/mywebapi-sdk/): `pip install mywebapi-sdk` - [.NET — NuGet `MyWebApi.Sdk`](https://www.nuget.org/packages/MyWebApi.Sdk): `dotnet add package MyWebApi.Sdk` - [PowerShell — PowerShell Gallery `MyWebApi`](https://www.powershellgallery.com/packages/MyWebApi): `Install-Module MyWebApi` ## Docs - [Guides](https://cplugin.com/docs/webapi): authentication, timeouts, idempotency, realtime - [Changelog](https://cloud.mywebapi.com/History): new endpoints and changes, newest first - [Interactive API v2 reference (Redoc)](https://cloud.mywebapi.com/redoc_v2/index.html): the same specification, rendered in the browser - [Interactive API v1 reference (Redoc)](https://cloud.mywebapi.com/redoc_v1/index.html): the same specification, rendered in the browser ## API v2 (current) — JSON-Pure WebAPI for MT4/MT5 442 operations — MT4 162, MT5 280. HTML reference: https://cloud.mywebapi.com/reference/v2/ · OpenAPI JSON: https://cloud.mywebapi.com/swagger/v2/swagger.json ### MT4 v2 :: Account passwords Reference page: https://cloud.mywebapi.com/reference/v2/mt4-account-passwords/ - `POST /api/v2/MT4/{tradePlatform}/UserPasswordCheck/{login}` — Verify account password. Parameters: login (path, integer (int32), required). Body: string. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/UserPasswordSet/{login}` — Set account password. Parameters: login (path, integer (int32), required), changeInvestor (query, boolean), cleanPubkey (query, boolean). Body: string. Returns: BooleanApiResponse ### MT4 v2 :: Backup Reference page: https://cloud.mywebapi.com/reference/v2/mt4-backup/ - `GET /api/v2/MT4/{tradePlatform}/BackupInfoUsers/{mode}` — List user backup files. Parameters: mode (path, integer (int32), required). Returns: MT4BackupInfoListApiResponse - `GET /api/v2/MT4/{tradePlatform}/BackupInfoOrders/{mode}` — List order backup files. Parameters: mode (path, integer (int32), required). Returns: MT4BackupInfoListApiResponse - `GET /api/v2/MT4/{tradePlatform}/BackupRequestUsers/{file}` — Read users from backup. Parameters: file (path, string, required), request (query, string), limit (query, integer (int32)). Returns: MT4UserListApiResponse - `GET /api/v2/MT4/{tradePlatform}/BackupRequestOrders/{file}` — Read orders from backup. Parameters: file (path, string, required), request (query, string), limit (query, integer (int32)). Returns: MT4TradeListApiResponse ### MT4 v2 :: Backup (destructive) Reference page: https://cloud.mywebapi.com/reference/v2/mt4-backup-destructive/ - `POST /api/v2/MT4/{tradePlatform}/BackupRestoreUsers` — Restore users from backup. Parameters: confirm (query, boolean). Body: MT4UserRestoreInput[]. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/BackupRestoreOrders` — Restore orders from backup. Parameters: confirm (query, boolean). Body: MT4TradeRestoreInput[]. Returns: MT4TradeRestoreResultListApiResponse ### MT4 v2 :: Common Reference page: https://cloud.mywebapi.com/reference/v2/mt4-common/ - `GET /api/v2/MT4/{tradePlatform}/ServerTime` — Get server time. Returns: DateTimeApiResponse - `GET /api/v2/MT4/{tradePlatform}/ManagerCommon` — Get server common settings. Returns: MT4CommonShortApiResponse - `GET /api/v2/MT4/{tradePlatform}/ManagerCommonEx` — Get full server common settings. Returns: MT4CommonApiResponse - `GET /api/v2/MT4/{tradePlatform}/JournalRequest` — Get server journal. Parameters: from (query, string (date-time)), to (query, string (date-time)), mode (query, EnLogType), filter (query, string). Returns: MT4ServerLogListApiResponse ### MT4 v2 :: Config Reference page: https://cloud.mywebapi.com/reference/v2/mt4-config/ - `GET /api/v2/MT4/{tradePlatform}/CfgRequestCommon` — Get common server configuration. Returns: MT4CommonApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateCommon` — Update common config. Body: MT4CommonUpdate. Returns: MT4CommonApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestHoliday` — List holiday config. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4HolidayListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestManager` — List manager configs. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4ManagerRightsListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestTime` — Get access-hour matrix. Returns: MT4ServerTimeApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateTime` — Update access-hour matrix. Body: MT4ServerTime. Returns: MT4ServerTimeApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestAccess` — List IP firewall rules. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4AccessListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestBackup` — Get backup config. Returns: MT4BackupApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateBackup` — Update backup config. Body: MT4Backup. Returns: MT4BackupApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateSync` — Update sync rule. Body: MT4Sync. Returns: MT4SyncApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateFeeder` — Update feeder config. Body: MT4Feeder. Returns: MT4FeederApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayAccount` — Update gateway account. Body: MT4GatewayAccount. Returns: MT4GatewayAccountApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayMarkup` — Update gateway markup. Body: MT4GatewayMarkup. Returns: MT4GatewayMarkupApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayRule` — Update gateway rule. Body: MT4GatewayRule. Returns: MT4GatewayRuleApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateLiveUpdate` — Update LiveUpdate config. Body: MT4LiveUpdate. Returns: MT4LiveUpdateApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateManager` — Update manager config. Body: MT4ManagerRights. Returns: MT4ManagerRightsApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateAccess` — Update IP firewall rule. Parameters: ipFrom (query, integer (int64)), ipTo (query, integer (int64)), action (query, integer (int32)). Body: MT4Access. Returns: MT4AccessApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateDataServer` — Update data-server entry. Parameters: server (query, string). Body: MT4DataServer. Returns: MT4DataServerApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateHoliday` — Update holiday entry. Parameters: year (query, integer (int32)), month (query, integer (int32)), day (query, integer (int32)), from (query, integer (int32)), symbol (query, string). Body: MT4Holiday. Returns: MT4HolidayApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateSymbolGroup` — Update symbol group. Parameters: name (query, string). Body: MT4SymbolGroup. Returns: MT4SymbolGroupApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayAccount` — List gateway accounts. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4GatewayAccountListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayMarkup` — List gateway markups. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4GatewayMarkupListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayRule` — List gateway rules. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4GatewayRuleListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestDataServer` — List data servers. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4DataServerListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestFeeder` — List feeder configs. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4FeederListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestLiveUpdate` — List LiveUpdate configs. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4LiveUpdateListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestSync` — List sync rules. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4SyncListApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteAccess` — Delete IP firewall rule. Parameters: ipFrom (query, integer (int64)), ipTo (query, integer (int64)), action (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteDataServer` — Delete data-server entry. Parameters: server (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteFeeder` — Delete feeder config. Parameters: name (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayAccount` — Delete gateway account. Parameters: id (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayMarkup` — Delete gateway markup. Parameters: source (query, string), symbol (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayRule` — Delete gateway rule. Parameters: name (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteHoliday` — Delete holiday entry. Parameters: year (query, integer (int32)), month (query, integer (int32)), day (query, integer (int32)), from (query, integer (int32)), symbol (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteLiveUpdate` — Delete LiveUpdate config. Parameters: company (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteManager` — Delete manager config. Parameters: login (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteSymbol` — Delete symbol config. Parameters: symbol (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgDeleteSync` — Delete sync rule. Parameters: server (query, string), login (query, string). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftAccess` — Reorder IP firewall rule. Parameters: ipFrom (query, integer (int64)), ipTo (query, integer (int64)), action (query, integer (int32)), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftDataServer` — Reorder data-server entry. Parameters: server (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftFeeder` — Reorder feeder config. Parameters: name (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayAccount` — Reorder gateway account. Parameters: id (query, integer (int32)), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayMarkup` — Reorder gateway markup. Parameters: source (query, string), symbol (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayRule` — Reorder gateway rule. Parameters: name (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftGroup` — Reorder trading group. Parameters: group (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftHoliday` — Reorder holiday entry. Parameters: year (query, integer (int32)), month (query, integer (int32)), day (query, integer (int32)), from (query, integer (int32)), symbol (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftLiveUpdate` — Reorder LiveUpdate config. Parameters: company (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftManager` — Reorder manager config. Parameters: login (query, integer (int32)), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftPlugin/{pos}` — Reorder plugin entry. Parameters: pos (path, integer (int32), required), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftSymbol` — Reorder symbol entry. Parameters: symbol (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgShiftSync` — Reorder sync rule. Parameters: server (query, string), login (query, string), shift (query, integer (int32)). Returns: BooleanApiResponse ### MT4 v2 :: Dealer Reference page: https://cloud.mywebapi.com/reference/v2/mt4-dealer/ - `GET /api/v2/MT4/{tradePlatform}/SummaryGet/{symbol}` — Get the summary of one symbol. Parameters: symbol (path, string, required). Returns: MT4SymbolSummaryApiResponse - `GET /api/v2/MT4/{tradePlatform}/SummaryGetAll` — Get the summary of every symbol. Returns: MT4SymbolSummaryListApiResponse - `GET /api/v2/MT4/{tradePlatform}/SummaryGetByCount/{count}` — Get the summary of a symbol by its position in the symbol list. Parameters: count (path, integer (int32), required). Returns: MT4SymbolSummaryApiResponse - `GET /api/v2/MT4/{tradePlatform}/SummaryGetByType/{secType}` — Get the summary of a symbol by its group. Parameters: secType (path, integer (int32), required). Returns: MT4SymbolSummaryApiResponse - `GET /api/v2/MT4/{tradePlatform}/SummaryCurrency` — Get the summary currency. Parameters: maxChars (query, integer (int32)). Returns: StringApiResponse - `GET /api/v2/MT4/{tradePlatform}/ExposureGet` — Get the exposure of every currency. Returns: MT4ExposureValueListApiResponse - `GET /api/v2/MT4/{tradePlatform}/ExposureValueGet/{currency}` — Get the exposure of one currency. Parameters: currency (path, string, required). Returns: MT4ExposureValueApiResponse - `POST /api/v2/MT4/{tradePlatform}/TradeCalcProfit` — Recalculate the profit of a trade. Body: MT4TradeCalcProfitRequest. Returns: DoubleApiResponse - `POST /api/v2/MT4/{tradePlatform}/LogsOut` — Write a record to the Manager API log. Body: MT4LogsOutRequest. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/LogsMode` — Set the logging mode of the Manager API connection. Body: MT4LogsModeRequest. Returns: BooleanApiResponse ### MT4 v2 :: Groups Reference page: https://cloud.mywebapi.com/reference/v2/mt4-groups/ - `GET /api/v2/MT4/{tradePlatform}/GroupsGet` — List trading groups (cached). Returns: MT4GroupListApiResponse - `GET /api/v2/MT4/{tradePlatform}/GroupRecordGet/{group}` — Get trading group (cached). Parameters: group (path, string, required). Returns: MT4GroupApiResponse - `GET /api/v2/MT4/{tradePlatform}/GroupsRequest` — List trading groups (live). Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4GroupListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestGroup` — List trading groups (live configuration). Returns: MT4GroupListApiResponse - `GET /api/v2/MT4/{tradePlatform}/GroupSecGroupsGet/{group}` — Get group security entries. Parameters: group (path, string, required). Returns: MT4GroupSecListApiResponse - `GET /api/v2/MT4/{tradePlatform}/GroupSecMarginsGet/{group}` — Get group margin overrides. Parameters: group (path, string, required). Returns: MT4GroupMarginListApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateGroup` — Update trading group. Body: MT4GroupUpdate. Returns: BooleanApiResponse - `PATCH /api/v2/MT4/{tradePlatform}/GroupRecord/{group}` — Patch trading group. Parameters: group (path, string, required). Body: object. Returns: MT4GroupApiResponse - `GET /api/v2/MT4/{tradePlatform}/EnsureGroupNameExist/{group}` — Check group exists. Parameters: group (path, string, required). Returns: BooleanApiResponse ### MT4 v2 :: History Reference page: https://cloud.mywebapi.com/reference/v2/mt4-history/ - `GET /api/v2/MT4/{tradePlatform}/TradesUserHistory/{login}` — Get account trade history. Parameters: login (path, integer (int32), required), fromTime (query, string (date-time)), toTime (query, string (date-time)). Returns: MT4TradeListApiResponse ### MT4 v2 :: Mail Reference page: https://cloud.mywebapi.com/reference/v2/mt4-mail/ - `GET /api/v2/MT4/{tradePlatform}/MailLast` — Get last mail path. Returns: StringApiResponse ### MT4 v2 :: Margins Reference page: https://cloud.mywebapi.com/reference/v2/mt4-margins/ - `GET /api/v2/MT4/{tradePlatform}/MarginsGet` — List account margins (cached). Returns: MT4MarginLevelListApiResponse - `GET /api/v2/MT4/{tradePlatform}/MarginLevelGet/{login}` — Get account margin (cached). Parameters: login (path, integer (int32), required). Returns: MT4MarginLevelApiResponse - `GET /api/v2/MT4/{tradePlatform}/MarginLevelRequest/{login}` — Get account margin (live). Parameters: login (path, integer (int32), required). Returns: MT4MarginLevelApiResponse ### MT4 v2 :: News Reference page: https://cloud.mywebapi.com/reference/v2/mt4-news/ - `GET /api/v2/MT4/{tradePlatform}/NewsTotal` — Get news count. Returns: Int32ApiResponse - `GET /api/v2/MT4/{tradePlatform}/NewsBodyGet/{key}` — Get news body (cached). Parameters: key (path, integer (int32), required). Returns: StringApiResponse - `GET /api/v2/MT4/{tradePlatform}/NewsGet` — List news headers. Returns: MT4NewsTopicListApiResponse - `GET /api/v2/MT4/{tradePlatform}/NewsTopicGet/{pos}` — Get news header by index. Parameters: pos (path, integer (int32), required). Returns: MT4NewsTopicApiResponse - `POST /api/v2/MT4/{tradePlatform}/NewsBodyRequest/{key}` — Request news body fetch. Parameters: key (path, integer (int32), required). Returns: BooleanApiResponse ### MT4 v2 :: Online Reference page: https://cloud.mywebapi.com/reference/v2/mt4-online/ - `GET /api/v2/MT4/{tradePlatform}/OnlineGet` — List online users (cached). Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4OnlineListApiResponse - `GET /api/v2/MT4/{tradePlatform}/OnlineRequest` — List online sessions (live). Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4OnlineListApiResponse ### MT4 v2 :: Plugins Reference page: https://cloud.mywebapi.com/reference/v2/mt4-plugins/ - `POST /api/v2/MT4/{tradePlatform}/ExternalCommandJSON` — Send plugin command (JSON). Body: any. Returns: JsonNodeApiResponse ### MT4 v2 :: Prices Reference page: https://cloud.mywebapi.com/reference/v2/mt4-prices/ - `GET /api/v2/MT4/{tradePlatform}/ChartRequest/{symbol}` — Get chart bars. Parameters: symbol (path, string, required), period (query, ChartPeriod), start (query, string (date-time)), end (query, string (date-time)), mode (query, RequestMode). Returns: MT4ChartBarListApiResponse - `POST /api/v2/MT4/{tradePlatform}/ChartAdd/{symbol}` — Add chart bars. Parameters: symbol (path, string, required), period (query, ChartPeriod). Body: MT4ChartWriteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/ChartUpdate/{symbol}` — Update chart bars. Parameters: symbol (path, string, required), period (query, ChartPeriod). Body: MT4ChartWriteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/ChartDelete/{symbol}` — Delete chart bars. Parameters: symbol (path, string, required), period (query, ChartPeriod). Body: MT4ChartWriteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/HistoryCorrect/{symbol}` — Repair chart history. Parameters: symbol (path, string, required). Returns: Int32ApiResponse - `GET /api/v2/MT4/{tradePlatform}/TicksRequest/{symbol}` — Get historical ticks. Parameters: symbol (path, string, required), start (query, string (date-time)), end (query, string (date-time)), flags (query, TickRequestFlags). Returns: MT4TickRecordListApiResponse - `GET /api/v2/MT4/{tradePlatform}/TickInfoLast/{symbol}` — Get last tick (cached). Parameters: symbol (path, string, required). Returns: MT4TickInfoApiResponse - `GET /api/v2/MT4/{tradePlatform}/TickInfoLast` — Get last ticks, all symbols (cached). Returns: MT4TickInfoListApiResponse ### MT4 v2 :: Reports Reference page: https://cloud.mywebapi.com/reference/v2/mt4-reports/ - `GET /api/v2/MT4/{tradePlatform}/PerformanceRequest` — Get server performance series. Parameters: from (query, string (date-time)). Returns: MT4PerformanceListApiResponse - `GET /api/v2/MT4/{tradePlatform}/ReportsRequest` — Get closed-trade reports. Parameters: from (query, string (date-time)), to (query, string (date-time)), logins (query, integer (int32)[]), name (query, string). Returns: MT4TradeListApiResponse - `GET /api/v2/MT4/{tradePlatform}/DailyReportsRequest` — Get daily reports. Parameters: from (query, string (date-time)), to (query, string (date-time)), logins (query, integer (int32)[]), name (query, string). Returns: MT4DailyReportListApiResponse - `GET /api/v2/MT4/{tradePlatform}/DailyReportsRequestEx` — Get daily reports (grouped). Parameters: from (query, string (date-time)), to (query, string (date-time)), logins (query, integer (int32)[]), name (query, string). Returns: Int32MT4DailyReportListDictionaryApiResponse - `POST /api/v2/MT4/{tradePlatform}/DailySyncStart` — Start daily-report sync. Parameters: timestamp (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/DailySyncRead` — Read daily-report sync. Returns: MT4DailyReportListApiResponse ### MT4 v2 :: Server Admin Reference page: https://cloud.mywebapi.com/reference/v2/mt4-server-admin/ - `GET /api/v2/MT4/{tradePlatform}/SrvFeeders` — List data feeders. Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4FeederListApiResponse - `GET /api/v2/MT4/{tradePlatform}/LicenseCheck/{licenseName}` — Check license. Parameters: licenseName (path, string, required). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/NotificationsSend` — Send push notification. Body: MT4NotificationsSendRequest. Returns: BooleanApiResponse - `GET /api/v2/MT4/{tradePlatform}/SrvFeederLog/{name}` — Get feeder log. Parameters: name (path, string, required). Returns: StringApiResponse ### MT4 v2 :: Server Admin (destructive) Reference page: https://cloud.mywebapi.com/reference/v2/mt4-server-admin-destructive/ - `POST /api/v2/MT4/{tradePlatform}/SrvRestart` — Restart server. Parameters: confirm (query, boolean). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/SrvChartsSync` — Force chart resync. Parameters: confirm (query, boolean). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/SrvLiveUpdateStart` — Start LiveUpdate distributor. Parameters: confirm (query, boolean). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/SrvFeedsRestart` — Restart data feeders. Parameters: confirm (query, boolean). Returns: BooleanApiResponse ### MT4 v2 :: Symbols Reference page: https://cloud.mywebapi.com/reference/v2/mt4-symbols/ - `GET /api/v2/MT4/{tradePlatform}/SymbolInfoGet` — Get symbol market data (cached). Parameters: symbol (query, string). Returns: MT4SymbolInfoApiResponse - `GET /api/v2/MT4/{tradePlatform}/SymbolInfoUpdated` — List updated symbols (cached). Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4SymbolInfoListApiResponse - `GET /api/v2/MT4/{tradePlatform}/SymbolsGetAll` — List symbols (cached). Returns: MT4SymbolConfigListApiResponse - `GET /api/v2/MT4/{tradePlatform}/SymbolsGetAll/{symbol}` — Get symbol (cached). Parameters: symbol (path, string, required). Returns: MT4SymbolConfigApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbol` — List symbol configs. Returns: MT4SymbolConfigListApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbol/{symbol}` — Get symbol config. Parameters: symbol (path, string, required). Returns: MT4SymbolConfigApiResponse - `GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbolGroup` — List symbol groups (live configuration). Returns: MT4SymbolGroupListApiResponse - `GET /api/v2/MT4/{tradePlatform}/SymbolSessionsGet/{symbol}` — Get symbol sessions. Parameters: symbol (path, string, required). Returns: MT4SymbolDaySessionsListApiResponse - `POST /api/v2/MT4/{tradePlatform}/CfgUpdateSymbol/{symbol}` — Update symbol config. Parameters: symbol (path, string, required). Body: MT4SymbolConfigUpdate. Returns: MT4SymbolConfigApiResponse - `PATCH /api/v2/MT4/{tradePlatform}/SymbolConfig/{symbol}` — Patch symbol config. Parameters: symbol (path, string, required). Body: object. Returns: MT4SymbolConfigApiResponse - `POST /api/v2/MT4/{tradePlatform}/SymbolAdd/{symbol}` — Add symbol. Parameters: symbol (path, string, required). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/SymbolHide/{symbol}` — Hide symbol. Parameters: symbol (path, string, required). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/SymbolsRefresh` — Refresh symbol catalog. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/SymbolChange` — Change symbol attributes. Body: MT4SymbolChangeRequest. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/SymbolSendTick` — Send synthetic tick. Parameters: symbol (query, string), bid (query, number (double)), ask (query, number (double)). Returns: BooleanApiResponse ### MT4 v2 :: Trades Reference page: https://cloud.mywebapi.com/reference/v2/mt4-trades/ - `GET /api/v2/MT4/{tradePlatform}/TradesGet` — List open trades (cached). Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4TradeListApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradesGet/{ticket}` — Get trade by ticket (cached). Parameters: ticket (path, integer (int32), required). Returns: MT4TradeApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradesGetByLogin/{login}/{group}` — List trades by account (cached). Parameters: login (path, integer (int32), required), group (path, string, required). Returns: MT4TradeListApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradesGetBySymbol` — List trades by symbol (cached). Parameters: symbol (query, string). Returns: MT4TradeListApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradesGetByMarket` — List market trades (cached). Returns: MT4TradeListApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradeRecordGet/{order}` — Get trade record (cached). Parameters: order (path, integer (int32), required). Returns: MT4TradeApiResponse - `POST /api/v2/MT4/{tradePlatform}/TradeCheckStops` — Validate order stops. Parameters: price (query, number (double)). Body: MT4TradeTransaction. Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/TradeClearRollback/{order}` — Roll back trade transaction. Parameters: order (path, integer (int32), required). Returns: BooleanApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradeRecordRequest/{order}` — Get trade record (live). Parameters: order (path, integer (int32), required). Returns: MT4TradeApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradesRequest` — Query trades (live). Parameters: limit (query, integer (int32)), cursor (query, string), group (query, string). Returns: MT4TradeListApiResponse - `POST /api/v2/MT4/{tradePlatform}/AdmTradeRecordModify/{ticket}` — Modify trade record (admin). Parameters: ticket (path, integer (int32), required). Body: MT4TradeUpdate. Returns: MT4TradeApiResponse - `POST /api/v2/MT4/{tradePlatform}/TradeTransaction` — Submit trade transaction. Body: MT4TradeTransaction. Returns: MT4TradeTransactionApiResponse - `GET /api/v2/MT4/{tradePlatform}/TradeRecordsRequest` — Get trade records batch (live). Parameters: orders (query, integer (int32)[]). Returns: MT4TradeListApiResponse - `GET /api/v2/MT4/{tradePlatform}/AdmTradesRequest/{group}` — List group trades (admin). Parameters: group (path, string, required), openOnly (query, boolean). Returns: MT4TradeListApiResponse - `POST /api/v2/MT4/{tradePlatform}/AdmTradesDelete` — Delete trades (admin). Parameters: orders (query, integer (int32)[]). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/TradesSyncStart` — Start trade-records sync. Parameters: timestamp (query, integer (int32)). Returns: BooleanApiResponse ### MT4 v2 :: Users Reference page: https://cloud.mywebapi.com/reference/v2/mt4-users/ - `GET /api/v2/MT4/{tradePlatform}/UsersGet` — List accounts (cached). Returns: MT4UserListApiResponse - `GET /api/v2/MT4/{tradePlatform}/UserRecordGet/{login}` — Get account (cached). Parameters: login (path, integer (int32), required). Returns: MT4UserApiResponse - `GET /api/v2/MT4/{tradePlatform}/UserRecordRequest/{login}` — Get account (live). Parameters: login (path, integer (int32), required). Returns: MT4UserApiResponse - `GET /api/v2/MT4/{tradePlatform}/UserRecordsRequest` — Get accounts batch (live). Parameters: logins (query, integer (int32)[]). Returns: MT4UserListApiResponse - `GET /api/v2/MT4/{tradePlatform}/AdmBalanceCheck/{login}` — Check account balance. Parameters: login (path, integer (int32), required). Returns: MT4BalanceDiffApiResponse - `GET /api/v2/MT4/{tradePlatform}/AdmBalanceCheck` — Check account balances (batch). Parameters: logins (query, integer (int32)[]). Returns: MT4BalanceDiffListApiResponse - `POST /api/v2/MT4/{tradePlatform}/AdmBalanceFix` — Fix account balances. Parameters: logins (query, integer (int32)[]). Returns: BooleanApiResponse - `GET /api/v2/MT4/{tradePlatform}/UsersRequest` — List accounts (live). Parameters: limit (query, integer (int32)), cursor (query, string). Returns: MT4UserListApiResponse - `POST /api/v2/MT4/{tradePlatform}/UserRecordNew` — Create account. Body: MT4UserCreate. Returns: MT4UserApiResponse - `POST /api/v2/MT4/{tradePlatform}/UserRecordUpdate` — Update account. Body: MT4UserUpdate. Returns: BooleanApiResponse - `PATCH /api/v2/MT4/{tradePlatform}/UserRecord/{login}` — Patch account. Parameters: login (path, integer (int32), required). Body: object. Returns: MT4UserApiResponse - `GET /api/v2/MT4/{tradePlatform}/AdmUsersRequestSafe/{group}` — List group accounts (admin). Parameters: group (path, string, required). Returns: MT4UserListApiResponse - `POST /api/v2/MT4/{tradePlatform}/UsersSyncStart` — Start user-records sync. Parameters: timestamp (query, integer (int32)). Returns: BooleanApiResponse - `POST /api/v2/MT4/{tradePlatform}/UsersGroupOp` — Bulk account operation. Body: MT4UsersGroupOp. Returns: BooleanApiResponse ### MT5 v2 :: Clients Reference page: https://cloud.mywebapi.com/reference/v2/mt5-clients/ - `POST /api/v2/MT5/{tradePlatform}/ClientUpdate` — Update a client. Body: MT5Client. Returns: MT5ClientApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientAddBatch` — Add clients in bulk. Body: MT5Client[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientAddBatchArray` — Add clients in bulk (plain array). Body: MT5Client[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientUpdateBatch` — Update clients in bulk. Body: MT5Client[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientUpdateBatchArray` — Update clients in bulk (plain array). Body: MT5Client[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientDeleteBatch` — Delete clients in bulk. Body: integer (int64)[]. Returns: MT5BatchResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/ClientRequestByGroup` — Clients by preferred group. Parameters: groups (query, string). Returns: MT5ClientListApiResponse - `GET /api/v2/MT5/{tradePlatform}/ClientRequestHistory/{clientId}` — History of a client record. Parameters: clientId (path, integer (int64), required), author (query, integer (int64)), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5ClientListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientUserAddBatch/{clientId}` — Bind trading accounts to a client in bulk. Parameters: clientId (path, integer (int64), required). Body: integer (int64)[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientUserDelete/{clientId}/{login}` — Unbind a trading account from a client. Parameters: clientId (path, integer (int64), required), login (path, integer (int64), required). Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientUserDeleteBatch/{clientId}` — Unbind trading accounts from a client in bulk. Parameters: clientId (path, integer (int64), required). Body: integer (int64)[]. Returns: MT5BatchResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/ClientUserRequest/{clientId}` — Trading accounts of a client. Parameters: clientId (path, integer (int64), required). Returns: UInt64ListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentAdd` — Add a document to a client record. Body: MT5Document. Returns: MT5DocumentApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentAddBatch` — Add documents in bulk. Body: MT5Document[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentAddBatchArray` — Add documents in bulk (plain array). Body: MT5Document[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentUpdate` — Change a document of a client record. Body: MT5Document. Returns: MT5DocumentApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentUpdateBatch` — Change documents in bulk. Body: MT5Document[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentUpdateBatchArray` — Change documents in bulk (plain array). Body: MT5Document[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentDelete/{documentId}` — Delete a document. Parameters: documentId (path, integer (int64), required). Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/DocumentDeleteBatch` — Delete documents in bulk. Body: integer (int64)[]. Returns: MT5BatchResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DocumentRequest/{documentId}` — Read a document. Parameters: documentId (path, integer (int64), required). Returns: MT5DocumentApiResponse - `GET /api/v2/MT5/{tradePlatform}/DocumentRequestByClient/{clientId}` — Documents of a client. Parameters: clientId (path, integer (int64), required). Returns: MT5DocumentListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DocumentRequestHistory/{documentId}` — History of a document. Parameters: documentId (path, integer (int64), required), author (query, integer (int64)), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5DocumentListApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentAdd` — Add a comment to a client or a document. Body: MT5Comment. Returns: MT5CommentApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentAddBatch` — Add comments in bulk. Body: MT5Comment[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentAddBatchArray` — Add comments in bulk (plain array). Body: MT5Comment[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentUpdate` — Change a comment. Body: MT5Comment. Returns: MT5CommentApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentUpdateBatch` — Change comments in bulk. Body: MT5Comment[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentUpdateBatchArray` — Change comments in bulk (plain array). Body: MT5Comment[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentDelete/{commentId}` — Delete a comment. Parameters: commentId (path, integer (int64), required). Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/CommentDeleteBatch` — Delete comments in bulk. Body: integer (int64)[]. Returns: MT5BatchResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/CommentRequest/{commentId}` — Read a comment. Parameters: commentId (path, integer (int64), required). Returns: MT5CommentApiResponse - `GET /api/v2/MT5/{tradePlatform}/CommentRequestByClient/{clientId}` — Comments on a client. Parameters: clientId (path, integer (int64), required), position (query, integer (int32)), total (query, integer (int32)). Returns: MT5CommentListApiResponse - `GET /api/v2/MT5/{tradePlatform}/CommentRequestByDocument/{documentId}` — Comments on a client document. Parameters: documentId (path, integer (int64), required), position (query, integer (int32)), total (query, integer (int32)). Returns: MT5CommentListApiResponse - `POST /api/v2/MT5/{tradePlatform}/AttachmentAdd` — Store a file and link it to a document or a comment. Body: MT5Attachment. Returns: MT5AttachmentApiResponse - `POST /api/v2/MT5/{tradePlatform}/AttachmentAddBatch` — Store files and link them in bulk. Body: MT5Attachment[]. Returns: MT5BatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/AttachmentAddBatchArray` — Store files and link them in bulk (plain array). Body: MT5Attachment[]. Returns: MT5BatchResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/AttachmentRequest` — Read attachments by identifiers. Parameters: ids (query, integer (int64)[]). Returns: MT5AttachmentListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientAdd` — Create a client. Body: MT5Client. Returns: MT5ClientApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientUserAdd/{clientId}/{login}` — Attach a trading account to a client. Parameters: clientId (path, integer (int64), required), login (path, integer (int64), required). Returns: MT5ResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/ClientRequest/{clientId}` — Read a client. Parameters: clientId (path, integer (int64), required). Returns: MT5ClientApiResponse - `POST /api/v2/MT5/{tradePlatform}/ClientDelete/{clientId}` — Delete a client. Parameters: clientId (path, integer (int64), required). Returns: MT5ResultApiResponse ### MT5 v2 :: Common Reference page: https://cloud.mywebapi.com/reference/v2/mt5-common/ - `GET /api/v2/MT5/{tradePlatform}/TimeServer` — Get server time. Returns: DateTimeApiResponse - `GET /api/v2/MT5/{tradePlatform}/TimeGet` — Get server time configuration. Returns: MT5TimeApiResponse ### MT5 v2 :: Communications Reference page: https://cloud.mywebapi.com/reference/v2/mt5-communications/ - `GET /api/v2/MT5/{tradePlatform}/MailRequest` — List messages of the internal mail. Parameters: from (query, integer (int32)), count (query, integer (int32)). Returns: MT5MailListApiResponse - `GET /api/v2/MT5/{tradePlatform}/MailBodyRequest/{id}` — Read a message with its body and attachments. Parameters: id (path, integer (int64), required). Returns: MT5MailApiResponse - `POST /api/v2/MT5/{tradePlatform}/MailSend` — Send a message through the internal mail. Body: MT5MailSendRequest. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/MailDelete` — Delete a message by its position in the mailbox. Parameters: pos (query, integer (int32)). Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/MailDeleteId/{id}` — Delete a message by its identifier. Parameters: id (path, integer (int64), required). Returns: MT5ResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/NewsRequest` — List news items received by the manager account. Parameters: from (query, integer (int32)), count (query, integer (int32)). Returns: MT5NewsListApiResponse - `GET /api/v2/MT5/{tradePlatform}/NewsBodyRequest/{id}` — Read a news item with its body. Parameters: id (path, integer (int64), required). Returns: MT5NewsApiResponse - `POST /api/v2/MT5/{tradePlatform}/NewsSend` — Publish a news item. Body: MT5NewsSendRequest. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/LicenseCheck` — Check the application license on the trade server. Body: MT5LicenseCheckRequest. Returns: MT5LicenseCheckResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/LoggerFlush` — Flush the local journal of the manager interface to disk. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/LoggerOut` — Write a formatted entry into the local journal. Body: MT5LoggerMessage. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/LoggerOutString` — Write an unformatted entry into the local journal. Body: MT5LoggerMessage. Returns: MT5ResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/LoggerServerRequest` — Read the journal of the trade server. Parameters: mode (query, integer (int32)), type (query, integer (int32)), from (query, integer (int64)), to (query, integer (int64)), filter (query, string). Returns: MT5LogRecordListApiResponse - `POST /api/v2/MT5/{tradePlatform}/PasswordChange/{type}` — Change the password of the manager account used by the connection. Parameters: type (path, UsersPasswords, required). Body: string. Returns: MT5ResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/NetworkServer` — Name of the trade server the connection is held to. Returns: StringApiResponse - `GET /api/v2/MT5/{tradePlatform}/NetworkAddress` — Address of the trade server the connection is held to. Returns: StringApiResponse - `GET /api/v2/MT5/{tradePlatform}/NetworkBytesRead` — Bytes received from the trade server. Returns: UInt64ApiResponse - `GET /api/v2/MT5/{tradePlatform}/NetworkBytesSent` — Bytes sent to the trade server. Returns: UInt64ApiResponse - `POST /api/v2/MT5/{tradePlatform}/NetworkRescan` — Rescan the access points of the trade server. Parameters: flags (query, integer (int32)), timeout (query, integer (int32)). Returns: MT5ResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/SettingGet` — Read a settings file of the manager account. Parameters: section (query, string), key (query, string). Returns: MT5SettingFileApiResponse - `POST /api/v2/MT5/{tradePlatform}/SettingSet` — Write a settings file of the manager account. Body: MT5SettingFile. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/SettingDelete` — Delete a settings file of the manager account. Parameters: section (query, string), key (query, string). Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/CustomCommand` — Send a custom command to the trade server. Body: MT5CustomCommandRequest. Returns: MT5CustomCommandResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/GeoResolve` — Describe an IP address. Parameters: address (query, string), flags (query, integer (int32)). Returns: MT5GeoRecordApiResponse - `GET /api/v2/MT5/{tradePlatform}/GeoResolveBatch` — Describe a list of IP addresses. Parameters: addresses (query, string[]), flags (query, integer (int32)). Returns: MT5GeoResolveResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/ProxySet` — Set the proxy of the manager connection. Body: MT5ProxySettings. Returns: MT5ResultApiResponse ### MT5 v2 :: Config Reference page: https://cloud.mywebapi.com/reference/v2/mt5-config/ - `GET /api/v2/MT5/{tradePlatform}/SymbolRequestArray/{mask}` — Symbols by mask. Parameters: mask (path, string, required), group (query, string). Returns: MT5SymbolListApiResponse - `GET /api/v2/MT5/{tradePlatform}/GroupRequestArray/{mask}` — Groups by mask. Parameters: mask (path, string, required). Returns: MT5ConGroupListApiResponse ### MT5 v2 :: Configuration Reference page: https://cloud.mywebapi.com/reference/v2/mt5-configuration/ - `POST /api/v2/MT5/{tradePlatform}/GroupUpdate/{group}` — Change a group configuration. Parameters: group (path, string, required). Body: MT5GroupUpdateRequest. Returns: MT5ConGroupApiResponse - `POST /api/v2/MT5/{tradePlatform}/GroupUpdateBatch` — Change several group configurations in one call. Body: MT5GroupBatchUpdateItem[]. Returns: MT5BatchUpdateResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SymbolRequest/{symbol}` — Get a symbol as it is configured for a group. Parameters: symbol (path, string, required), group (query, string). Returns: MT5SymbolApiResponse - `GET /api/v2/MT5/{tradePlatform}/SymbolExist/{symbol}` — Check whether a group allows a symbol. Parameters: symbol (path, string, required), group (query, string). Returns: MT5SymbolExistResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/SymbolUpdateBatch` — Change several symbol configurations in one call. Body: MT5SymbolBatchUpdateItem[]. Returns: MT5BatchUpdateResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/TimeServerRequest` — Get the current trading time from the server. Returns: DateTimeApiResponse - `GET /api/v2/MT5/{tradePlatform}/LeverageGet/{name}` — Floating margin configuration by name. Parameters: name (path, string, required). Returns: MT5LeverageApiResponse - `GET /api/v2/MT5/{tradePlatform}/LeverageRequest/{name}` — Request a floating margin configuration from the trade server. Parameters: name (path, string, required). Returns: MT5LeverageApiResponse - `GET /api/v2/MT5/{tradePlatform}/LeverageRequestArray` — Floating margin configurations that apply to groups. Parameters: groups (query, string). Returns: MT5LeverageListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PluginGet/{name}` — Plugin configuration by name. Parameters: name (path, string, required). Returns: MT5PluginApiResponse - `POST /api/v2/MT5/{tradePlatform}/PluginUpdate` — Store a plugin configuration. Body: MT5Plugin. Returns: MT5PluginApiResponse ### MT5 v2 :: Dealer Reference page: https://cloud.mywebapi.com/reference/v2/mt5-dealer/ - `POST /api/v2/MT5/{tradePlatform}/DealerSend` — Send a trade request on behalf of the dealer. Body: MT5Request. Returns: MT5RequestApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealerBalance` — Send a balance operation on behalf of the dealer. Body: DealerBalanceRequest. Returns: UInt64ApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealerBalanceRaw` — Send a balance operation without the standard validation checks. Body: DealerBalanceRequest. Returns: UInt64ApiResponse ### MT5 v2 :: Groups Reference page: https://cloud.mywebapi.com/reference/v2/mt5-groups/ - `GET /api/v2/MT5/{tradePlatform}/GroupRequest/{group}` — Get a group by name. Parameters: group (path, string, required). Returns: MT5ConGroupApiResponse - `GET /api/v2/MT5/{tradePlatform}/GroupGet/{group}` — Get a group from the cached copy. Parameters: group (path, string, required). Returns: MT5ConGroupApiResponse - `PATCH /api/v2/MT5/{tradePlatform}/GroupRecord/{group}` — Partially update a group. Parameters: group (path, string, required). Body: object. Returns: MT5ConGroupApiResponse ### MT5 v2 :: History Data Reference page: https://cloud.mywebapi.com/reference/v2/mt5-history-data/ - `GET /api/v2/MT5/{tradePlatform}/ChartRequest/{symbol}` — Get chart bars. Parameters: symbol (path, string, required), period (query, MT5ChartPeriod), from (query, string (date-time)), to (query, string (date-time)), limit (query, integer (int32)). Returns: MT5ChartBarPageApiResponse - `GET /api/v2/MT5/{tradePlatform}/TicksHistory/{symbol}` — Get historical ticks. Parameters: symbol (path, string, required), from (query, string (date-time), required), to (query, string (date-time)), limit (query, integer (int32)). Returns: MT5TickPageApiResponse ### MT5 v2 :: Managers Reference page: https://cloud.mywebapi.com/reference/v2/mt5-managers/ - `GET /api/v2/MT5/{tradePlatform}/ManagerCurrent` — Get the current session manager. Returns: MT5ConManagerApiResponse ### MT5 v2 :: Market Data Reference page: https://cloud.mywebapi.com/reference/v2/mt5-market-data/ - `GET /api/v2/MT5/{tradePlatform}/TickLast/{symbol}` — Get the last quote of a symbol. Parameters: symbol (path, string, required). Returns: MT5MarketTickShortApiResponse - `GET /api/v2/MT5/{tradePlatform}/TickLastRaw/{symbol}` — Get the last raw quote of a symbol. Parameters: symbol (path, string, required). Returns: MT5MarketTickShortApiResponse - `GET /api/v2/MT5/{tradePlatform}/TickStat/{symbol}` — Get statistical information about the quotes of a symbol. Parameters: symbol (path, string, required). Returns: MT5MarketTickStatApiResponse - `GET /api/v2/MT5/{tradePlatform}/TickHistoryRequestRaw/{symbol}` — Get the raw tick stream of a symbol. Parameters: symbol (path, string, required), from (query, string (date-time), required), to (query, string (date-time)), limit (query, integer (int32)). Returns: MT5TickPageApiResponse - `POST /api/v2/MT5/{tradePlatform}/TickAdd` — Add a quote into the price stream. Body: MT5MarketTick. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/TickAddBatch` — Add several quotes into the price stream. Body: MT5MarketTickAddBatchRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/TickAddStat` — Publish statistical information about the price. Body: MT5MarketTickAddStatRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/TickHistoryAdd/{symbol}` — Add ticks into the stored tick history. Parameters: symbol (path, string, required). Body: MT5MarketTickWriteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/TickHistoryReplace/{symbol}` — Replace the stored ticks of a period. Parameters: symbol (path, string, required), from (query, string (date-time), required), to (query, string (date-time), required). Body: MT5MarketTickWriteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/ChartUpdate/{symbol}` — Change the stored minute bars of a symbol. Parameters: symbol (path, string, required). Body: MT5MarketChartWriteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/ChartReplace/{symbol}` — Replace the stored minute bars of a period. Parameters: symbol (path, string, required), from (query, string (date-time), required), to (query, string (date-time), required). Body: MT5MarketChartWriteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/ChartDelete/{symbol}` — Delete minute bars of a symbol. Parameters: symbol (path, string, required). Body: MT5MarketChartDeleteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/ChartSplit/{symbol}` — Split the price history of a symbol. Parameters: symbol (path, string, required), newShares (query, integer (int32)), oldShares (query, integer (int32)), roundingRule (query, MT5ChartRoundingRule), from (query, string (date-time)), to (query, string (date-time)). Returns: BooleanApiResponse ### MT5 v2 :: Market Insight Reference page: https://cloud.mywebapi.com/reference/v2/mt5-market-insight/ - `GET /api/v2/MT5/{tradePlatform}/OnlineGet/{login}` — Read the open sessions of one account. Parameters: login (path, integer (int64), required). Returns: MT5OnlineListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OnlineRequest` — Read the live connection list of the trade server. Parameters: from (query, integer (int32)), count (query, integer (int32)). Returns: MT5OnlinePageApiResponse - `POST /api/v2/MT5/{tradePlatform}/OnlineDisconnect/{login}` — Disconnect a client from the trade server. Parameters: login (path, integer (int64), required). Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/OnlineDisconnectBatch` — Disconnect several clients from the trade server. Body: integer (int64)[]. Returns: MT5OnlineDisconnectResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/SelectedAdd` — Add a symbol to the selected-symbol list. Body: MT5SymbolRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SelectedAddBatch` — Add several symbols to the selected-symbol list. Body: MT5SymbolsRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SelectedAddAll` — Add every available symbol to the selected-symbol list. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SelectedDelete` — Remove a symbol from the selected-symbol list. Parameters: confirm (query, boolean). Body: MT5SelectedDeleteRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SelectedDeleteBatch` — Remove several symbols from the selected-symbol list. Parameters: confirm (query, boolean). Body: MT5SymbolsRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SelectedDeleteAll` — Clear the selected-symbol list. Parameters: confirm (query, boolean). Returns: BooleanApiResponse - `GET /api/v2/MT5/{tradePlatform}/SelectedNext` — Read the selected-symbol list. Parameters: from (query, integer (int32)), count (query, integer (int32)). Returns: MT5SelectedPageApiResponse - `GET /api/v2/MT5/{tradePlatform}/BookGet/{symbol}` — Read the Depth of Market of a symbol. Parameters: symbol (path, string, required). Returns: MT5BookApiResponse ### MT5 v2 :: Reports Reference page: https://cloud.mywebapi.com/reference/v2/mt5-reports/ - `GET /api/v2/MT5/{tradePlatform}/DailyRequest/{login}` — Daily reports of one account. Parameters: login (path, integer (int64), required), from (query, integer (int64)), to (query, integer (int64)). Returns: MT5DailyListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DailyRequestLight/{login}` — Lightweight daily reports of one account. Parameters: login (path, integer (int64), required), from (query, integer (int64)), to (query, integer (int64)). Returns: MT5DailyListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DailyRequestByGroup/{mask}` — Daily reports of the accounts of a group. Parameters: mask (path, string, required), from (query, integer (int64)), to (query, integer (int64)). Returns: MT5DailyListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DailyRequestLightByGroup/{mask}` — Lightweight daily reports of the accounts of a group. Parameters: mask (path, string, required), from (query, integer (int64)), to (query, integer (int64)). Returns: MT5DailyListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DailyRequestByLogins` — Daily reports of several accounts. Parameters: from (query, integer (int64)), to (query, integer (int64)). Body: integer (int64)[]. Returns: MT5DailyListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DailyRequestLightByLogins` — Lightweight daily reports of several accounts. Parameters: from (query, integer (int64)), to (query, integer (int64)). Body: integer (int64)[]. Returns: MT5DailyListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SummaryGetAll` — Summary of client and hedging positions for every symbol. Returns: MT5SummaryListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SummaryGet/{symbol}` — Summary of client and hedging positions for one symbol. Parameters: symbol (path, string, required). Returns: MT5SummaryApiResponse - `GET /api/v2/MT5/{tradePlatform}/SummaryCurrency` — Summary currency of the trade server. Returns: StringApiResponse - `POST /api/v2/MT5/{tradePlatform}/SummaryCurrency` — Set the summary currency of the trade server. Body: string. Returns: BooleanApiResponse - `GET /api/v2/MT5/{tradePlatform}/ExposureGetAll` — Exposure of the company for every asset. Returns: MT5ExposureListApiResponse - `GET /api/v2/MT5/{tradePlatform}/ExposureGet/{symbol}` — Exposure of the company for one asset. Parameters: symbol (path, string, required). Returns: MT5ExposureApiResponse - `GET /api/v2/MT5/{tradePlatform}/ExposureCurrency` — Currency of the net total of the exposure table. Returns: StringApiResponse - `POST /api/v2/MT5/{tradePlatform}/ExposureCurrency` — Set the currency of the net total of the exposure table. Body: string. Returns: BooleanApiResponse ### MT5 v2 :: Subscriptions Reference page: https://cloud.mywebapi.com/reference/v2/mt5-subscriptions/ - `POST /api/v2/MT5/{tradePlatform}/SubscriptionUpdate` — Update a subscription record. Body: MT5Subscription. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionUpdateBatch` — Update subscription records in bulk. Body: MT5Subscription[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionUpdateBatchArray` — Update subscription records in bulk (plain array form). Body: MT5Subscription[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionDelete/{id}` — Delete a subscription record. Parameters: id (path, integer (int64), required). Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionDeleteBatch` — Delete subscription records in bulk. Body: integer (int64)[]. Returns: MT5ResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionRequest/{login}` — Subscriptions of an account. Parameters: login (path, integer (int64), required). Returns: MT5SubscriptionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByID/{id}` — Subscription record by identifier. Parameters: id (path, integer (int64), required). Returns: MT5SubscriptionApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByIDs` — Subscription records by identifiers. Parameters: ids (query, integer (int64)[]). Returns: MT5SubscriptionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByLogins` — Subscriptions of several accounts. Parameters: logins (query, integer (int64)[]). Returns: MT5SubscriptionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByGroup/{mask}` — Subscriptions of the accounts of a group. Parameters: mask (path, string, required). Returns: MT5SubscriptionListApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionJoin` — Subscribe an account to a subscription configuration. Body: MT5SubscriptionTarget. Returns: MT5SubscriptionActionResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionJoinBatch` — Subscribe several accounts to subscription configurations. Body: MT5SubscriptionTarget[]. Returns: MT5SubscriptionBatchResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionCancel` — Cancel a subscription of an account. Body: MT5SubscriptionTarget. Returns: MT5SubscriptionActionResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionCancelBatch` — Cancel subscriptions of several accounts. Body: MT5SubscriptionTarget[]. Returns: MT5SubscriptionBatchResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryUpdate` — Update a subscription action record. Body: MT5SubscriptionHistory. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryUpdateBatch` — Update subscription action records in bulk. Body: MT5SubscriptionHistory[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryUpdateBatchArray` — Update subscription action records in bulk (plain array form). Body: MT5SubscriptionHistory[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryDelete/{id}` — Delete a subscription action record. Parameters: id (path, integer (int64), required). Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryDeleteBatch` — Delete subscription action records in bulk. Body: integer (int64)[]. Returns: MT5ResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequest/{login}` — Subscription actions of an account for a period. Parameters: login (path, integer (int64), required), from (query, integer (int64)), to (query, integer (int64)). Returns: MT5SubscriptionHistoryListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByID/{id}` — Subscription action record by identifier. Parameters: id (path, integer (int64), required). Returns: MT5SubscriptionHistoryApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByIDs` — Subscription action records by identifiers. Parameters: ids (query, integer (int64)[]). Returns: MT5SubscriptionHistoryListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByLogins` — Subscription actions of several accounts for a period. Parameters: logins (query, integer (int64)[]), from (query, integer (int64)), to (query, integer (int64)). Returns: MT5SubscriptionHistoryListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByGroup/{mask}` — Subscription actions of the accounts of a group for a period. Parameters: mask (path, string, required), from (query, integer (int64)), to (query, integer (int64)). Returns: MT5SubscriptionHistoryListApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgGet/{name}` — Subscription configuration by name, from the streamed copy. Parameters: name (path, string, required). Returns: MT5ConSubscriptionApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgGetByID/{id}` — Subscription configuration by identifier, from the streamed copy. Parameters: id (path, integer (int64), required). Returns: MT5ConSubscriptionApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgRequest/{name}` — Subscription configuration by name, from the server. Parameters: name (path, string, required). Returns: MT5ConSubscriptionApiResponse - `GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgRequestByID/{id}` — Subscription configuration by identifier, from the server. Parameters: id (path, integer (int64), required). Returns: MT5ConSubscriptionApiResponse ### MT5 v2 :: Symbols Reference page: https://cloud.mywebapi.com/reference/v2/mt5-symbols/ - `GET /api/v2/MT5/{tradePlatform}/SymbolGet/{symbol}` — Get a symbol by name. Parameters: symbol (path, string, required). Returns: MT5SymbolApiResponse - `PATCH /api/v2/MT5/{tradePlatform}/SymbolRecord/{symbol}` — Partially update a symbol. Parameters: symbol (path, string, required). Body: object. Returns: MT5SymbolApiResponse - `POST /api/v2/MT5/{tradePlatform}/SymbolUpdate/{symbol}` — Update a symbol. Parameters: symbol (path, string, required). Body: MT5SymbolUpdate. Returns: MT5SymbolApiResponse ### MT5 v2 :: Trade Operations Reference page: https://cloud.mywebapi.com/reference/v2/mt5-trade-operations/ - `POST /api/v2/MT5/{tradePlatform}/DealerStart` — Open the queue of trade requests for dealing. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealerStop` — Close the queue of trade requests. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealerGet` — Take the first request of the queue for processing. Returns: MT5RequestApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealerLock/{id}` — Take a request with the given identifier for processing. Parameters: id (path, integer (int32), required). Returns: MT5RequestApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealerAnswer` — Answer the trade request taken for processing. Body: MT5Confirm. Returns: BooleanApiResponse - `GET /api/v2/MT5/{tradePlatform}/RequestGet/{id}` — Get a trade request by identifier. Parameters: id (path, integer (int32), required). Returns: MT5RequestApiResponse - `GET /api/v2/MT5/{tradePlatform}/RequestGetAll` — List the trade requests waiting in the queue. Parameters: from (query, integer (int32)), count (query, integer (int32)). Returns: MT5RequestListApiResponse - `POST /api/v2/MT5/{tradePlatform}/TradeAccountSet` — Bring orders, positions and balance of an account in line with an external system. Body: TradeAccountSetRequest. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/TradeProfit` — Calculate the profit of a position. Body: TradeProfitRequest. Returns: TradeProfitResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/TradeProfitExt` — Calculate the profit of a position with extended volume accuracy. Body: TradeProfitRequest. Returns: TradeProfitResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/TradeMarginCheck` — Check whether an account has the margin an order requires. Body: TradeMarginCheckRequest. Returns: TradeMarginCheckResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/TradeMarginCheckExt` — Check the margin of an order with extended volume accuracy. Body: TradeMarginCheckRequest. Returns: TradeMarginCheckResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/TradeRateBuy` — Calculate the rate of buying a currency for another one. Body: TradeRateRequest. Returns: TradeRateResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/TradeRateSell` — Calculate the rate of selling a currency for another one. Body: TradeRateRequest. Returns: TradeRateResultApiResponse ### MT5 v2 :: Trades Reference page: https://cloud.mywebapi.com/reference/v2/mt5-trades/ - `GET /api/v2/MT5/{tradePlatform}/PositionRequestByGroup/{mask}` — List positions by group. Parameters: mask (path, string, required), limit (query, integer (int32)), cursor (query, string). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderGetByGroup/{mask}` — List orders by group. Parameters: mask (path, string, required), limit (query, integer (int32)), cursor (query, string). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequestByGroup/{mask}` — List deals by group. Parameters: mask (path, string, required), limit (query, integer (int32)), cursor (query, string), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5DealListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequest/{login}` — Deals history by a login. Parameters: login (path, integer (int64), required), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5DealListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequestByGroupSymbol/{mask}/{symbol}` — Deals by a user group mask and symbol. Parameters: mask (path, string, required), symbol (path, string, required), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5DealListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequestByTickets` — Deals by a list of tickets. Parameters: tickets (query, integer (int64)[]). Returns: MT5DealListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealRequestByTickets` — Deals by a list of tickets sent in the request body. Body: integer (int64)[]. Returns: MT5DealListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequestByLogins` — Deals by a list of logins. Parameters: logins (query, integer (int64)[]), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5DealListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequestByTicket/{ticket}` — Deal by a ticket. Parameters: ticket (path, integer (int64), required). Returns: MT5DealApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealUpdate` — Update a deal. Body: MT5Deal. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealDeleteBatch` — Delete deals in bulk. Body: integer (int64)[]. Returns: MT5ResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionGet/{login}` — Open positions by a login. Parameters: login (path, integer (int64), required). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionGetByLogins` — Open positions by a list of logins. Parameters: logins (query, integer (int64)[]). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionGetByTickets` — Open positions by a list of tickets. Parameters: tickets (query, integer (int64)[]). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionGetBySymbol/{mask}/{symbol}` — Open positions by a user group mask and symbol. Parameters: mask (path, string, required), symbol (path, string, required). Returns: MT5PositionListApiResponse - `POST /api/v2/MT5/{tradePlatform}/PositionDeleteBatch` — Delete positions in bulk. Body: integer (int64)[]. Returns: MT5ResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderRequestByGroup/{mask}` — List orders by group. Parameters: mask (path, string, required). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderGetBySymbol/{mask}/{symbol}` — List orders by symbol. Parameters: mask (path, string, required), symbol (path, string, required). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderRequestByGroupSymbol/{mask}/{symbol}` — List orders by group and symbol. Parameters: mask (path, string, required), symbol (path, string, required). Returns: MT5OrderListApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderDeleteBatch` — Delete several orders at once. Body: integer (int64)[]. Returns: MT5ResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderGet/{ticket}` — Get an order by ticket. Parameters: ticket (path, integer (int64), required). Returns: MT5OrderApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderGetByLogins` — List orders by logins. Parameters: logins (query, integer (int64)[]). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderGetByTickets` — List orders by tickets. Parameters: tickets (query, integer (int64)[]). Returns: MT5OrderListApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderRequestByTickets` — List orders by tickets (request body). Body: integer (int64)[]. Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/HistoryRequest/{login}` — Order history of an account. Parameters: login (path, integer (int64), required), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/HistoryRequestByGroup/{mask}` — Order history by group. Parameters: mask (path, string, required), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5OrderListApiResponse - `POST /api/v2/MT5/{tradePlatform}/HistoryRequestByTickets` — Order history by tickets (request body). Body: integer (int64)[]. Returns: MT5OrderListApiResponse ### MT5 v2 :: Trading Reference page: https://cloud.mywebapi.com/reference/v2/mt5-trading/ - `POST /api/v2/MT5/{tradePlatform}/OrderAdd` — Add an order. Body: MT5Order. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderAddBatch` — Add several orders. Body: MT5Order[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderAddBatchArray` — Add several orders (plain array form). Body: MT5Order[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderUpdate` — Update an order. Body: MT5Order. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderUpdateBatch` — Update several orders. Body: MT5Order[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderUpdateBatchArray` — Update several orders (plain array form). Body: MT5Order[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderCancel/{ticket}` — Cancel an order. Parameters: ticket (path, integer (int64), required). Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderCancelBatch` — Cancel several orders. Body: integer (int64)[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/OrderDelete/{ticket}` — Delete an order. Parameters: ticket (path, integer (int64), required). Returns: BooleanApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderGetOpen/{login}` — Open orders of an account, read from the cached copy. Parameters: login (path, integer (int64), required). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderRequest/{ticket}` — Get an order from the server. Parameters: ticket (path, integer (int64), required). Returns: MT5OrderApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderRequestByLogins` — Orders of several accounts, read from the server. Parameters: logins (query, integer (int64)[]). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderRequestByLoginsSymbol/{symbol}` — Orders of several accounts by symbol, read from the server. Parameters: symbol (path, string, required), logins (query, integer (int64)[]). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/OrderRequestOpen/{login}` — Pending orders of an account, read from the server. Parameters: login (path, integer (int64), required). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/HistoryRequestByGroupSymbol/{mask}/{symbol}` — Order history by group and symbol. Parameters: mask (path, string, required), symbol (path, string, required), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/HistoryRequestByLogins` — Order history of several accounts. Parameters: logins (query, integer (int64)[]), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/HistoryRequestByLoginsSymbol/{symbol}` — Order history of several accounts by symbol. Parameters: symbol (path, string, required), logins (query, integer (int64)[]), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5OrderListApiResponse - `GET /api/v2/MT5/{tradePlatform}/HistoryRequestPage/{login}` — One page of the order history of an account. Parameters: login (path, integer (int64), required), from (query, string (date-time)), to (query, string (date-time)), offset (query, integer (int32)), total (query, integer (int32)). Returns: MT5OrderListApiResponse - `POST /api/v2/MT5/{tradePlatform}/PositionUpdate` — Update a position. Body: MT5Position. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/PositionUpdateBatch` — Update several positions. Body: MT5Position[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/PositionUpdateBatchArray` — Update several positions (plain array form). Body: MT5Position[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/PositionSplit` — Split or consolidate positions. Body: MT5PositionSplitRequest. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/PositionDeleteByTicket/{ticket}` — Delete a position by ticket. Parameters: ticket (path, integer (int64), required). Returns: BooleanApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionGetByGroup/{mask}` — Open positions of a group. Parameters: mask (path, string, required). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionGetByTicket/{ticket}` — Get a position by ticket. Parameters: ticket (path, integer (int64), required). Returns: MT5PositionApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionRequest/{login}` — Open positions of an account, read from the server. Parameters: login (path, integer (int64), required). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionRequestByGroupSymbol/{mask}/{symbol}` — Open positions of a group and symbol, read from the server. Parameters: mask (path, string, required), symbol (path, string, required). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionRequestByLogins` — Open positions of several accounts, read from the server. Parameters: logins (query, integer (int64)[]). Returns: MT5PositionListApiResponse - `GET /api/v2/MT5/{tradePlatform}/PositionRequestByLoginsSymbol/{symbol}` — Open positions of several accounts by symbol, read from the server. Parameters: symbol (path, string, required), logins (query, integer (int64)[]). Returns: MT5PositionListApiResponse - `POST /api/v2/MT5/{tradePlatform}/PositionRequestByTickets` — Open positions by tickets (request body). Body: integer (int64)[]. Returns: MT5PositionListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealAdd` — Add a deal. Body: MT5Deal. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealAddBatch` — Add several deals. Body: MT5Deal[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealAddBatchArray` — Add several deals (plain array form). Body: MT5Deal[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealPerform` — Perform a deal. Body: MT5Deal. Returns: MT5DealApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealPerformBatch` — Perform several deals. Body: MT5Deal[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealPerformBatchArray` — Perform several deals (plain array form). Body: MT5Deal[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealUpdateBatch` — Update several deals. Body: MT5Deal[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealUpdateBatchArray` — Update several deals (plain array form). Body: MT5Deal[]. Returns: MT5ResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/DealDelete/{ticket}` — Delete a deal. Parameters: ticket (path, integer (int64), required). Returns: BooleanApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequestByLoginsSymbol/{symbol}` — Deals of several accounts by symbol. Parameters: symbol (path, string, required), logins (query, integer (int64)[]), from (query, string (date-time)), to (query, string (date-time)). Returns: MT5DealListApiResponse - `GET /api/v2/MT5/{tradePlatform}/DealRequestPage/{login}` — One page of the deal history of an account. Parameters: login (path, integer (int64), required), from (query, string (date-time)), to (query, string (date-time)), offset (query, integer (int32)), total (query, integer (int32)). Returns: MT5DealListApiResponse ### MT5 v2 :: Users Reference page: https://cloud.mywebapi.com/reference/v2/mt5-users/ - `GET /api/v2/MT5/{tradePlatform}/UserGet/{login}` — Get a user by login. Parameters: login (path, integer (int64), required). Returns: MT5UserApiResponse - `PATCH /api/v2/MT5/{tradePlatform}/UserRecord/{login}` — Partially update a user. Parameters: login (path, integer (int64), required). Body: object. Returns: MT5UserApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserUpdate` — Update a user record. Parameters: login (query, integer (int64)). Body: MT5UserUpdate. Returns: MT5UserApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserAdd` — Create a user account. Body: MT5UserAddRequest. Returns: MT5UserAddResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserRequest/{login}` — Read a user from the trade server. Parameters: login (path, integer (int64), required). Returns: MT5UserApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserAccountGet/{login}` — Read the account state from the cached copy. Parameters: login (path, integer (int64), required). Returns: MT5AccountApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserGetByLogins` — Read several users from the cached copy by logins. Parameters: logins (query, integer (int64)[]). Returns: MT5UserListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserGetByGroup/{mask}` — Read users of a group mask from the cached copy. Parameters: mask (path, string, required). Returns: MT5UserListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserAccountRequest/{login}` — Read the account state from the trade server. Parameters: login (path, integer (int64), required). Returns: MT5AccountApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserPasswordCheck/{login}/{type}` — Check a user password. Parameters: login (path, integer (int64), required), type (path, UsersPasswords, required). Body: string. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserPasswordChange/{login}/{type}` — Change a user password. Parameters: login (path, integer (int64), required), type (path, UsersPasswords, required). Body: string. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserDelete/{login}` — Delete a user. Parameters: login (path, integer (int64), required). Returns: MT5ResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserCertGet/{login}` — Read the certificate of an account. Parameters: login (path, integer (int64), required). Returns: MT5CertificateApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserCertUpdate/{login}` — Install or replace the certificate of an account. Parameters: login (path, integer (int64), required). Body: MT5CertificateRequest. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserCertDelete/{login}` — Reset the certificate of an account. Parameters: login (path, integer (int64), required). Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserCertConfirm/{login}` — Confirm the certificate of an account. Parameters: login (path, integer (int64), required). Returns: MT5ResultApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserExternalGet/{account}` — Read an account by its number in an external trading system, from the cached copy. Parameters: account (path, string, required), gatewayId (query, integer (int64)). Returns: MT5UserApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserExternalRequest/{account}` — Read an account by its number in an external trading system, from the trade server. Parameters: account (path, string, required), gatewayId (query, integer (int64)). Returns: MT5UserApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserExternalSync/{login}` — Synchronize an account with an external trading system. Parameters: login (path, integer (int64), required). Body: MT5ExternalSyncRequest. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserBalanceCheck/{login}` — Check the balance and credit of an account against its deals history. Parameters: login (path, integer (int64), required), fix (query, boolean). Returns: MT5BalanceCheckResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserBalanceCheckBatch` — Check the balance and credit of several accounts against their deals history. Body: MT5BalanceCheckBatchRequest. Returns: MT5BalanceCheckResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserDeleteBatch` — Remove several accounts. Body: MT5UserDeleteBatchRequest. Returns: MT5UserBatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserUpdateBatch` — Change several accounts. Body: MT5UserUpdateBatchRequest. Returns: MT5UserBatchResultListApiResponse - `POST /api/v2/MT5/{tradePlatform}/UserUpdateBatchArray` — Change several accounts, submitted as separate records. Body: MT5UserUpdateBatchRequest. Returns: MT5UserBatchResultListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserAccountGetByGroup/{mask}` — Read the trading state of a group of accounts from the cached copy. Parameters: mask (path, string, required). Returns: MT5AccountListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserAccountGetByLogins` — Read the trading state of several accounts from the cached copy. Parameters: logins (query, integer (int64)[]). Returns: MT5AccountListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserAccountRequestArray/{group}` — Request the trading state of a group of accounts from the trade server. Parameters: group (path, string, required). Returns: MT5AccountListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserAccountRequestByLogins` — Request the trading state of several accounts from the trade server. Parameters: logins (query, integer (int64)[]). Returns: MT5AccountListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserRequestArray/{group}` — Request the records of a group of accounts from the trade server. Parameters: group (path, string, required). Returns: MT5UserListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserRequestByLogins` — Request the records of several accounts from the trade server. Parameters: logins (query, integer (int64)[]). Returns: MT5UserListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserLogins/{group}` — List the logins of a group. Parameters: group (path, string, required). Returns: UInt64ListApiResponse - `GET /api/v2/MT5/{tradePlatform}/UserGroup/{login}` — Read the group of an account. Parameters: login (path, integer (int64), required). Returns: StringApiResponse - `POST /api/v2/MT5/{tradePlatform}/EmailSend` — Send an email from one of the mail configurations of the trade server. Body: MT5EmailSendRequest. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/MessengerSend` — Send an SMS through the messenger integration of the trade server. Body: MT5MessengerSendRequest. Returns: MT5ResultApiResponse - `POST /api/v2/MT5/{tradePlatform}/MessengerVerifyPhone` — Validate a phone number against the local numbering rules. Body: string. Returns: BooleanApiResponse - `POST /api/v2/MT5/{tradePlatform}/NotificationsSend` — Send a push notification to mobile terminals. Body: MT5NotificationsSendRequest. Returns: MT5ResultApiResponse ## API v1 (legacy) — RESTful WebAPI for MT4/MT5 101 operations — General 4, MT4 42, MT5 55. HTML reference: https://cloud.mywebapi.com/reference/v1/ · OpenAPI JSON: https://cloud.mywebapi.com/swagger/v1/swagger.json ### Organizations Reference page: https://cloud.mywebapi.com/reference/v1/organizations/ - `GET /api/Organizations` — all organizations. Returns: Organization[] ### TradePlatforms Reference page: https://cloud.mywebapi.com/reference/v1/trade-platforms/ - `GET /api/TradePlatforms` — All Trade Platforms. Returns: TradePlatform[] - `GET /api/TradePlatforms/{tradePlatform}` — Trade Platform. Returns: TradePlatform - `GET /api/TradePlatforms/{tradePlatform}/Ping` — Status of the trade-server connection. Returns: boolean ### MT4 :: Common Reference page: https://cloud.mywebapi.com/reference/v1/mt4-common/ - `GET /api/MT4/{tradePlatform}/ManagerCommon` — Server settings (short). Returns: ConCommonShort - `GET /api/MT4/{tradePlatform}/ServerTime` — Server time. Returns: string (date-time) - `GET /api/MT4/{tradePlatform}/ManagerCommonEx` — Server settings. Returns: ConCommon - `GET /api/MT4/{tradePlatform}/JournalRequest/{from}/{to}/{mode}/{filter}` — Journal. Parameters: from (path, string (date-time), required), to (path, string (date-time)), mode (path, EnLogType), filter (path, string). Returns: ServerLog[] ### MT4 :: Groups Reference page: https://cloud.mywebapi.com/reference/v1/mt4-groups/ - `GET /api/MT4/{tradePlatform}/GroupsGet` — All groups (pumping). Returns: ConGroup[] - `GET /api/MT4/{tradePlatform}/GroupsRequest` — All groups. Returns: ConGroup[] - `GET /api/MT4/{tradePlatform}/GroupRecordGet/{group}` — Group (pumping). Parameters: group (path, string, required). Returns: ConGroup - `GET /api/MT4/{tradePlatform}/CfgRequestGroup` — All groups (admin). Returns: ConGroup[] - `POST /api/MT4/{tradePlatform}/CfgUpdateGroup` — Update group settings (admin). Body: ConGroup. Returns: boolean ### MT4 :: Prices Reference page: https://cloud.mywebapi.com/reference/v1/mt4-prices/ - `GET /api/MT4/{tradePlatform}/SymbolAdd/{symbol}` — Add to "Market Watch". Parameters: symbol (path, string, required). Returns: boolean - `GET /api/MT4/{tradePlatform}/SymbolHide/{symbol}` — Remove from "Market Watch". Parameters: symbol (path, string, required). Returns: boolean - `GET /api/MT4/{tradePlatform}/TickInfoLast/{symbol}` — Recent ticks. Parameters: symbol (path, string, required). Returns: TickInfo - `GET /api/MT4/{tradePlatform}/TickInfoLast` — All recent ticks. Returns: TickInfo[] - `GET /api/MT4/{tradePlatform}/TicksRequest/{symbol}/{start}/{end}/{flags}` — Ticks history. Parameters: symbol (path, string, required), start (path, string (date-time), required), end (path, string (date-time), required), flags (path, TickRequestFlags). Returns: TickRecord[] - `GET /api/MT4/{tradePlatform}/ChartRequest/{symbol}/{period}/{start}/{end}/{mode}` — Chart history. Parameters: symbol (path, string, required), period (path, ChartPeriod, required), start (path, string (date-time), required), end (path, string (date-time), required), mode (path, RequestMode). Returns: RateInfoEx[] ### MT4 :: Symbols Reference page: https://cloud.mywebapi.com/reference/v1/mt4-symbols/ - `GET /api/MT4/{tradePlatform}/SymbolsGetAll` — All symbols (pumping). Returns: ConSymbol[] - `GET /api/MT4/{tradePlatform}/SymbolsGetAll/{symbol}` — Symbol (pumping). Parameters: symbol (path, string, required). Returns: ConSymbol - `GET /api/MT4/{tradePlatform}/CfgRequestSymbol` — All symbols (admin). Returns: ConSymbol[] - `GET /api/MT4/{tradePlatform}/CfgRequestSymbol/{symbol}` — Symbol (admin). Parameters: symbol (path, string, required). Returns: ConSymbol - `POST /api/MT4/{tradePlatform}/CfgUpdateSymbol` — Update (admin). Body: ConSymbol. Returns: boolean - `GET /api/MT4/{tradePlatform}/SymbolsRefresh` — Force synchronize. Returns: boolean - `GET /api/MT4/{tradePlatform}/CfgRequestSymbolGroup` — Get symbol groups (admin). Returns: ConSymbolGroup[] ### MT4 :: Trades Reference page: https://cloud.mywebapi.com/reference/v1/mt4-trades/ - `GET /api/MT4/{tradePlatform}/TradesGet` — All open trades (pumping). Returns: TradeRecordDTO[] - `GET /api/MT4/{tradePlatform}/TradesGet/{ticket}` — Open trade by ticket (pumping). Parameters: ticket (path, integer (int32), required). Returns: TradeRecordDTO - `GET /api/MT4/{tradePlatform}/AdmTradesRequest/{group}/{openOnly}` — All trades by group name (admin). Parameters: group (path, string, required), openOnly (path, boolean, required). Returns: TradeRecordDTO[] - `GET /api/MT4/{tradePlatform}/TradesGetByLogin/{login}/{group}` — Open trades by login and group. Parameters: login (path, integer (int32), required), group (path, string, required). Returns: TradeRecordDTO[] - `POST /api/MT4/{tradePlatform}/AdmTradeRecordModify` — Modify order (admin). Body: TradeRecordDTO. Returns: boolean - `GET /api/MT4/{tradePlatform}/TradeRecordsRequest` — Trades by ticket. Parameters: orders (query, integer (int32)[]). Returns: TradeRecordDTO[] - `POST /api/MT4/{tradePlatform}/TradeTransaction` — Execute 'Trade Transaction'. Body: TradeTransInfo. Returns: TradeTransInfo - `GET /api/MT4/{tradePlatform}/TradesUserHistory/{login}/{fromTime}/{toTime}` — Trade history. Parameters: login (path, integer (int32), required), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: TradeRecordDTO[] ### MT4 :: Users Reference page: https://cloud.mywebapi.com/reference/v1/mt4-users/ - `GET /api/MT4/{tradePlatform}/UsersGet` — All users (pumping). Returns: UserRecord[] - `GET /api/MT4/{tradePlatform}/UserRecordsRequest` — Users by login. Parameters: logins (query, integer (int32)[]). Returns: UserRecord[] - `GET /api/MT4/{tradePlatform}/UsersRequest` — All users. Returns: UserRecord[] - `GET /api/MT4/{tradePlatform}/UserRecordGet/{login}` — User (pumping). Parameters: login (path, integer (int32), required). Returns: UserRecord - `POST /api/MT4/{tradePlatform}/UserRecordNew` — Create new user. Body: UserRecordNew. Returns: UserRecordNew - `POST /api/MT4/{tradePlatform}/UserRecordUpdate` — Update user. Body: UserRecord. Returns: boolean - `GET /api/MT4/{tradePlatform}/MarginLevelGet/{login}` — Margin level (pumping). Parameters: login (path, integer (int32), required). Returns: MarginLevel - `GET /api/MT4/{tradePlatform}/MarginLevelRequest/{login}` — Margin level. Parameters: login (path, integer (int32), required). Returns: MarginLevel - `POST /api/MT4/{tradePlatform}/UserPasswordCheck/{login}` — Password - check. Parameters: login (path, integer (int32), required). Body: string. Returns: boolean - `POST /api/MT4/{tradePlatform}/UserPasswordSet/{login}` — Password - change. Parameters: login (path, integer (int32), required), changeInvestor (query, boolean), cleanPubkey (query, boolean). Body: string. Returns: boolean - `GET /api/MT4/{tradePlatform}/AdmBalanceCheck/{login}` — Balance - check (admin). Parameters: login (path, integer (int32), required). Returns: BalanceDiff - `GET /api/MT4/{tradePlatform}/AdmBalanceFix/{login}` — Balance - fix (admin). Parameters: login (path, integer (int32), required). Returns: boolean ### MT5 :: Clients Reference page: https://cloud.mywebapi.com/reference/v1/mt5-clients/ - `GET /api/MT5/{tradePlatform}/UserDelete/{login}` — Delete user. Parameters: login (path, integer (int64), required). Returns: MT5Result - `POST /api/MT5/{tradePlatform}/ClientAdd` — Add client. Body: MT5Client. Returns: MT5Client - `GET /api/MT5/{tradePlatform}/ClientUserAdd/{clientId}/{login}` — Attach account to user. Parameters: clientId (path, integer (int64), required), login (path, integer (int64), required). Returns: MT5Result - `GET /api/MT5/{tradePlatform}/ClientRequest/{clientId}` — Request Client. Parameters: clientId (path, integer (int64), required). Returns: MT5Client - `GET /api/MT5/{tradePlatform}/ClientDelete/{clientId}` — Delete Client. Parameters: clientId (path, integer (int64), required). Returns: MT5Result ### MT5 :: Configuration Databases :: Groups Reference page: https://cloud.mywebapi.com/reference/v1/mt5-configuration-databases-groups/ - `GET /api/MT5/{tradePlatform}/GroupGet/{group}` — Group by name (pumping). Parameters: group (path, string, required). Returns: MT5ConGroup - `GET /api/MT5/{tradePlatform}/GroupRequest/{group}` — Group by name. Parameters: group (path, string, required). Returns: MT5ConGroup - `GET /api/MT5/{tradePlatform}/GroupRequestArray/{mask}` — Groups by mask. Parameters: mask (path, string, required). Returns: MT5ConGroup[] ### MT5 :: Configuration Databases :: Managers Reference page: https://cloud.mywebapi.com/reference/v1/mt5-configuration-databases-managers/ - `GET /api/MT5/{tradePlatform}/ManagerCurrent` — Configuration of the current manager account. Returns: MT5ConManager ### MT5 :: Configuration Databases :: Symbols Reference page: https://cloud.mywebapi.com/reference/v1/mt5-configuration-databases-symbols/ - `GET /api/MT5/{tradePlatform}/SymbolGet/{symbol}` — Symbol by name (pumping). Parameters: symbol (path, string, required). Returns: MT5Symbol - `POST /api/MT5/{tradePlatform}/SymbolUpdate/{symbol}` — Update Symbol. Parameters: symbol (path, string, required). Body: MT5Symbol. Returns: boolean - `GET /api/MT5/{tradePlatform}/SymbolRequestArray/{mask}/{group}` — Symbols by mask. Parameters: mask (path, string, required), group (path, string). Returns: MT5Symbol[] ### MT5 :: Configuration Databases :: Time Reference page: https://cloud.mywebapi.com/reference/v1/mt5-configuration-databases-time/ - `GET /api/MT5/{tradePlatform}/TimeServer` — Get server time. Returns: string (date-time) - `GET /api/MT5/{tradePlatform}/TimeGet` — Time configuration. Returns: MT5ConTime ### MT5 :: History Data Reference page: https://cloud.mywebapi.com/reference/v1/mt5-history-data/ - `GET /api/MT5/{tradePlatform}/ChartRequest/{symbol}/{fromTime}/{toTime}` — Minute bars for a symbol. Parameters: symbol (path, string, required), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: MT5ChartBar[] ### MT5 :: Trade Activity :: Dealing Reference page: https://cloud.mywebapi.com/reference/v1/mt5-trade-activity-dealing/ - `POST /api/MT5/{tradePlatform}/DealerSend` — Send trade request. Body: MT5Request. Returns: MT5Request - `POST /api/MT5/{tradePlatform}/DealerBalance` — Send balance request. Body: DealerBalanceRequest. Returns: integer (int32) - `POST /api/MT5/{tradePlatform}/DealerBalanceRaw` — Send raw balance request (bypasses validation). Body: DealerBalanceRequest. Returns: integer (int32) ### MT5 :: Trade Databases :: Deals Reference page: https://cloud.mywebapi.com/reference/v1/mt5-trade-databases-deals/ - `GET /api/MT5/{tradePlatform}/DealRequest/{login}/{fromTime}/{toTime}` — Deals history by a login. Parameters: login (path, integer (int64), required), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: MT5Deal[] - `GET /api/MT5/{tradePlatform}/DealRequestByGroup/{mask}/{fromTime}/{toTime}` — Deals by user group mask. Parameters: mask (path, string, required), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: MT5Deal[] - `GET /api/MT5/{tradePlatform}/DealRequestByGroupSymbol/{mask}/{symbol}/{fromTime}/{toTime}` — Deals by user group mask and symbol. Parameters: mask (path, string, required), symbol (path, string, required), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: MT5Deal[] - `GET /api/MT5/{tradePlatform}/DealRequestByTickets` — Deals by the list of tickets. Parameters: tickets (query, integer (int64)[]). Returns: MT5Deal[] - `POST /api/MT5/{tradePlatform}/DealRequestByTickets` — (Request) Deals by the list of tickets. Body: integer (int64)[]. Returns: MT5Deal[] - `GET /api/MT5/{tradePlatform}/DealRequestByLogins/{fromTime}/{toTime}` — Deals by the list of logins. Parameters: logins (query, integer (int64)[]), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: MT5Deal[] - `GET /api/MT5/{tradePlatform}/DealRequestByTicket/{ticket}` — Deal by a ticket. Parameters: ticket (path, integer (int64), required). Returns: MT5Deal - `POST /api/MT5/{tradePlatform}/DealUpdate` — Update Deal. Body: MT5Deal. Returns: boolean - `POST /api/MT5/{tradePlatform}/DealDeleteBatch` — Delete deals from the server database in bulk. Body: integer (int64)[]. Returns: MT5Result[] ### MT5 :: Trade Databases :: Orders Reference page: https://cloud.mywebapi.com/reference/v1/mt5-trade-databases-orders/ - `GET /api/MT5/{tradePlatform}/OrderGetByGroup/{mask}` — Orders (unfulfilled) by user group mask (pumping). Parameters: mask (path, string, required). Returns: MT5Order[] - `GET /api/MT5/{tradePlatform}/OrderGetBySymbol/{mask}/{symbol}` — Orders (unfulfilled) by user group mask and symbol (pumping). Parameters: mask (path, string, required), symbol (path, string, required). Returns: MT5Order[] - `GET /api/MT5/{tradePlatform}/OrderRequestByGroup/{mask}` — Orders by user group mask. Parameters: mask (path, string, required). Returns: MT5Order[] - `GET /api/MT5/{tradePlatform}/OrderRequestByGroupSymbol/{mask}/{symbol}` — Orders by user group mask and symbol. Parameters: mask (path, string, required), symbol (path, string, required). Returns: MT5Order[] - `POST /api/MT5/{tradePlatform}/OrderDeleteBatch` — Delete orders from the server database in bulk. Body: integer (int64)[]. Returns: MT5Result[] - `GET /api/MT5/{tradePlatform}/HistoryRequest/{login}/{fromTime}/{toTime}` — Orders history. Parameters: login (path, integer (int64), required), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: MT5Order[] - `GET /api/MT5/{tradePlatform}/HistoryRequestByGroup/{mask}/{fromTime}/{toTime}` — Orders history by group mask. Parameters: mask (path, string, required), fromTime (path, string (date-time)), toTime (path, string (date-time)). Returns: MT5Order[] - `POST /api/MT5/{tradePlatform}/HistoryRequestByTickets` — (Request) Orders history by list of ticket. Body: integer (int64)[]. Returns: MT5Order[] - `GET /api/MT5/{tradePlatform}/OrderGet/{ticket}` — Order (unfulfilled) by a ticket (pumping). Parameters: ticket (path, integer (int64), required). Returns: MT5Order - `GET /api/MT5/{tradePlatform}/OrderGetByLogins` — Orders (unfulfilled) by the list of logins (pumping). Parameters: logins (query, integer (int64)[]). Returns: MT5Order[] - `GET /api/MT5/{tradePlatform}/OrderGetByTickets` — Orders (unfulfilled) by the list of tickets (pumping). Parameters: tickets (query, integer (int64)[]). Returns: MT5Order[] - `POST /api/MT5/{tradePlatform}/OrderRequestByTickets` — (Request) Orders by the list of tickets. Body: integer (int64)[]. Returns: MT5Order[] ### MT5 :: Trade Databases :: Positions Reference page: https://cloud.mywebapi.com/reference/v1/mt5-trade-databases-positions/ - `GET /api/MT5/{tradePlatform}/PositionGet/{login}` — Positions by login (pumping). Parameters: login (path, integer (int64), required). Returns: MT5Position[] - `GET /api/MT5/{tradePlatform}/PositionGetByLogins` — Positions by logins (pumping). Parameters: logins (query, integer (int64)[]). Returns: MT5Position[] - `GET /api/MT5/{tradePlatform}/PositionGetByTickets` — Positions by tickets (pumping). Parameters: tickets (query, integer (int64)[]). Returns: MT5Position[] - `GET /api/MT5/{tradePlatform}/PositionRequestByGroup/{mask}` — Positions by user group mask (pumping). Parameters: mask (path, string, required). Returns: MT5Position[] - `GET /api/MT5/{tradePlatform}/PositionGetBySymbol/{mask}/{symbol}` — Positions by user group mask and symbol (pumping). Parameters: mask (path, string, required), symbol (path, string, required). Returns: MT5Position[] - `POST /api/MT5/{tradePlatform}/PositionDeleteBatch` — Delete positions from the server database in bulk. Body: integer (int64)[]. Returns: MT5Result[] ### MT5 :: Users Reference page: https://cloud.mywebapi.com/reference/v1/mt5-users/ - `POST /api/MT5/{tradePlatform}/UserAdd` — Add user. Body: MT5UserAdd. Returns: MT5UserAdd - `GET /api/MT5/{tradePlatform}/UserRequest/{login}` — Request User. Parameters: login (path, integer (int64), required). Returns: MT5User - `GET /api/MT5/{tradePlatform}/UserAccountGet/{login}` — Get Account (pumping). Parameters: login (path, integer (int64), required). Returns: MT5Account - `GET /api/MT5/{tradePlatform}/UserGetByLogins` — Accounts by the list of logins (pumping). Parameters: logins (query, integer (int64)[]). Returns: MT5User[] - `GET /api/MT5/{tradePlatform}/UserGet/{login}` — Get User (pumping). Parameters: login (path, integer (int64), required). Returns: MT5User - `GET /api/MT5/{tradePlatform}/UserGetByGroup/{mask}` — User get by Group (pumping). Parameters: mask (path, string, required). Returns: MT5User - `GET /api/MT5/{tradePlatform}/UserAccountRequest/{login}` — Request Account. Parameters: login (path, integer (int64), required). Returns: MT5Account - `POST /api/MT5/{tradePlatform}/UserUpdate` — Update User. Body: MT5User. Returns: boolean - `POST /api/MT5/{tradePlatform}/UserPasswordCheck/{login}/{type}` — Password - check. Parameters: login (path, integer (int64), required), type (path, UsersPasswords, required). Body: string. Returns: boolean - `POST /api/MT5/{tradePlatform}/UserPasswordChange/{login}/{type}` — Password - change. Parameters: login (path, integer (int64), required), type (path, UsersPasswords, required). Body: string. Returns: boolean MetaTrader, MT4, MT5 and MetaQuotes are trademarks or registered trademarks of MetaQuotes Ltd. CPlugin is not affiliated with, endorsed by, or sponsored by MetaQuotes Ltd.