MT4Account — Master Overview¶
One page to orient fast: what lives where, how to choose the right API, and jump links to every overview and method spec in this docs set.
🚦 Start here — Section Overviews¶
-
Account_Information — Overview Account balance/equity/margins, summary snapshot.
-
Market_Quota_Symbols — Overview Quotes, symbols, ticks, bars history, symbol parameters, tick values.
-
Orders_Positions_History — Overview What's open now, tickets, order details.
-
Trading_Actions — Overview Place/modify/close orders, close by opposite position.
-
Streams — Overview Live streams: ticks, trade events, tickets, profit snapshots.
🧠How to pick an API¶
| If you need… | Go to… | Typical calls |
|---|---|---|
| Account snapshot | Account_Information | account_summary |
| Quotes & market data | Market_Quota_Symbols | quote, quote_many, quote_history, symbols, symbol_params_many |
| Live positions & tickets | Orders.Positions.History | opened_orders, opened_orders_tickets |
| Trading actions | Trading_Actions | order_send, order_modify, order_close_delete, order_close_by |
| Realtime updates | Streams | on_symbol_tick, on_trade, on_opened_orders_tickets, on_opened_orders_profit |
🔌 Usage pattern (SDK wrappers)¶
Every method follows the same shape:
- Service/Method (gRPC):
Service.Method(Request) → Reply - Low-level stub:
ServiceStub.Method(request, metadata, timeout) - SDK wrapper (what you call):
await MT4Account.method_name(..., deadline=None, cancellation_event=None) - Reply: SDK returns
.datapayload (already unwrapped) unless otherwise noted.
Timestamps = UTC (google.protobuf.Timestamp). For long‑lived streams, pass a cancellation_event.
📚 Full Index · All Method Specs¶
📄 Account Information¶
- Summary – account_summary.md
📊 Market · Quota · Symbols¶
- Overview: Market_Quota.Overview.md
Quotes¶
- quote.md — Single symbol quote (bid/ask/time)
- quote_many.md — Multiple symbols quotes
- quote_history.md — Historical bars/ticks
Symbols Inventory¶
- symbols.md — Available symbols list
- symbol_params_many.md — Symbol properties (digits, point, spread, etc.)
Pricing Utils¶
- tick_value_with_size.md — Tick value/size for lot calculations
📦 Orders · Positions · History¶
- Overview: Positions_History_Overview.md
Live Now¶
- opened_orders.md — All open positions (full details)
- opened_orders_tickets.md — Open positions tickets only
🛠Trading Actions¶
- Overview: Trading_Actions_Overview.md
Placement & Lifecycle¶
- order_send.md — Place new order (market/limit/stop)
- order_modify.md — Modify SL/TP/price
- order_close_delete.md — Close position or delete pending order
Advanced¶
- order_close_by.md — Close by opposite position
📡 Streams · Subscriptions¶
- Overview: Streams_Overview.md
Price Updates¶
- on_symbol_tick.md — Real-time tick stream for symbols
Trading Events¶
- on_trade.md — Trade execution events
Positions Snapshots¶
- on_opened_orders_tickets.md — Stream of open tickets
- on_opened_orders_profit.md — Stream of profit updates
🎯 Quick Navigation by Use Case¶
| I want to... | Use this method |
|---|---|
| Get current account balance/equity | account_summary |
| Get current price for EURUSD | quote |
| Get prices for multiple symbols | quote_many |
| Get historical bars/ticks | quote_history |
| List available symbols | symbols |
| Get symbol properties (digits, point, spread) | symbol_params_many |
| Calculate tick value for lot sizing | tick_value_with_size |
| See all open positions | opened_orders |
| Get just the ticket numbers | opened_orders_tickets |
| Place a market order | order_send (type=market) |
| Place a limit order | order_send (type=limit) |
| Place a stop order | order_send (type=stop) |
| Modify SL/TP | order_modify |
| Close a position | order_close_delete |
| Delete pending order | order_close_delete |
| Close by opposite position | order_close_by |
| Stream live prices | on_symbol_tick |
| Watch for trade executions | on_trade |
| Monitor open tickets | on_opened_orders_tickets |
| Monitor profit changes | on_opened_orders_profit |
"May your pips stack high and your drawdowns stay low."