Loading...
Loading...
Account holdings — stock positions, fund positions, multi-currency assets / cash, margin ratio (initial / maintenance / forced liquidation), and estimated max buy/sell quantity for a symbol. Requires longbridge login. Triggers: "我的持仓", "我有什么股票", "账户余额", "我有多少美金", "基金持仓", "我能买多少股", "保证金率", "杠杆要求", "账户全貌", "我的持倉", "賬戶餘額", "我有多少美金", "基金持倉", "保證金率", "賬戶全貌", "my holdings", "stock positions", "account balance", "how much can I buy", "margin ratio", "max buy qty", "portfolio snapshot".
npx skill4agent add longbridge/skills longbridge-positionsResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.Privacy: the data here is the user's private account state. Only return detailed numbers in direct conversation; if you suspect screen-sharing or third-party observation, confirm before showing exact figures.
Runto confirm current flags / defaults if anything below seems off.longbridge <subcommand> --help
| CLI command | Returns |
|---|---|
| Combined view: total assets, P/L, intraday P/L, holdings, and cash breakdown. Single call — useful for "account snapshot" questions. |
| Stock holdings array. |
| Fund holdings array. |
| Net assets, cash, buy power, margins; per-currency breakdown in |
| Initial / maintenance / forced-liquidation factors for a symbol. |
| Estimated max purchasable / sellable quantity (cash vs margin). |
positionsassets --currency USDfund-positionsmax-qty <SYMBOL> --side buy --price <current>--order-type MOmargin-ratio 600519.SHportfolioportfoliopositionslongbridge-quotelongbridge quote <SYMBOL> --format json--price--order-type MOcash_max_qtymargin_max_qtylongbridge portfolio --format json
longbridge positions --format json
longbridge fund-positions --format json
longbridge assets --currency USD --format json
longbridge margin-ratio TSLA.US --format json
longbridge max-qty TSLA.US --side buy --price 250 --format jsonportfoliopositionsfund-positionsassetscash_infosmargin-ratio{im_factor, mm_factor, fm_factor}max-qty{cash_max_qty, margin_max_qty}unauthorizednot in authorized scopelongbridge auth logout && longbridge auth loginlongbridgeunauthorizednot in authorized scope| CLI subcommand | MCP tool |
|---|---|
| merge |
| |
| |
| |
| |
| |
mcp__longbridge__profit_analysisprofit_analysis_detailmcp__longbridge__exchange_ratelongbridge-portfoliolongbridge-orderslongbridge-watchlistlongbridge-portfoliolongbridge-positions/
└── SKILL.md # prompt-only, no scripts/