Skip to main content
Glama

metatrader-mcp-server

get_equity.md570 B
# get_equity ⚖️ ## What does it do? Returns your account equity, which is your balance plus floating profit/loss from open positions. ## Parameters - `connection`: The MetaTrader connection object (must be connected!). ## Returns - `float`: Current account equity. ## Raises - `AccountInfoError`: If equity can't be retrieved. - `ConnectionError`: If not connected to the terminal. ## Example ```python equity = get_equity(connection) print(f"Equity: {equity} ⚖️") ``` --- > **Did you know?** Equity is your real-time net worth in the trading world! 🌍

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