place_trade
Execute cryptocurrency trades by specifying trading pairs, direction, and stake amounts through the Freqtrade bot integration.
Instructions
Place a trade (buy or sell) with the specified pair and amount.
Parameters: pair (str): Trading pair (e.g., "BTC/USDT"). side (str): Trade direction, either "buy" or "sell". stake_amount (float): Amount to trade in the stake currency. ctx (Context): MCP context object for logging and client access.
Returns: str: Stringified JSON response with trade result, or error message if failed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pair": "<pair>",
"side": "<side>",
"stake_amount": "<stake_amount>"
},
"name": "place_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | ||
| side | Yes | ||
| stake_amount | Yes |