tradernet-mcp
v1.1.1MCP server for Tradernet/Freedom24 trading API — portfolio, orders, quotes, and more
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_user_data
Get initial user data (account info, portfolio summary, open positions). This is the primary command to check your account status.
get_portfolio
Get current portfolio positions and account balances. Returns account funds, open positions with P&L, market values, and settlement info.
place_order
Place a new trading order (buy, sell, short, margin). Returns order_id on success.
| Parameter | Type | Description |
|---|---|---|
action * | string | Order action |
instrument * | string | Ticker symbol, e.g. "AAPL.US", "SBER", "SIE.EU" |
order_type * | string | Order type |
quantity * | integer | Number of shares/lots |
expiration | string | Order expiration: day, day+extended, or good-till-cancelled |
limit_price | number | Limit price (for limit and stop_limit orders) |
stop_price | number | Stop price (for stop and stop_limit orders) |
cancel_order
Cancel an active order by its ID
| Parameter | Type | Description |
|---|---|---|
order_id * | number | Order ID to cancel |
set_stop_loss_take_profit
Set stop-loss and/or take-profit for a position. Pass null to leave unchanged.
| Parameter | Type | Description |
|---|---|---|
instrument * | string | Ticker symbol, e.g. "AAPL.US" |
stop_loss * | number | null | Stop-loss price, or null to skip |
take_profit * | number | null | Take-profit price, or null to skip |
trailing_stop_percent | number | null | Trailing stop-loss percentage, or null to skip |
get_security_info
Get detailed information about a security/ticker (name, currency, exchange, min step, etc.)
| Parameter | Type | Description |
|---|---|---|
ticker * | string | Ticker symbol, e.g. "AAPL.US", "SBER" |
get_quotes_history
Get historical candlestick (OHLCV) data for a ticker. Returns arrays of high/low/open/close prices with timestamps.
| Parameter | Type | Description |
|---|---|---|
date_from * | string | Start date in format "DD.MM.YYYY hh:mm", e.g. "01.01.2025 00:00" |
date_to * | string | End date in format "DD.MM.YYYY hh:mm", e.g. "31.01.2025 23:59" |
ticker * | string | Ticker symbol, e.g. "AAPL.US" |
timeframe * | string | Candle interval in minutes: 1, 5, 15, 60 (1h), or 1440 (1d) |
count | integer | Extra candlesticks beyond the date range (0 = none) |
search_tickers
Search for securities/tickers by name or symbol. Supports market filter with @ syntax, e.g. "AAPL@FIX" for NYSE/NASDAQ.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text. Use "TICKER@MARKET" to filter by market. Markets: MCX (MICEX), FORTS (derivatives), FIX (NYSE/NASDAQ), EU (Europe), KASE (Kazakhstan) |
add_price_alert
Set a price alert for a ticker. You'll be notified when the price condition is met.
| Parameter | Type | Description |
|---|---|---|
price * | string | Target price for the alert |
ticker * | string | Ticker symbol in Tradernet format, e.g. "AAPL.US" |
trigger_type * | string | When to trigger the alert |
alert_period | string | Re-alert frequency in seconds (0 = once) |
notification_type | string | How to notify: email, sms, push, or all |
quote_type | string | Price basis: ltp (last trade), bap (best bid), bbp (best ask), op (open), pp (close) |
delete_price_alert
Delete an existing price alert by its ID
| Parameter | Type | Description |
|---|---|---|
alert_id * | number | Alert ID to delete |
get_security_sessions
Get list of currently open security sessions (for two-factor authentication operations)
raw_api_call
Make a raw API call to any Tradernet command. Use this for commands not covered by other tools.
| Parameter | Type | Description |
|---|---|---|
command * | string | API command name |
params | string | JSON string of parameters |
use_v2 | boolean | Use API v2 endpoint (/api/v2/cmd/) instead of v1 |