Skip to content
CAI
Software that uses CAICheck a score

vdemydiuk/mtapi

32.8

Weak · 17 November 2026

17.5k

lines of production code

C#

with Objective-C

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

10 commits (1 fix) modifying MtClient

A change to existing behaviour in MtClient — 10 commits (1 fix), 2 files: “Issue \#262: function GetQuotes load data from MT instead of using cached quotes”; “MtApi5: Added logger in RpcClient”; “Moved logic related to command to MtRpcClient”; and 7 more (refs \#262, \#296).

MtClient · medium confidence · unverified

10 commits (3 fixes) modifying MtApi/Monitors

A change to existing behaviour in MtApi/Monitors — 10 commits (3 fixs), 13 files: “Issue \#241: fixed issue of incorrect value of CloseTime in orders received from TradeMonitor”; “Update readme.md”; “Updated documentation of newly added classes”; and 7 more (refs \#241, \#208, \#33).

MtApi/Monitors · medium confidence · unverified

107 commits (9 fixes) modifying mq5

A change to existing behaviour in mq5 — 107 commits (9 fixs), 4 files: “Issue \#92: Updated test application (MT5) to use functions IndicatorCreate and IndicatorRelease”; “MQL5: continue updating mql expert according to new core”; “Issue \#21: Added function Print to MtApi (MT5)”; and 103 more (refs \#92, \#21, \#107, \#82, \#119, …).

mq5 · medium confidence · unverified

11 commits (3 fixes) modifying MtService

