add_price_alert
Set a price alert for a ticker. You'll be notified when the price condition is met.
Read a Tradernet portfolio and place, modify or cancel orders — with stop-loss and take-profit, price alerts, historical candles and a raw API escape hatch.
LABSCO SUMMARY
Setting a take-profit and accidentally clearing an existing stop-loss is the kind of mistake that only shows up when the position moves against you. Defining null as no-change rather than as clear removes it. Beyond that, be clear about what this surface is: place_order transacts on a live account, and raw_api_call reaches commands nobody wrapped or reviewed. Between them, an agent holding these credentials can do anything the account can. That is a decision about supervision rather than a criticism of the tool, but it should be a deliberate one.
A brokerage client covering account and portfolio reads, order placement and management, market data, and price alerts, with a raw call for anything the tools do not wrap.
TRADERNET_PUBLIC_KEY and TRADERNET_PRIVATE_KEY. place_order executes against a real brokerage account with real money.
One command plus a key — claude mcp add tradernet -- npx -y tradernet-mcp, then supply credentials
USE CASES
Read the account info, funds and open positions rather than logging into the platform.
Search for the ticker, read its detail, and pull historical candles for the window you care about.
Place the order and get its id back, cancel it while it is active, and set stop-loss or take-profit with null leaving the other unchanged.
Set the alert on the condition and remove it when it no longer applies.
Make the raw API call to any Tradernet command — powerful and unwrapped, so worth being deliberate about.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_price_alertSet a price alert for a ticker. You'll be notified when the price condition is met.
cancel_orderCancel an active order by its ID
delete_price_alertDelete an existing price alert by its ID
get_portfolioGet current portfolio positions and account balances. Returns account funds, open positions with P&L, market values, and settlement info.
get_quotes_historyGet historical candlestick (OHLCV) data for a ticker. Returns arrays of high/low/open/close prices with timestamps.
get_security_infoGet detailed information about a security/ticker (name, currency, exchange, min step, etc.)
get_security_sessionsGet list of currently open security sessions (for two-factor authentication operations)
get_user_dataGet initial user data (account info, portfolio summary, open positions). This is the primary command to check your account status.
place_orderPlace a new trading order (buy, sell, short, margin). Returns order_id on success.
raw_api_callMake a raw API call to any Tradernet command. Use this for commands not covered by other tools.
search_tickersSearch for securities/tickers by name or symbol. Supports market filter with @ syntax, e.g. "AAPL@FIX" for NYSE/NASDAQ.
set_stop_loss_take_profitSet stop-loss and/or take-profit for a position. Pass null to leave unchanged.
BEFORE YOU INSTALL
12 tools when we connected. Five tools act on a live brokerage account, including place_order and cancel_order, and no paper-trading or dry-run mode is documented. raw_api_call runs any Tradernet API command your keys permit.
Both documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 12 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
claude mcp add tradernet -- npx -y tradernet-mcp{
"mcpServers": {
"tradernet": {
"command": "npx",
"args": [
"-y",
"tradernet-mcp"
],
"env": {
"TRADERNET_PUBLIC_KEY": "<YOUR_TRADERNET_PUBLIC_KEY>",
"TRADERNET_PRIVATE_KEY": "<YOUR_TRADERNET_PRIVATE_KEY>"
}
}
}
}