MyWebApi.psd1

@{
    RootModule        = 'MyWebApi.psm1'
    ModuleVersion        = '0.6.1'
    GUID              = 'b7e2c1a4-9f3d-4c8e-8a2b-3d5f6e7a8b9c'
    Author            = 'CPlugin'
    CompanyName       = 'CPlugin'
    Copyright         = '(c) 2026 CPlugin. MIT License.'
    Description       = 'PowerShell module for CPlugin WebAPI: REST and real-time (SignalR) cmdlets that work with MetaTrader 4 and MetaTrader 5 servers - accounts, open positions, deposits, trade history, groups, symbols and server configuration for brokers. Product: https://mywebapi.com. Source: https://github.com/CPlugin/mywebapi.com-sdk-powershell. MetaTrader is a trademark of MetaQuotes Ltd.; this module is not affiliated with MetaQuotes.'
    PowerShellVersion = '7.4'
    FunctionsToExport = @(
        'Connect-MT4Realtime',
        'Connect-MT5Realtime',
        'Connect-MyWebApi',
        'Disconnect-MT4Realtime',
        'Disconnect-MT5Realtime',
        'Disconnect-MyWebApi',
        'Get-MT4AdmBalanceCheck',
        'Get-MT4AdmBalanceCheckByLogin',
        'Get-MT4AdmTradesRequest',
        'Get-MT4AdmUsersRequestSafe',
        'Get-MT4BackupInfoOrders',
        'Get-MT4BackupInfoUsers',
        'Get-MT4BackupRequestOrders',
        'Get-MT4BackupRequestUsers',
        'Get-MT4CfgRequestAccess',
        'Get-MT4CfgRequestBackup',
        'Get-MT4CfgRequestCommon',
        'Get-MT4CfgRequestDataServer',
        'Get-MT4CfgRequestFeeder',
        'Get-MT4CfgRequestGatewayAccount',
        'Get-MT4CfgRequestGatewayMarkup',
        'Get-MT4CfgRequestGatewayRule',
        'Get-MT4CfgRequestGroup',
        'Get-MT4CfgRequestHoliday',
        'Get-MT4CfgRequestLiveUpdate',
        'Get-MT4CfgRequestManager',
        'Get-MT4CfgRequestPlugin',
        'Get-MT4CfgRequestSymbol',
        'Get-MT4CfgRequestSymbolBySymbol',
        'Get-MT4CfgRequestSymbolGroup',
        'Get-MT4CfgRequestSync',
        'Get-MT4CfgRequestTime',
        'Get-MT4ChartRequest',
        'Get-MT4DailyReportsRequest',
        'Get-MT4DailyReportsRequestEx',
        'Get-MT4EnsureGroupNameExist',
        'Get-MT4ExposureGet',
        'Get-MT4ExposureValueGet',
        'Get-MT4GroupRecordGet',
        'Get-MT4GroupSecGroupsGet',
        'Get-MT4GroupSecMarginsGet',
        'Get-MT4GroupsGet',
        'Get-MT4GroupsRequest',
        'Get-MT4JournalRequest',
        'Get-MT4LicenseCheck',
        'Get-MT4MailLast',
        'Get-MT4MailsRequest',
        'Get-MT4ManagerCommon',
        'Get-MT4ManagerCommonEx',
        'Get-MT4MarginLevelGet',
        'Get-MT4MarginLevelRequest',
        'Get-MT4MarginsGet',
        'Get-MT4NewsBodyGet',
        'Get-MT4NewsGet',
        'Get-MT4NewsTopicGet',
        'Get-MT4NewsTotal',
        'Get-MT4OnlineGet',
        'Get-MT4OnlineRequest',
        'Get-MT4PerformanceRequest',
        'Get-MT4PluginParamGet',
        'Get-MT4PluginsGet',
        'Get-MT4ReportsRequest',
        'Get-MT4ServerTime',
        'Get-MT4SrvFeederLog',
        'Get-MT4SrvFeeders',
        'Get-MT4SummaryCurrency',
        'Get-MT4SummaryGet',
        'Get-MT4SummaryGetAll',
        'Get-MT4SummaryGetByCount',
        'Get-MT4SummaryGetByType',
        'Get-MT4SymbolInfoGet',
        'Get-MT4SymbolInfoUpdated',
        'Get-MT4SymbolSessionsGet',
        'Get-MT4SymbolsGetAll',
        'Get-MT4SymbolsGetAllBySymbol',
        'Get-MT4TickInfoLast',
        'Get-MT4TickInfoLastBySymbol',
        'Get-MT4TicksRequest',
        'Get-MT4TradeRecordGet',
        'Get-MT4TradeRecordRequest',
        'Get-MT4TradeRecordsRequest',
        'Get-MT4TradesGet',
        'Get-MT4TradesGetByLogin',
        'Get-MT4TradesGetByMarket',
        'Get-MT4TradesGetBySymbol',
        'Get-MT4TradesGetByTicket',
        'Get-MT4TradesRequest',
        'Get-MT4TradesSnapshot',
        'Get-MT4TradesSyncRead',
        'Get-MT4TradesUserHistory',
        'Get-MT4UserRecordGet',
        'Get-MT4UserRecordRequest',
        'Get-MT4UserRecordsRequest',
        'Get-MT4UsersGet',
        'Get-MT4UsersRequest',
        'Get-MT4UsersSnapshot',
        'Get-MT4UsersSyncRead',
        'Get-MT5AttachmentRequest',
        'Get-MT5BookGet',
        'Get-MT5ChartRequest',
        'Get-MT5ClientRequest',
        'Get-MT5ClientRequestByGroup',
        'Get-MT5ClientRequestHistory',
        'Get-MT5ClientUserRequest',
        'Get-MT5CommentRequest',
        'Get-MT5CommentRequestByClient',
        'Get-MT5CommentRequestByDocument',
        'Get-MT5DailyRequest',
        'Get-MT5DailyRequestByGroup',
        'Get-MT5DailyRequestLight',
        'Get-MT5DailyRequestLightByGroup',
        'Get-MT5DealRequest',
        'Get-MT5DealRequestByGroup',
        'Get-MT5DealRequestByGroupSymbol',
        'Get-MT5DealRequestByLogins',
        'Get-MT5DealRequestByLoginsSymbol',
        'Get-MT5DealRequestByTicket',
        'Get-MT5DealRequestByTickets',
        'Get-MT5DealRequestPage',
        'Get-MT5DocumentRequest',
        'Get-MT5DocumentRequestByClient',
        'Get-MT5DocumentRequestHistory',
        'Get-MT5ExposureCurrency',
        'Get-MT5ExposureGet',
        'Get-MT5ExposureGetAll',
        'Get-MT5GeoResolve',
        'Get-MT5GeoResolveBatch',
        'Get-MT5GroupGet',
        'Get-MT5GroupRequest',
        'Get-MT5GroupRequestArray',
        'Get-MT5HistoryRequest',
        'Get-MT5HistoryRequestByGroup',
        'Get-MT5HistoryRequestByGroupSymbol',
        'Get-MT5HistoryRequestByLogins',
        'Get-MT5HistoryRequestByLoginsSymbol',
        'Get-MT5HistoryRequestPage',
        'Get-MT5LeverageGet',
        'Get-MT5LeverageRequest',
        'Get-MT5LeverageRequestArray',
        'Get-MT5LoggerServerRequest',
        'Get-MT5MailBodyRequest',
        'Get-MT5MailRequest',
        'Get-MT5ManagerCurrent',
        'Get-MT5NetworkAddress',
        'Get-MT5NetworkBytesRead',
        'Get-MT5NetworkBytesSent',
        'Get-MT5NetworkServer',
        'Get-MT5NewsBodyRequest',
        'Get-MT5NewsRequest',
        'Get-MT5OnlineGet',
        'Get-MT5OnlineRequest',
        'Get-MT5OrderGet',
        'Get-MT5OrderGetByGroup',
        'Get-MT5OrderGetByLogins',
        'Get-MT5OrderGetBySymbol',
        'Get-MT5OrderGetByTickets',
        'Get-MT5OrderGetOpen',
        'Get-MT5OrderRequest',
        'Get-MT5OrderRequestByGroup',
        'Get-MT5OrderRequestByGroupSymbol',
        'Get-MT5OrderRequestByLogins',
        'Get-MT5OrderRequestByLoginsSymbol',
        'Get-MT5OrderRequestOpen',
        'Get-MT5PluginGet',
        'Get-MT5PositionGet',
        'Get-MT5PositionGetByGroup',
        'Get-MT5PositionGetByLogins',
        'Get-MT5PositionGetBySymbol',
        'Get-MT5PositionGetByTicket',
        'Get-MT5PositionGetByTickets',
        'Get-MT5PositionRequest',
        'Get-MT5PositionRequestByGroup',
        'Get-MT5PositionRequestByGroupSymbol',
        'Get-MT5PositionRequestByLogins',
        'Get-MT5PositionRequestByLoginsSymbol',
        'Get-MT5RequestGet',
        'Get-MT5RequestGetAll',
        'Get-MT5SelectedNext',
        'Get-MT5SettingGet',
        'Get-MT5SubscriptionCfgGet',
        'Get-MT5SubscriptionCfgGetByID',
        'Get-MT5SubscriptionCfgRequest',
        'Get-MT5SubscriptionCfgRequestByID',
        'Get-MT5SubscriptionHistoryRequest',
        'Get-MT5SubscriptionHistoryRequestByGroup',
        'Get-MT5SubscriptionHistoryRequestByID',
        'Get-MT5SubscriptionHistoryRequestByIDs',
        'Get-MT5SubscriptionHistoryRequestByLogins',
        'Get-MT5SubscriptionRequest',
        'Get-MT5SubscriptionRequestByGroup',
        'Get-MT5SubscriptionRequestByID',
        'Get-MT5SubscriptionRequestByIDs',
        'Get-MT5SubscriptionRequestByLogins',
        'Get-MT5SummaryCurrency',
        'Get-MT5SummaryGet',
        'Get-MT5SummaryGetAll',
        'Get-MT5SymbolExist',
        'Get-MT5SymbolGet',
        'Get-MT5SymbolRequest',
        'Get-MT5SymbolRequestArray',
        'Get-MT5TickHistoryRequestRaw',
        'Get-MT5TickLast',
        'Get-MT5TickLastRaw',
        'Get-MT5TicksHistory',
        'Get-MT5TickStat',
        'Get-MT5TimeGet',
        'Get-MT5TimeServer',
        'Get-MT5TimeServerRequest',
        'Get-MT5UserAccountGet',
        'Get-MT5UserAccountGetByGroup',
        'Get-MT5UserAccountGetByLogins',
        'Get-MT5UserAccountRequest',
        'Get-MT5UserAccountRequestArray',
        'Get-MT5UserAccountRequestByLogins',
        'Get-MT5UserCertGet',
        'Get-MT5UserExternalGet',
        'Get-MT5UserExternalRequest',
        'Get-MT5UserGet',
        'Get-MT5UserGetByGroup',
        'Get-MT5UserGetByLogins',
        'Get-MT5UserGroup',
        'Get-MT5UserLogins',
        'Get-MT5UserRequest',
        'Get-MT5UserRequestArray',
        'Get-MT5UserRequestByLogins',
        'Get-MyWebApiTradePlatform',
        'Invoke-MT4AdmBalanceFix',
        'Invoke-MT4AdmTradeRecordModify',
        'Invoke-MT4AdmTradesDelete',
        'Invoke-MT4BackupRestoreOrders',
        'Invoke-MT4BackupRestoreUsers',
        'Invoke-MT4CfgDeleteAccess',
        'Invoke-MT4CfgDeleteDataServer',
        'Invoke-MT4CfgDeleteFeeder',
        'Invoke-MT4CfgDeleteGatewayAccount',
        'Invoke-MT4CfgDeleteGatewayMarkup',
        'Invoke-MT4CfgDeleteGatewayRule',
        'Invoke-MT4CfgDeleteHoliday',
        'Invoke-MT4CfgDeleteLiveUpdate',
        'Invoke-MT4CfgDeleteManager',
        'Invoke-MT4CfgDeleteSymbol',
        'Invoke-MT4CfgDeleteSync',
        'Invoke-MT4CfgShiftAccess',
        'Invoke-MT4CfgShiftDataServer',
        'Invoke-MT4CfgShiftFeeder',
        'Invoke-MT4CfgShiftGatewayAccount',
        'Invoke-MT4CfgShiftGatewayMarkup',
        'Invoke-MT4CfgShiftGatewayRule',
        'Invoke-MT4CfgShiftGroup',
        'Invoke-MT4CfgShiftHoliday',
        'Invoke-MT4CfgShiftLiveUpdate',
        'Invoke-MT4CfgShiftManager',
        'Invoke-MT4CfgShiftPlugin',
        'Invoke-MT4CfgShiftSymbol',
        'Invoke-MT4CfgShiftSync',
        'Invoke-MT4CfgUpdateAccess',
        'Invoke-MT4CfgUpdateBackup',
        'Invoke-MT4CfgUpdateCommon',
        'Invoke-MT4CfgUpdateDataServer',
        'Invoke-MT4CfgUpdateFeeder',
        'Invoke-MT4CfgUpdateGatewayAccount',
        'Invoke-MT4CfgUpdateGatewayMarkup',
        'Invoke-MT4CfgUpdateGatewayRule',
        'Invoke-MT4CfgUpdateGroup',
        'Invoke-MT4CfgUpdateHoliday',
        'Invoke-MT4CfgUpdateLiveUpdate',
        'Invoke-MT4CfgUpdateManager',
        'Invoke-MT4CfgUpdatePlugin',
        'Invoke-MT4CfgUpdateSymbol',
        'Invoke-MT4CfgUpdateSymbolGroup',
        'Invoke-MT4CfgUpdateSync',
        'Invoke-MT4CfgUpdateTime',
        'Invoke-MT4ChartAdd',
        'Invoke-MT4ChartDelete',
        'Invoke-MT4ChartUpdate',
        'Invoke-MT4DailySyncRead',
        'Invoke-MT4DailySyncStart',
        'Invoke-MT4ExternalCommandBinary',
        'Invoke-MT4ExternalCommandJSON',
        'Invoke-MT4HistoryCorrect',
        'Invoke-MT4LogsMode',
        'Invoke-MT4LogsOut',
        'Invoke-MT4MailSend',
        'Invoke-MT4NewsBodyRequest',
        'Invoke-MT4NewsSend',
        'Invoke-MT4NotificationsSend',
        'Invoke-MT4PluginUpdate',
        'Invoke-MT4SrvChartsSync',
        'Invoke-MT4SrvFeedsRestart',
        'Invoke-MT4SrvLiveUpdateStart',
        'Invoke-MT4SrvRestart',
        'Invoke-MT4SymbolAdd',
        'Invoke-MT4SymbolChange',
        'Invoke-MT4SymbolHide',
        'Invoke-MT4SymbolSendTick',
        'Invoke-MT4SymbolsRefresh',
        'Invoke-MT4TradeCalcProfit',
        'Invoke-MT4TradeCheckStops',
        'Invoke-MT4TradeClearRollback',
        'Invoke-MT4TradesSyncStart',
        'Invoke-MT4TradeTransaction',
        'Invoke-MT4UserPasswordCheck',
        'Invoke-MT4UserPasswordSet',
        'Invoke-MT4UserRecordNew',
        'Invoke-MT4UserRecordUpdate',
        'Invoke-MT4UsersGroupOp',
        'Invoke-MT4UsersSyncStart',
        'Invoke-MT5AttachmentAdd',
        'Invoke-MT5AttachmentAddBatch',
        'Invoke-MT5AttachmentAddBatchArray',
        'Invoke-MT5ChartDelete',
        'Invoke-MT5ChartReplace',
        'Invoke-MT5ChartSplit',
        'Invoke-MT5ChartUpdate',
        'Invoke-MT5ClientAdd',
        'Invoke-MT5ClientAddBatch',
        'Invoke-MT5ClientAddBatchArray',
        'Invoke-MT5ClientDelete',
        'Invoke-MT5ClientDeleteBatch',
        'Invoke-MT5ClientUpdate',
        'Invoke-MT5ClientUpdateBatch',
        'Invoke-MT5ClientUpdateBatchArray',
        'Invoke-MT5ClientUserAdd',
        'Invoke-MT5ClientUserAddBatch',
        'Invoke-MT5ClientUserDelete',
        'Invoke-MT5ClientUserDeleteBatch',
        'Invoke-MT5CommentAdd',
        'Invoke-MT5CommentAddBatch',
        'Invoke-MT5CommentAddBatchArray',
        'Invoke-MT5CommentDelete',
        'Invoke-MT5CommentDeleteBatch',
        'Invoke-MT5CommentUpdate',
        'Invoke-MT5CommentUpdateBatch',
        'Invoke-MT5CommentUpdateBatchArray',
        'Invoke-MT5CustomCommand',
        'Invoke-MT5DailyRequestByLogins',
        'Invoke-MT5DailyRequestLightByLogins',
        'Invoke-MT5DealAdd',
        'Invoke-MT5DealAddBatch',
        'Invoke-MT5DealAddBatchArray',
        'Invoke-MT5DealDelete',
        'Invoke-MT5DealDeleteBatch',
        'Invoke-MT5DealerAnswer',
        'Invoke-MT5DealerBalance',
        'Invoke-MT5DealerBalanceRaw',
        'Invoke-MT5DealerGet',
        'Invoke-MT5DealerLock',
        'Invoke-MT5DealerSend',
        'Invoke-MT5DealerStart',
        'Invoke-MT5DealerStop',
        'Invoke-MT5DealPerform',
        'Invoke-MT5DealPerformBatch',
        'Invoke-MT5DealPerformBatchArray',
        'Invoke-MT5DealRequestByTickets',
        'Invoke-MT5DealUpdate',
        'Invoke-MT5DealUpdateBatch',
        'Invoke-MT5DealUpdateBatchArray',
        'Invoke-MT5DocumentAdd',
        'Invoke-MT5DocumentAddBatch',
        'Invoke-MT5DocumentAddBatchArray',
        'Invoke-MT5DocumentDelete',
        'Invoke-MT5DocumentDeleteBatch',
        'Invoke-MT5DocumentUpdate',
        'Invoke-MT5DocumentUpdateBatch',
        'Invoke-MT5DocumentUpdateBatchArray',
        'Invoke-MT5EmailSend',
        'Invoke-MT5ExposureCurrency',
        'Invoke-MT5GroupUpdate',
        'Invoke-MT5GroupUpdateBatch',
        'Invoke-MT5HistoryRequestByTickets',
        'Invoke-MT5LicenseCheck',
        'Invoke-MT5LoggerFlush',
        'Invoke-MT5LoggerOut',
        'Invoke-MT5LoggerOutString',
        'Invoke-MT5MailDelete',
        'Invoke-MT5MailDeleteId',
        'Invoke-MT5MailSend',
        'Invoke-MT5MessengerSend',
        'Invoke-MT5MessengerVerifyPhone',
        'Invoke-MT5NetworkRescan',
        'Invoke-MT5NewsSend',
        'Invoke-MT5NotificationsSend',
        'Invoke-MT5OnlineDisconnect',
        'Invoke-MT5OnlineDisconnectBatch',
        'Invoke-MT5OrderAdd',
        'Invoke-MT5OrderAddBatch',
        'Invoke-MT5OrderAddBatchArray',
        'Invoke-MT5OrderCancel',
        'Invoke-MT5OrderCancelBatch',
        'Invoke-MT5OrderDelete',
        'Invoke-MT5OrderDeleteBatch',
        'Invoke-MT5OrderRequestByTickets',
        'Invoke-MT5OrderUpdate',
        'Invoke-MT5OrderUpdateBatch',
        'Invoke-MT5OrderUpdateBatchArray',
        'Invoke-MT5PasswordChange',
        'Invoke-MT5PluginUpdate',
        'Invoke-MT5PositionDeleteBatch',
        'Invoke-MT5PositionDeleteByTicket',
        'Invoke-MT5PositionRequestByTickets',
        'Invoke-MT5PositionSplit',
        'Invoke-MT5PositionUpdate',
        'Invoke-MT5PositionUpdateBatch',
        'Invoke-MT5PositionUpdateBatchArray',
        'Invoke-MT5ProxySet',
        'Invoke-MT5SelectedAdd',
        'Invoke-MT5SelectedAddAll',
        'Invoke-MT5SelectedAddBatch',
        'Invoke-MT5SelectedDelete',
        'Invoke-MT5SelectedDeleteAll',
        'Invoke-MT5SelectedDeleteBatch',
        'Invoke-MT5SelectedShift',
        'Invoke-MT5SettingDelete',
        'Invoke-MT5SettingSet',
        'Invoke-MT5SubscriptionCancel',
        'Invoke-MT5SubscriptionCancelBatch',
        'Invoke-MT5SubscriptionDelete',
        'Invoke-MT5SubscriptionDeleteBatch',
        'Invoke-MT5SubscriptionHistoryDelete',
        'Invoke-MT5SubscriptionHistoryDeleteBatch',
        'Invoke-MT5SubscriptionHistoryUpdate',
        'Invoke-MT5SubscriptionHistoryUpdateBatch',
        'Invoke-MT5SubscriptionHistoryUpdateBatchArray',
        'Invoke-MT5SubscriptionJoin',
        'Invoke-MT5SubscriptionJoinBatch',
        'Invoke-MT5SubscriptionUpdate',
        'Invoke-MT5SubscriptionUpdateBatch',
        'Invoke-MT5SubscriptionUpdateBatchArray',
        'Invoke-MT5SummaryCurrency',
        'Invoke-MT5SymbolUpdate',
        'Invoke-MT5SymbolUpdateBatch',
        'Invoke-MT5TickAdd',
        'Invoke-MT5TickAddBatch',
        'Invoke-MT5TickAddStat',
        'Invoke-MT5TickHistoryAdd',
        'Invoke-MT5TickHistoryReplace',
        'Invoke-MT5TradeAccountSet',
        'Invoke-MT5TradeMarginCheck',
        'Invoke-MT5TradeMarginCheckExt',
        'Invoke-MT5TradeProfit',
        'Invoke-MT5TradeProfitExt',
        'Invoke-MT5TradeRateBuy',
        'Invoke-MT5TradeRateSell',
        'Invoke-MT5UserAdd',
        'Invoke-MT5UserBalanceCheck',
        'Invoke-MT5UserBalanceCheckBatch',
        'Invoke-MT5UserCertConfirm',
        'Invoke-MT5UserCertDelete',
        'Invoke-MT5UserCertUpdate',
        'Invoke-MT5UserDelete',
        'Invoke-MT5UserDeleteBatch',
        'Invoke-MT5UserExternalSync',
        'Invoke-MT5UserPasswordChange',
        'Invoke-MT5UserPasswordCheck',
        'Invoke-MT5UserUpdate',
        'Invoke-MT5UserUpdateBatch',
        'Invoke-MT5UserUpdateBatchArray',
        'Receive-MT4Realtime',
        'Receive-MT5Realtime',
        'Register-MT4Realtime',
        'Register-MT5Realtime',
        'Unregister-MT4Realtime',
        'Unregister-MT5Realtime',
        'Update-MT4GroupRecord',
        'Update-MT4SymbolConfig',
        'Update-MT4UserRecord',
        'Update-MT5GroupRecord',
        'Update-MT5SymbolRecord',
        'Update-MT5UserRecord'
    )
    CmdletsToExport   = @()
    VariablesToExport = @()
    AliasesToExport   = @()
    PrivateData = @{
        PSData = @{
            Tags         = @('MT4', 'MT5', 'MetaTrader', 'MetaTrader4', 'MetaTrader5', 'Broker', 'Forex', 'Trading', 'TradingPlatform', 'REST', 'API', 'WebSocket', 'SignalR', 'SDK', 'client', 'PSEdition_Core', 'Windows', 'Linux', 'MacOS')
            LicenseUri   = 'https://github.com/CPlugin/mywebapi.com-sdk-powershell/blob/main/LICENSE'
            # * Product site; the source repository is named in Description and LicenseUri (PSData has no repository field).
            ProjectUri   = 'https://mywebapi.com'
            ReleaseNotes = '0.6.0: cmdlets regenerated from the refreshed WebAPI v2 specification of 24.11.2026 - 456 generated cmdlets, 469 exported functions, no cmdlet added, removed or renamed. The subscription configuration model MT5ConSubscription carries priceCost, the real cost the client is charged, next to the list price; the subscription history model MT5SubscriptionHistory carries the action time in seconds since 1970-01-01. Bodies stay free-form hashtables and responses pass through unchanged, so the new fields need no code change - the generated help follows the refreshed specification.'
        }
    }
}