tv_trading_status
Check TradingView broker connection, account, positions, orders, and trading permissions. Optionally verify symbol tradability, quantity step, and chart price for trading readiness.
Instructions
Read the broker connected inside TradingView: broker id/title, account id/type, connection, open positions, working orders, capability flags and the gate this server enforces. Pass symbol to also check tradability, qty step/min and the chart price. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | chart layout id or index; default active | |
| symbol | No | optional symbol to check, e.g. BYBIT:ETHUSDT.P (bare ETHUSDT is expanded) | |
| expect_layout | No | layout id the tab is expected to show right now; the call refuses if it differs (a tab keeps its target id when the user opens another layout in it) |