A change to existing behaviour in MtService — 11 commits (3 fixs), 22 files: “MtService: using default expert if handle is zero”; “MtService: include string to fix build”; “Added message MtClientReady in MtService”; and 8 more (refs \#262).

MtService · medium confidence · unverified

118 commits (11 fixes) modifying MtApi5

A change to existing behaviour in MtApi5 — 118 commits (11 fixs), 36 files: “Issue \#21: Added function Print to MtApi (MT5)”; “Implemented functions ChartId, ChartRedraw, ChartWindowFind, ChartClose (MT5)”; “Issue \#39: Added indicator functions on C\# side (MtApi MT5)”; and 115 more (refs \#21, \#39, \#95, \#17, \#107, …).

MtApi5 · medium confidence · unverified

12 commits (2 fixes) modifying MtApi5Installer

A change to existing behaviour in MtApi5Installer — 12 commits (2 fixs), 2 files: “Issue \#30: Added MtApi5 Bootstrapper project to merge installer and vcredist packages”; “Moved test applications to folder TestClients. Fixed build of installers”; “Updated MtApi5 installer to use new libraries ver 2.0.0”; and 9 more (refs \#30, \#25).

MtApi5Installer · medium confidence · unverified

18 commits (2 fixes) modifying MTConnector

A change to existing behaviour in MTConnector — 18 commits (2 fixs), 14 files: “Added function SymbolInfoInteger into MtApi (MT4). Added function sendLongResponse into library MTConnector”; “Changed algorithm to execute commands in mql expert: used function OnTimer instead OnTick”; “Moved test applications to folder TestClients. Fixed build of installers”; and 15 more (refs \#142, \#230, \#32).

MTConnector · medium confidence · unverified

2 commits (0 fixes) modifying MtApiSetupActions

A change to existing behaviour in MtApiSetupActions — 2 commits, 2 files: “Added custom action to copy MtApi.ex4 file to MetaTrader user folder during installation”; “Refactored MtApi4 (MT4) for working with new architecture”.

MtApiSetupActions · medium confidence · unverified

22 commits (3 fixes) modifying MtApiInstaller

A change to existing behaviour in MtApiInstaller — 22 commits (3 fixs), 3 files: “Added custom action to copy MtApi.ex4 file to MetaTrader user folder during installation”; “Started MtApi (MT4) version 1.0.32”; “Started MtApi version 1.0.27”; and 19 more (refs \#27, \#8, \#7).

MtApiInstaller · medium confidence · unverified

24 commits (3 fixes) modifying MTApiService/Properties

A change to existing behaviour in MTApiService/Properties — 24 commits (3 fixs), 1 file: “Issue \#51: Add support localhost (127.0.0.1) host name”; “Moved test applications to folder TestClients. Fixed build of installers”; “Started version 1.0.25. Added OrderModifyRequest. Changed function OrderModify to use request pattern”; and 21 more (refs \#51, \#113, \#136, \#32).

MTApiService/Properties · medium confidence · unverified

26 commits (6 fixes) modifying MT5Connector

A change to existing behaviour in MT5Connector — 26 commits (6 fixs), 11 files: “Updated MT5Connector with small fixes”; “Fixed type casting to \_\_int64 \[MT5\]”; “Moved test applications to folder TestClients. Fixed build of installers”; and 23 more (refs \#218, \#142, \#136, \#190, \#93, …).

MT5Connector · medium confidence · unverified

3 commits (0 fixes) modifying TestClients/TestMtApi

A change to existing behaviour in TestClients/TestMtApi — 3 commits, 15 files: “- Add some commands to handle with Chart to MT5 api - Add some commands to handle with windows to MT5 api”; “Migrated to VS2015”; “Refactored MtApiService (ver. 1.0.24): Added ExpertHandle to MtQuote and MtEvent. Added event QuoteUpdate to MtApiClient”.

TestClients/TestMtApi · medium confidence · unverified

3 commits (0 fixes) modifying thirdparty

A change to existing behaviour in thirdparty — 3 commits, 15713 files: “Added missed boost headers files”; “Added thirdparty: boost library”; “Added x86 boost libraries”.

thirdparty · medium confidence · unverified

30 commits (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 30 commits, 5 files: “Updated readme: added information about vcredist”; “update gitignore”; “Updated readme file: removed information about WCF”; and 27 more (refs \#142, \#222, \#19).

(repo-wide) · low confidence · unverified

32 commits (1 fix) modifying MTApiService

A change to existing behaviour in MTApiService — 32 commits (1 fix), 27 files: “Issue \#51: Add support localhost (127.0.0.1) host name”; “Issue \#13: changed timeout values of SendTime and ReceiveTime on client side and server sides (12 hours)”; “Updated LogConfigurator to avoid creation of many log files during several clients in one app session”; and 28 more (refs \#51, \#13, \#218, \#122, \#113, …).

MTApiService · medium confidence · unverified

38 commits (5 fixes) modifying TestClients/TestApiClientUI

A change to existing behaviour in TestClients/TestApiClientUI — 38 commits (5 fixs), 6 files: “Issue \#241: fixed issue of incorrect value of CloseTime in orders received from TradeMonitor”; “Changed algorithm to execute commands in mql expert: used function OnTimer instead OnTick”; “Fixed issue \#5: Color representation. MQL uses different color representation than C\# System.Drawing.Color (Thanks Tr4Dr)”; and 35 more (refs \#241, \#5, \#32, \#31, \#226, …).

TestClients/TestApiClientUI · medium confidence · unverified

6 commits (0 fixes) modifying Examples

A change to existing behaviour in Examples — 6 commits, 47 files: “add a simple python example”; “add a simple MatLab example with Output Windows”; “Add a advanced example It uses its own API which I packed between MTApi5 and MatLab. Possible that this is useless, but errors from the .NET assembly are more tradable”; and 3 more.

Examples · medium confidence · unverified

61 commits (5 fixes) modifying TestClients/MtApi5TestClient

A change to existing behaviour in TestClients/MtApi5TestClient — 61 commits (5 fixs), 25 files: “Issue \#92: Updated test application (MT5) to use functions IndicatorCreate and IndicatorRelease”; “Issue \#21: Added function Print to MtApi (MT5)”; “Chart Commands: - ChartSaveTemplate Implemented”; and 58 more (refs \#92, \#21, \#107, \#82, \#119, …).

TestClients/MtApi5TestClient · medium confidence · unverified

66 commits (7 fixes) modifying MtApi

A change to existing behaviour in MtApi — 66 commits (7 fixs), 53 files: “Added function SymbolInfoInteger into MtApi (MT4). Added function sendLongResponse into library MTConnector”; “Issue \#82: Refactored MQL5 expert to use json in function OrderSend”; “Fixed issue \#5: Color representation. MQL uses different color representation than C\# System.Drawing.Color (Thanks Tr4Dr)”; and 63 more (refs \#82, \#5, \#32, \#53, \#31, …).

MtApi · medium confidence · unverified

73 commits (16 fixes) modifying mq4

A change to existing behaviour in mq4 — 73 commits (16 fixs), 5 files: “Disable code to print event payload in MQL code (MT4)”; “Issue \#238: update codepage MtApi.mq4 to UTF-8”; “Added function SymbolInfoInteger into MtApi (MT4). Added function sendLongResponse into library MTConnector”; and 70 more (refs \#238, \#291, \#32, \#53, \#173, …).

mq4 · medium confidence · unverified

Dependencies

78 commits updating dependencies (14 manifests)

A dependency / build maintenance change in (dependencies) — 78 commits (6 fixs), 14 files: “Added custom action to copy MtApi.ex4 file to MetaTrader user folder during installation”; “add a simple python example”; “Issue \#39: Added indicator functions on C\# side (MtApi MT5)”; and 75 more (refs \#39, \#82, \#119, \#32, \#122, …).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 32.8.

Lenses

  • Code Health 46.7
  • Architecture 71.6
  • Maturity 58.5
  • Readiness 19.3
  • Security 29.3
  • Performance 100.0

Changes since last survey

  • 300 commits — 268 feature/other, 32 fixes

By area

  • (repo) — 37 commits
  • TestClients/MtApi5TestClient — 31 commits
  • MtApi5/MtApi5Client.cs — 27 commits
  • mq5/MtApi5.ex5 — 26 commits
  • (root) — 22 commits
  • MtApi5/Requests — 15 commits
  • MtApi5/Properties — 12 commits
  • mq5/MtApi5.mq5 — 12 commits
  • MT5Connector/MT5Connector.cpp — 9 commits
  • MtApi5/Mt5CommandType.cs — 8 commits
  • MtApi/Monitors — 7 commits
  • MtApi5/Mt5Enums.cs — 7 commits
  • mq4/MtApi.ex4 — 6 commits
  • MtApi/Properties — 5 commits
  • MtApi5/Events — 5 commits
  • TestClients/TestApiClientUI — 5 commits
  • MTApiService/LogConfigurator.cs — 4 commits
  • Examples/MatLab — 3 commits
  • MTApiService/Properties — 3 commits
  • MtApi/MtApiClient.cs — 3 commits

Notable commits

  • fix: - Bug fix - when click in chartApplyTemplateButton, store template file in right place
  • fix: Bugfix in TimerTradeMonitor
  • fix: Fix null reference exception
  • fix: Fix: error-checking condition was inverted.
  • fix: Fixed bug in parsing MtEvent
  • fix: Fixed type casting to __int64 [MT5]
  • fix: Issue #102: fixed long type of result in function SeriesInfoInteger
  • fix: Issue #208: fixed issue with calling CheckOrders after starting TradeMonitor event MtApi has disconnected state
  • fix: Issue #226: added small fix to stop expert correctly in backtesting mode
  • fix: Issue #241: fixed issue of incorrect value of CloseTime in orders received from TradeMonitor
  • fix: Issue #246: fixed type of parameter 'Deviation' in functions iBands, iBandsOnArray (MT4)
  • fix: Issue #291: Fixed json.mqh (MT4 and MT5)
  • fix: Issue #72: Fixed bug with serialization of parameters in functions HistoryDealGetInteger, HistoryDealGetString, HistoryDealGetDouble
  • fix: Issue #80: Fixed wrong condition on fetch first parameter in function Execute_TerminalInfoString
  • fix: Issue #84: Fixed bug in function HistoryOrderGetInteger, there was wrong return value type
  • fix: Issue #93: Added event OnTradeTransaction. Udpated json.mqh to fix JSONNumber for correct serialization zero integer value".
  • fix: MQL4: fixed parsing arguments of function iCustom
  • fix: MQL5: fixed parameter in function iChaikin
  • fix: MQL5: fixed parsing arguments of function iCustom
  • fix: MQL5: fixed warnings of compiling json.mqh
  • …and 280 more

Architecture

  • 3 containers · 0 bounded contexts · 0 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

vdemydiuk/mtapi was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit dac342da2cdfc53b0b227e1d831c87a843aa525a — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.