Bentrix Docs
HomePricingDashboard

MCP tools: the trade panel

The trade panel itself: brought to a market, pinned, and a market's risk, stop and target kept as its profile.

Reached from a connected client as client.trading in Python, client.trading in JavaScript, client.trading() in Rust — each tool below shows its call in every language.

trade_panel_show#

Show the trade panel

labplan: plussince 1.0.0

Brings the trade panel to a market of a workbench, pinned to it when pin asks, as the chart bar's trade button, F9 and Market Watch's New order do. The panel is the person's; this shows it. Answers the panel's market.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
pinboolean—falseKept on this market whatever chart has the focus.
symbolstringyes—The market the panel shows.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trade_panel_show",
    "arguments": {
      "bench": "…",
      "symbol": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.trading
def trade_panel_show(self, bench: str, symbol: str, *, pin: Optional[bool] = None) -> Dict[str, Any]

JavaScript

client.trading
tradePanelShow(args)

C#

client.Trading
public Task<JsonNode?> TradePanelShow(string bench, string symbol, bool? pin = null, CancellationToken ct = default)

Go

client.Trading
func (a *TradingAPI) TradePanelShow(ctx context.Context, args TradingTradePanelShowArgs) (any, error)

Java

client.trading
public Object tradePanelShow(TradePanelShowArgs args)

C++

client.trading
Json trade_panel_show(const TradePanelShowArgs &args)

Julia

client.trading
trade_panel_show = (bench, symbol; pin = nothing)

R

client$trading
`trade_panel_show` = function(bench, symbol, pin = NULL)

Rust

client.trading()
pub fn trade_panel_show(&self, args: TradingTradePanelShowArgs) -> Result<Value, Error>

trade_profile#

Save, load or forget a market's trade profile

labplan: plussince 1.0.0

Saves a market's risk, stop and target as its profile, loads it into the trade panel's draft, or forgets it, as the panel's profile menu does; a profile the panel would refuse is refused in its words. Answers the market's profile.

ArgumentTypeRequiredDefaultWhat it is
action"save" | "load" | "forget"yes—
reward_rationumber——With save: the target as a multiple of the stop.
risk_pctnumber——With save: the risk in percent of the balance.
stop_pointsnumber——With save: the stop's distance in points.
symbolstringyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trade_profile",
    "arguments": {
      "action": "save",
      "symbol": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.trading
def trade_profile(self, action: Literal["save", "load", "forget"], symbol: str, *, reward_ratio: Optional[float] = None, risk_pct: Optional[float] = None, stop_points: Optional[float] = None) -> Dict[str, Any]

JavaScript

client.trading
tradeProfile(args)

C#

client.Trading
public Task<JsonNode?> TradeProfile(string action, string symbol, double? rewardRatio = null, double? riskPct = null, double? stopPoints = null, CancellationToken ct = default)

Go

client.Trading
func (a *TradingAPI) TradeProfile(ctx context.Context, args TradingTradeProfileArgs) (any, error)

Java

client.trading
public Object tradeProfile(TradeProfileArgs args)

C++

client.trading
Json trade_profile(const TradeProfileArgs &args)

Julia

client.trading
trade_profile = (action, symbol; reward_ratio = nothing, risk_pct = nothing, stop_points = nothing)

R

client$trading
`trade_profile` = function(action, symbol, reward_ratio = NULL, risk_pct = NULL, stop_points = NULL)

Rust

client.trading()
pub fn trade_profile(&self, args: TradingTradeProfileArgs) -> Result<Value, Error>

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed