get_market_price
Returns the LIVE price of a crypto or MT5 symbol: last (+ bid/ask if available) + ts + source.
This is the server's current price for the symbol, used for SL/TP/limit levels. For
sl_pct/tp_pct orders the server reads the live entry itself. Source order:
(1) the shared price cache (~1s fresh), (2) if not cached, a single live REST call to the
exchange. If the price is older than 10s OR cannot be fetched, that is stated EXPLICITLY —
a stale price is never presented as live.
If venue is given, that exchange is used; otherwise the user's CONNECTED exchanges are
searched. venue="paper" returns the exact price the paper engine fills at. If the symbol is
found on no exchange, price_unavailable is returned (no DEX guess: a ticker symbol does not
identify a DEX token reliably).
Returns: {ok, venue, symbol, last, bid, ask, ts, source, age_sec} or {ok:false, error,...}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_market_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | No | Exchange/venue name — must be one of the user's CONNECTED accounts (e.g. binance, bybit, okx, mt5, paper). A venue that is not connected is rejected with VENUE_NOT_CONNECTED. | |
| symbol | No | Trading symbol, e.g. BTCUSDT, ETHUSDT, EURUSD. |