Skip to main content
Glama

metatrader-mcp-server

get_currency.md547 B
# get_currency 💱 ## What does it do? Returns the account's deposit currency (e.g., USD, EUR). ## Parameters - `connection`: The MetaTrader connection object (must be connected!). ## Returns - `str`: Account currency code. ## Raises - `AccountInfoError`: If currency can't be retrieved. - `ConnectionError`: If not connected to the terminal. ## Example ```python currency = get_currency(connection) print(f"Account currency: {currency} 💵") ``` --- > **Currency matters!** All your balances and profits are shown in this currency. 🌍

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ariadng/metatrader-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server