Core Concepts¶
Understand the fundamental patterns that make syntiq-mt5 predictable and safe.
Overview¶
Every syntiq-mt5 session follows the same lifecycle, every operation returns the same Result[T] type, and every error is captured the same way. Learn these three patterns and you know the entire SDK.
-
The four-step pattern:
initialize → login → use → shutdownCommon mistakes and how to avoid them
-
How every operation returns success or failure
No exceptions, no surprises
-
How MT5 errors are captured and surfaced
Two-level checks for trade operations