Get contract specification
symbol_infoRetrieve the contract specification for a trading symbol, including tick value, spread, contract size, and margin currencies. Use this to check tradable details before placing orders.
Instructions
Return the contract specification for one instrument.
Digits and point size for rounding prices, current spread, minimum stop distance, tick value and size, contract size, the tradable volume range, and the base, profit and margin currencies. Field names are MetaTrader's own. An unknown or unavailable symbol returns a tool error naming the symbol. On the replay source the instrument is generated and the payload carries synthetic=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Instrument name exactly as list_symbols spells it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name. | |
| point | Yes | Value of one point, the smallest price step. | |
| digits | Yes | Decimal places in a quoted price. | |
| source | Yes | Data source that produced this specification. | |
| spread | Yes | Current spread in points. | |
| synthetic | Yes | True when the instrument is generated, not real. | |
| volume_max | Yes | Largest tradable volume, in lots. | |
| volume_min | Yes | Smallest tradable volume, in lots. | |
| description | Yes | Human readable instrument name. | |
| volume_step | Yes | Volume increment, in lots. | |
| spread_float | Yes | True when the broker quotes a floating spread. | |
| currency_base | Yes | Base currency of the instrument. | |
| currency_margin | Yes | Currency the margin is charged in. | |
| currency_profit | Yes | Currency the profit is denominated in. | |
| trade_tick_size | Yes | Smallest price change, in price units. | |
| trade_tick_value | Yes | Profit in the account currency from a one tick move on one lot. | |
| trade_stops_level | Yes | Minimum distance in points between price and a stop or limit order. | |
| trade_freeze_level | Yes | Distance in points within which orders are frozen and cannot be changed. | |
| trade_contract_size | Yes | Units of the base asset in one lot. |