Skip to content

GoMT4 SDK Documentation

ℹ️ Account ID / Session ID: When connecting via Connect / ConnectEx, MetaRPC automatically generates a terminal session GUID and returns it in terminalInstanceGuid. There is no need to call GetId or supply an id header prior to connecting. Subsequent calls (such as subscriptions or order requests) use this session ID automatically.

Complete Go SDK for MetaTrader 4 trading automation via gRPC